当前位置: 动力学知识库 > 问答 > 编程问答 >

opencv - How to detect orientation using lucas kenade optical flow

问题描述:

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?

分享给朋友:
您可能感兴趣的文章:
随机阅读: