opencv/modules/video
Sergey Krivohatskiy af13f61a43
Merge pull request #19580 from SergeyKrivohatskiy:patch-1
* Fixed OCL implementation of pyrlk

If prevPts size is (N, 1) (which is a default layout for converting `vector<Point2f>` to `UMat`) the `prevPts.cols == 1` and optical flow will be calculated for the first point only.
Getting `prevPts.total()` as in line 1048 is the correct way to get points count.

* fixed compilation warning (size_t to int)

Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
2021-02-21 15:57:18 +00:00
..
include/opencv2 Formula Fixes for 3.4 branch 2020-04-21 19:23:23 +05:30
misc python: discover tests from module/misc/python/test paths 2019-04-10 18:35:35 +00:00
perf perf: ignore _ovx tests 2019-03-06 15:52:23 +03:00
src Merge pull request #19580 from SergeyKrivohatskiy:patch-1 2021-02-21 15:57:18 +00:00
test Merge pull request #13837 from amithjkamath:test 2019-02-22 18:36:40 +03:00
CMakeLists.txt Merge pull request #9466 from huningxin:js 2017-09-25 16:52:07 +03:00