'CalcOpticalFlowLK camera motion c++

this time i would know how can i calculate for each frame the camera motion in term of x and y pixel coordinates, i've googled and i've found that CalcOpticalFlowLK can do this. I'm not expert in opencv and i'm asking your help! Thank you all!



Solution 1:[1]

Yes OpenCV can do this. You should follow the tutorials on the site below to start and then attempt the CalcOpticalFlowLK implementation yourself. If you get stuck post your specific problem here (with a code sample) and I'd be glad to help.

http://opencv-srf.blogspot.ie/2010/09/opencv-basics.html

Then Look at

OpenCV tracking using optical flow

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community