问题描述:

I am using OpenCV's goodFeaturesToTrack to detect feature and calcOpticalFlowPyrLK to track them, but calcOpticalFlowPyrLK does not give me orientations of the object.

Is there any other tool to get orientation of the object in OpenCV.

网友答案:

What exactly do you mean by the 'orientation' of the object? The question isn't very clear. The LK algorithm will give you vectors pointing in the direction of the motion of your object from which you can derive the orientation.

What is the exact problem you're facing? Are you unable to get an output from the calcOpticalFlowPyrLK function?

相关阅读:
Top