Bounding box fixes for GOTURN tracker
* Trying to change branch from master to 3.4
* Removing unnecessary if statement
* Frame existence check is added
* Changes in GOTURN tracker for reading path to caffemodel and prototxt files in opencv_extra
* Replacing get_data_path with findDataFile and moving paths in parameters
* tracking: fix GOTURN model loading
* Fixing GOTURN memory test: paths to GOTURN files are in cv::FileNode now
* Fix
* Fix
* Fixing comments
* Deleting trailing space
* Trying to solve the problem with test
* Removing ground truth reading part in GOTURN test
* Removing trailing spaces
* Trying to fix win64/win32 issue
* Fixing problem with win32/win64
* Trying to solve issue with win32/win64
* Add tracking-by_matching code and sample
* Make interface for PedestrianTracker
* Replace PedestrianTracker -> TrackerByMatching
* Make proper filtering by class id in tracking_by_matching
Also make the sample build in the case when opencv_dnn module is not
built.
Also help is added.
* Remove TODO-s from tracking_by_matching code
* Add parameter frame_step, add copyrights, fix warnings
* Remove copyright from tracking_by_matching
* Rename check macros and remove obsolete mentions of pedestrians
* Tune default thresholds in tracking_by_matching sample
* Add description of classes and factories
* Remove unrequired EOL-s at the end of files
* Replace pointers by references for output parameters
* Fix some warnings found by buildbot
* Fix warning from buildbot, tune some thresholds in tracking_by_matching
* Replace pragma once by ifndef-define clause
* Fix more Windows warnings
* Change case of methods of TrackerByMatching class
* Change name of methods to CamelCase in TrackerByMatching
* Make more convenient check macros in tracking_by_matching.cpp
* Simplify tracking_by_matching sample
* Fix Mac error in tracking_by_matching
Implementation of CSR-DCF tracker (#1552)
* Initial commit for CSR-DCF tracker implementation
* Fixes for automatic build
* General code fixes
* Removed unused parameters. Added CSRT to automatic tests.
* Fixed VS build warnings. Fixed a bug with gray sequences.
* Fixed VS build errors for samples file.
* kcf use float data type rather than double.
In our practice, float is good enough and could get better performance.
With this patch, one of my benchmark could get about 20% performance gain.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
* Offload transpose matrix multiplication to ocl.
The matrix multiplication in updateProjectMatrix is one of the
hotspot. And because of the matrix shape is special, say the
m is very short but the n is very large. The GEMM implementation
in neither the clBLAS nor the in trunk implementation are very
inefficient, I implement an standalone transpose matrix mulplication
kernel here. It can get about 10% performance gain on Intel
desktop platform or 20% performance gain on a braswell platform.
And in the mean time, the CPU utilization will be lower.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
* Add verification code for kcf ocl transpose mm kernel.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* tracking: show FPS in traker sample
* tracking: fix MSVC warnings in KCF
* tracking: move OCL kernel initialization to constructor in KCF