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

18 Commits

Author SHA1 Message Date
Wanli
02e8476cc8 remove goturn related code 2024-04-28 21:41:24 +08:00
Alexander Alekhin
80c197590c tracking: rework tracking API
- simplify Tracker API
- fix perf tests (don't measure video decoding)
2020-11-17 12:00:28 +00:00
Alexander Alekhin
74ea5decff Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2019-06-07 15:58:23 +03:00
Ahmed Ashour
cd7276f41f Merge pull request #2131 from asashour:param
* doc: fix return parameter for void method

* docs: add missing parameter description
2019-06-06 13:56:37 +03:00
Alexander Alekhin
abb211d064 avoid Ptr<> == NULL checks 2018-09-09 19:30:02 +00:00
berak
ea6f3d1928 tracking: adding a mosse tracker 2017-10-25 15:19:06 +02: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
Vladislav Sovrasov
3ac9e24254 tracking: improve public API
Use ROI selector in python samples
2017-04-24 12:19:19 +03:00
howtobeahacker
b2f3899f35 update comments of tracker algorithm 2015-06-03 16:06:18 +08:00
vbystricky
c7c2375800 Split highgui module to videoio and highgui 2014-07-14 23:42:03 +04:00
Alex Leontiev
c8b31cd9ff Vadim 2014-07-10 19:08:38 +09:00
Alex Leontiev
8869daec8c commit 2014-07-09 22:20:20 +09:00
Alex Leontiev
c27db0d157 Tracking-Learning-Detection and MedianFlow
This contribution includes the following logical components into
tracking module:

.) Change Rect to Rect2d into headers for Tracker's methods;
This contribution includes the following logical components into
tracking module:

.) Change Rect to Rect2d into headers for Tracker's methods;
.) MedianFlow tracker;
.) extensible benchmark to compare trackers interactively and
	assess them quantitatively;
.) TLD tracker (work-in-progress);

Work was funded by Google Summer of Code 2014 initiative. Mentors:
Gary
Bradski and Vadim Pisarevsky.
2014-07-09 22:20:20 +09: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
Alex Leontiev
a0c344c375 New feature to tracking sample
Now initial bounding frame can be given in command-line, as an alternative
to manual selection via mouse. Bounding frame is given as optional last
argument in the format "x1,y1,x2,y2" where x's and y's are integers,
symbolizing bounding box with opposite vertices (x1,y1) and (x2,y2).
2014-04-12 21:14:58 +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