gnebehay-OpenTLD-v1.3.0-10-ge50d202

所属分类:Windows编程
开发工具:Visual C++
文件大小:223KB
下载次数:19
上传日期:2013-11-24 09:59:35
上 传 者rhodesn
说明:  纯C++版本的OpenTLD-v1.3.0,效果不错。
(This is a C++ implementation of OpenTLD that was originally published in MATLAB by Zdenek Kalal. OpenTLD is used for tracking objects in video streams. What makes this algorithm outstanding is that it does not make use of any training data. This implementation is based solely on open source libraries, meaning that you do not need any commercial products to compile or run it. )

文件列表:
gnebehay-OpenTLD-e50d202 (0, 2013-04-24)
gnebehay-OpenTLD-e50d202\AUTHORS (232, 2013-04-24)
gnebehay-OpenTLD-e50d202\CMakeLists.txt (2754, 2013-04-24)
gnebehay-OpenTLD-e50d202\LICENSE (35146, 2013-04-24)
gnebehay-OpenTLD-e50d202\OpenTLDConfig.cmake.in (517, 2013-04-24)
gnebehay-OpenTLD-e50d202\debian (0, 2013-04-24)
gnebehay-OpenTLD-e50d202\debian\changelog (301, 2013-04-24)
gnebehay-OpenTLD-e50d202\debian\compat (2, 2013-04-24)
gnebehay-OpenTLD-e50d202\debian\control (1108, 2013-04-24)
gnebehay-OpenTLD-e50d202\debian\copyright (845, 2013-04-24)
gnebehay-OpenTLD-e50d202\debian\docs (10, 2013-04-24)
gnebehay-OpenTLD-e50d202\debian\opentld.1 (6032, 2013-04-24)
gnebehay-OpenTLD-e50d202\debian\opentld.install (147, 2013-04-24)
gnebehay-OpenTLD-e50d202\debian\opentld.manpages (17, 2013-04-24)
gnebehay-OpenTLD-e50d202\debian\rules (207, 2013-04-24)
gnebehay-OpenTLD-e50d202\debian\source (0, 2013-04-24)
gnebehay-OpenTLD-e50d202\debian\source\format (13, 2013-04-24)
gnebehay-OpenTLD-e50d202\res (0, 2013-04-24)
gnebehay-OpenTLD-e50d202\res\StyleGuide.md (1699, 2013-04-24)
gnebehay-OpenTLD-e50d202\res\conf (0, 2013-04-24)
gnebehay-OpenTLD-e50d202\res\conf\config-sample.cfg (2501, 2013-04-24)
gnebehay-OpenTLD-e50d202\res\ico (0, 2013-04-24)
gnebehay-OpenTLD-e50d202\res\ico\opentld.ico (67646, 2013-04-24)
gnebehay-OpenTLD-e50d202\res\img (0, 2013-04-24)
gnebehay-OpenTLD-e50d202\res\img\opentld.png (16133, 2013-04-24)
gnebehay-OpenTLD-e50d202\res\packaging (0, 2013-04-24)
gnebehay-OpenTLD-e50d202\res\packaging\manpage.pod (1980, 2013-04-24)
gnebehay-OpenTLD-e50d202\res\packaging\opentld.desktop (157, 2013-04-24)
gnebehay-OpenTLD-e50d202\res\packaging\qopentld.desktop (159, 2013-04-24)
gnebehay-OpenTLD-e50d202\res\rcs.qrc (97, 2013-04-24)
gnebehay-OpenTLD-e50d202\src (0, 2013-04-24)
gnebehay-OpenTLD-e50d202\src\3rdparty (0, 2013-04-24)
gnebehay-OpenTLD-e50d202\src\3rdparty\cvblobs (0, 2013-04-24)
gnebehay-OpenTLD-e50d202\src\3rdparty\cvblobs\BlobContour.cpp (5604, 2013-04-24)
gnebehay-OpenTLD-e50d202\src\3rdparty\cvblobs\BlobContour.h (1990, 2013-04-24)
gnebehay-OpenTLD-e50d202\src\3rdparty\cvblobs\BlobLibraryConfiguration.h (733, 2013-04-24)
gnebehay-OpenTLD-e50d202\src\3rdparty\cvblobs\BlobOperators.cpp (14537, 2013-04-24)
... ...

