1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-18 17:24:28 +08:00
Commit Graph

31 Commits

Author SHA1 Message Date
Andrej Muhič
ced5aa7606 Merge pull request #1552 from amuhic:master
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.
2018-02-22 16:38:31 +03:00
Alexander Alekhin
edfdf12c31 tests: refactor test files 2018-02-02 19:15:28 +03:00
Vadim Pisarevsky
489f8df9b2 Merge pull request #1333 from sovrasov:tld_improvement 2017-10-31 09:41:59 +00:00
berak
ea6f3d1928 tracking: adding a mosse tracker 2017-10-25 15:19:06 +02:00
Vladislav Sovrasov
a0896c7bd1 tracking: update tresholds in regression tests of the TLD 2017-10-23 15:15:53 +03:00
Vladislav Sovrasov
ccfd55dc7a tracking: enable tests for TLD 2017-10-23 15:15:53 +03:00
Vladislav Sovrasov
41995b76e8 KCF speedup (#1374)
* 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
2017-10-10 13:54:22 +03:00
Alexander Alekhin
d32827a829 fix build (#1377) 2017-09-28 17:08:45 +03:00
jrobble
2fd0d74423 Set swapRB to false in GOTURN tracker. 2017-09-19 23:26:52 -04:00
Vladislav Sovrasov
3ac9e24254 tracking: improve public API
Use ROI selector in python samples
2017-04-24 12:19:19 +03:00
Maksim Shabunin
1aeeee0057 Merge pull request #1015 from sovrasov:kcf_update 2017-02-28 11:21:50 +00:00
Alexander Alekhin
ab63d35db2 Merge pull request #1013 from sovrasov:tracking_tests_update 2017-02-21 15:11:22 +00:00
Vladislav Sovrasov
9f35b313c5 tracking: rename MedianFlow parameters tests 2017-02-21 16:38:17 +03:00
Vladislav Sovrasov
c85262370b tracking: add parameters I/O for KCF 2017-02-21 16:38:17 +03:00
Vladislav Sovrasov
ad9ffb24f3 tracking: add tests for KCF 2017-02-21 12:43:12 +03:00
Vladislav Sovrasov
60ad363b24 tracking: disable TLD tests 2017-02-21 12:43:12 +03:00
Vladislav Sovrasov
30c249b466 tracking: update TLD overlap threshold 2017-02-20 12:27:39 +03:00
Vladislav Sovrasov
8016ed2851 tracking: fix overlap calculation 2017-02-09 15:36:58 +03:00
Vladislav Sovrasov
2c33cb45d8 MedianFlow: update thresholds in tests 2017-02-09 11:54:55 +03:00
Vladislav Sovrasov
f2c324a280 Median flow tracker update (#952)
* Fix several issues in TrackerMedianFlow implementation

Particularly, add possibility to tune optical flow parameters for a median
flow tracker.

* Improve code of TrackerMedianFlow

Replace a lot of calls of std::vector::erase by one call of
std::remove_if.

* Delete unused code, use norm from OpenCV

* medianFlow:turn getMedian method into function, small code cleanup

* TrackerMedianFlow:fixes in parameters I/O, add test for them

* TrackerMedianFlow:replace double with float in temp buffers

* Fix indentation

* TrackerMedianFlow:add absent parameter case handling in read()

* TrackerMedianFlow:use ROI instead of copy when getting a patch

* TrackerMedianFlow:don't calc image pyramids 2 times

* MedianFlowTracker: use cvIsNan()

* MedianFlow: refactor vector filtration code

* MedianFlow: change if statements layout in filterPointsInVectors
2017-02-08 16:53:48 +03:00
Vladislav Sovrasov
4216285d9a tracking: refactoring in OPE tests 2017-02-02 16:57:42 +03:00
Vladislav Sovrasov
49b2240c8e tracking:Disable all tests except kalman filter 2017-01-24 16:25:18 +03:00
Vladimir
9d9c0f33b3 Added GOTURN tracker implementation and ALOV300++ dataset support 2016-12-15 16:07:14 +03:00
SvetlanaFilicheva
450388468d Implement Unscented Kalman Filter (UKF) and Augmented UKF 2015-08-26 18:20:20 +03:00
Antonella Cascitelli
775aecc0e4 UML source files added
misc and pics folders removed

Modified doc to achieve the automatic generation of UML diagrams with plantuml

Removed debug prints in TLD Tracker

Added perf test for TLD tracker

Added test OPE-SRE-TRE for TLD tracker

Fix tab in tracking.rst

Fixed builder warning

Fixed warnings
2014-10-08 12:41:12 +00:00
vbystricky
c7c2375800 Split highgui module to videoio and highgui 2014-07-14 23:42:03 +04:00
vbystricky
54d71a24ec Extract imgcodecs module from highgui 2014-07-07 12:11:53 +04:00
Ilya Lavrenov
ae5c87eafa fixed warnings 2014-06-20 15:45:07 +04:00
Alex Leontiev
6e7d162e5a Change Rect to Rect2d in Tracker::update() and ::init()
I've changed Rect to Rect2d in Tracker::update(), Tracker::init() and
all related methods (including documentation). This allows to initialize
trackers with double-valued rectangles, thus adding versality. Besides,
trackers also can output double-valued rectangles, which may be
beneficial in some scenarios.

However, it remains to change UML diagrams in documentation to tracker
module, as they still display methods above with old signatures.
2014-05-14 21:49:06 +09:00
Antonella Cascitelli
b5844affcc Added perf_test and test based on distance and overlap for tracking API
Added OPE tests tracking

- Reinitialized random number generator (TrackerMIL and TrackerBoosting)
- Removed unused meanSigmaPair

Changed sample tracker.cpp with a list of images instead the video file

Modified OPE tests tracking

- The overlap threshold varies from 0.0 to 1.0
- The location error threshold varies from 0 to 50

Changed name for the tests

Removed unused field

Enlarged first rect of 10% respect the ground truth

Added TRE test

TRE test for the temporal robustness evaluation

Added SRE Test (spatial robustness evaluation)

- Removed the enlargment of the first frame
- TRE corrected the computation of the distance and the overlap
- TrackerBoosting changed the search factor

Fixed last segment in test TRE

First stub for regression test

Added test for faceocc2

Added perf_test for mil and boosting trackers

Modified SANITY_CHECK with ERROR_RELATIVE

In xml generated added the ratio between of the correct bounding box (based on dynamic threshold)

OPE Test: works with video and not with sequence of images

TRE Test: works with video and not with sequence of images

SRE Test: works with video and not with sequence of images

Perf test: works with video and not with sequence of images

Removed unused file

sample tracker.cpp: works with video and not with sequence of images
2013-11-12 15:47:55 +00:00
Antonella Cascitelli
9e30b50d26 Added tracking module
Modified Copyrights

Moved plantuml source files under doc

disabled tests

Added include of precomp.hpp
2013-09-20 10:12:07 +00:00