Ask Your Question

calcOpticalFlowPyrLK returning points out of the camera frame

asked 2016-08-04 14:26:54 -0500

Running a 480x640 video through the Lucas-Kanade optical flow tracker example, I'm getting some tracked points that are beyond the camera frame, like negative x and y coordinates. How is this possible? Is this a bug?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-08-09 09:15:25 -0500

No, it's not a bug.

Some points can be tracked outside the image because they can be "lost" by the tracker algorithm. You can detect which points are lost using the status output parameter.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-08-04 14:26:54 -0500

Seen: 131 times

Last updated: Aug 04 '16