Estimating the X and Y coordinates from optical flow method
1 次查看(过去 30 天)
显示 更早的评论
Hi, I am trying to detect moving objects to obatin their corresponding X and Y coordinates from a video. I was using 'opticFlow' algorithm for this process. I am unable to understand on how to extract the X and Y coordinates from the velocity field which the function 'estimateFlow' returns. Any help to solve this will be appreaciated.
flow = estimateFlow(opticFlow,frameGray);
2 个评论
Jason Gauthier
2020-1-24
Did you get anywhere with this? In order to obtain the position, you'll probably want to integrate. The challenge is knowing how far away something is, and your current speed. If you're moving slow, even a close object will appear to move fast. This is a challenge I am trying to overcome as well.
Adam Danz
2020-1-24
Check out the Object Tracking section of this page for function that may be helpful.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!