# Introduction This is a C++ implementation of OpenTLD that was originally published in MATLAB by Zdenek Kalal. OpenTLD is used for tracking objects in video streams. What makes this algorithm outstanding is that it does not make use of any training data. This implementation is based solely on open source libraries, meaning that you do not need any commercial products to compile or run it. The easiest way to get started is to download the precompiled [binaries](https://github.com/gnebehay/OpenTLD/downloads) that are available for Windows and Ubuntu 12.04. There is also a [PPA](https://launchpad.net/~opentld/+archive/ppa) available for Ubuntu 12.04. You just have to execute these commands: ``` sudo add-apt-repository ppa:opentld/ppa sudo apt-get update sudo apt-get install opentld ``` If you have a webcam attached to your PC, you can simply execute opentld (on Linux) or opentld.exe (on Windows) in order to try it out. You can use the graphical configuration dialog as well, you just have to execite qopentld (on Linux) or qopentld.exe (on Windows). For other configuration options, please see below. A documentation of the internals as well as other possibly helpful information is contained in this [master thesis](https://github.com/downloads/gnebehay/OpenTLD/gnebehay_thesis_msc.pdf). # Usage ## Keyboard shortcuts * `q` quit * `b` remember current frame as background model / clear background * `c` clear model and stop tracking git * `l` toggle learning * `a` toggle alternating mode (if true, detector is switched off when tracker is available) * `e` export model to file specified in configuration parameter "modelExportFile" * `i` import model from file specified in configuration parameter "modelPath" * `r` clear model, let user reinit tracking ## Command line options ### Synopsis `opentld [option arguments] [arguments]` ### option arguments * `[-a ]` video starts at the frameNumber _startFrameNumber_ * `[-b ]` Initial bounding box * `[-d ]` select input device: _device_=(IMGS|CAM|VID) _IMGS_: capture from images _CAM_: capture from connected camera _VID_: capture from a video * `[-e ]` export model after run to _path_ * `[-f]` shows foreground * `[-i ]` _path_ to the images or to the video. * `[-h]` shows help * `[-m ]` if specified load a model from _path_. An initialBoundingBox must be specified or selectManually must be true. * `[-n ]` Specifies the video device to use (defaults to 0). Useful to select a different camera when multiple cameras are connected. * `[-p path]` prints results into the file _path_ * `[-s]` if set, user can select initial bounding box * `[-t ]` threshold for determining positive results * `[-z ]` video ends at the frameNumber _lastFrameNumber_. If _lastFrameNumber_ is 0 or the option argument isn't specified means all frames are taken. ### Arguments `[CONFIG_FILE]` path to config file ## Config file Look into the [sample-config-file](https://github.com/gnebehay/OpenTLD/blob/master/res/conf/config-sample.cfg) for more information. # Building ## Dependencies * OpenCV * CMake * libconfig++ (optional) * Qt4 (optional) ## Compiling ### CMake OpenTLD uses CMake to create native build environments such as make, Eclipse, Microsoft Visual Studio. If you need help look at [Running CMake](http://www.cmake.org/cmake/help/runningcmake.html). You can use `cmake-gui`, if you need a graphical user interface. Use CMake to build the project. You can use "cmake-gui", if you need a graphical user interface. __Gui__ * Specify the source path (root path of the dictionary) and the binary path (where to build the program, out of source build recommended) * Configure * Select compiler * Adjust the options (if needed) * Configure * Generate __Command line__ If you have uncompressed the source in $OPENTLD, type in a console: ```bash cd $OPENTLD mkdir ../build cd ../build cmake ../$OPENTLD -DBUILD_QOPENTLD=ON -DUSE_SYSTEM_LIBS=OFF ``` __CMake options__ * `BUILD_QOPENTLD` build the graphical configuration dialog (requieres Qt) * `USE_SYSTEM_LIBS` don't use the included cvblob version but the installed version (requieres cvblob) ### Windows (Microsoft Visual Studio) Navigate to the binary directory and build the solutions you want (You have to compile in RELEASE mode): * `opentld` build the project * `INSTALL` install the project ### Linux (make) Navigate with the terminal to the build directory * `make` build the project * `make install` build and install the project ### Mac * `brew install python` * `brew install gfortran` * `easy_install numpy` * `brew install cmake` * `brew install opencv` * `cmake` build the project # Debian package * Navigate with the terminal into the root dictionary of OpenTLD (OpenTLD/) * Type `debuild -us -uc` * Delete the temporary files in the source tree with `debuild clean`

近期下载者

相关文件


收藏者