mirror of https://github.com/opencv/opencv.git
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>pull/19593/head^2
parent
d093ac6a0f
commit
af13f61a43
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue