1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 02:16:34 +08:00
Commit Graph

358 Commits

Author SHA1 Message Date
Alexander Alekhin
8277ca6aae opencv-core: avoid using of multi-argument CV_Assert()
replace to CV_Assert_N()
2018-08-15 17:39:00 +03:00
Alexander Alekhin
fc69aa57bc opencv: use cv::AutoBuffer<>::data() 2018-06-13 19:11:18 +00:00
Alexander Alekhin
b8de57f8bd cleanup unnecessary setNumThreads() calls 2018-04-28 14:53:50 +03:00
Alexander Alekhin
df483cfdc9 build: unreachable code after CV_Error() 2018-04-24 15:24:48 +03:00
Alexander Alekhin
7c9cff72fc refactor: don't use CV_ErrorNoReturn() internally 2018-04-23 19:31:37 +03:00
Alexander Alekhin
874edea9f4 tracking: apply CV_OVERRIDE/CV_FINAL 2018-03-28 16:50:00 +03:00
Alireza Davoudi
1794ab57e4 fixed a bug in mean subtraction from target and search patches
As the type of `targetPatch` and `searchPatch` is CV_8UC3, subtracting 128 from them will saturate all values smaller than 128 to zero.
2018-03-06 14:29:15 +03:30
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
Maksim Shabunin
c99d1c3b04 Fixed several warnings produced by clang-6.0.0 2018-01-30 13:28:40 +03:00
klchang
344f84218e Merge pull request #1484 from klchang:master 2018-01-09 18:54:12 +03:00
Vadim Pisarevsky
e53977f64b Merge pull request #1482 from terfendail:bitexact_resize 2017-12-14 20:48:10 +00:00
Vitaly Tuzov
8c394a4f2e Updated internal calls to linear resize to use bit-exact version 2017-12-14 13:00:09 +03:00
Alexander Alekhin
57ff363389 python: 'cv2.' -> 'cv.' via 'import cv2 as cv' 2017-12-11 16:14:46 +03:00
berak
102c80a2c9 remove some non-ascii symbols 2017-12-05 18:02:15 +01:00
Alexander Alekhin
0327b79d75 Merge pull request #1474 from berak:tracking_fix_kcf 2017-12-02 18:51:07 +00:00
berak
94c09fe8c8 tracking:fix rounding and grayscale for KCF 2017-12-02 16:05:52 +01:00
Maksim Shabunin
b16d9dbcc5 Fixed several warnings produced by GCC 7 2017-11-29 16:51:07 +03:00
klchang
88847ac766 Fix the runtime bug again. 2017-11-17 19:40:19 +08:00
Vadim Pisarevsky
489f8df9b2 Merge pull request #1333 from sovrasov:tld_improvement 2017-10-31 09:41:59 +00:00
Vadim Pisarevsky
188ca4a5bd Merge pull request #1423 from berak:mosse_tracker 2017-10-27 13:04:10 +00:00
berak
ea6f3d1928 tracking: adding a mosse tracker 2017-10-25 15:19:06 +02:00
Vladislav Sovrasov
0c5a8e1fec tracking: speedup NCC kernel for TLD and Median Flow 2017-10-23 15:15:53 +03:00
Vladislav Sovrasov
941865c9a1 tracking: reduce useless computations in TLD 2017-10-23 15:15:53 +03:00
Vladislav Sovrasov
62939e2937 tracking: slightly rewrite main loop in TLD 2017-10-23 15:15:53 +03:00
Vladislav Sovrasov
a0896c7bd1 tracking: update tresholds in regression tests of the TLD 2017-10-23 15:15:53 +03:00
Vladislav Sovrasov
895a9143a6 tracking: fix unitialized memory access in TLD 2017-10-23 15:15:53 +03:00
Vladislav Sovrasov
a6215264ed tracking: eliminate code duplication 2017-10-23 15:15:53 +03:00
Vladislav Sovrasov
b8588f845f tracking: disable OCL in TLD (kernels are slow and broken) 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
e83871228c TLD: fix NCC calculation 2017-10-23 15:15:53 +03:00
Vladislav Sovrasov
255de8777b tracking: fix wrong conditions of OCL run 2017-10-23 15:15:53 +03:00
Vladislav Sovrasov
926b7af8c9 tracking: hide unused debug method in MedianFlow 2017-10-23 15:15:53 +03:00
Alexander Alekhin
27ced2cb2c tracing: disable unused code 2017-10-18 13:06:50 +03:00
Alexander Alekhin
374e321877 build warning (#1400) 2017-10-10 15:55:46 +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
Nuzhny007
7d1143e69d TLD with gray scale images 2017-09-26 18:05:36 +03:00
jrobble
2fd0d74423 Set swapRB to false in GOTURN tracker. 2017-09-19 23:26:52 -04:00
klchang
57c8860015 fix a runtime bug. 2017-09-18 20:01:06 +08:00
Dmitry Kurtaev
c8f2d2bba5 Replace createCaffeImporter to readNetFromCaffe (#1310) 2017-09-18 12:38:28 +03:00
Alexander Alekhin
5472ac0760 Merge pull request #1357 from f3rm4rf3r:patch-3 2017-09-06 08:33:24 +00:00
Fernando Martin
fa3cc075c8 Updated default tracker parameters
Updated the lambda coefficient to the one suggested in the original paper (http://www.robots.ox.ac.uk/~joao/publications/henriques_tpami2015.pdf, page 11, Table 2) which works (for me) better then the previous default one.
2017-09-05 18:31:04 +01:00
Fernando Martin
df66ab8b6b Updated KCF original paper link 2017-09-05 18:27:24 +01:00
f3rm4rf3r
7cf8da5b36 Comments minor typo 2017-08-23 15:44:05 +01:00
Vladislav Sovrasov
5c2dfcd448 plot: make the module more customizable 2017-08-02 12:01:09 +03:00
berak
006dcae896 tracking: fix rounding error in trackerKCF 2017-07-30 12:25:29 +02:00
Aleksandr Rybnikov
aa0d8060de Added possibility of getting any intermediate blob with thrifty memory management 2017-06-16 17:50:08 +03:00
Vladislav Sovrasov
4ae95b6e2a tracking: add confidence threshold to TrackerKCF 2017-05-23 17:04:50 +03:00
Vadim Pisarevsky
6ffdd0f4ba Merge pull request #1115 from sovrasov:tracking_api_update 2017-05-23 14:00:52 +00:00