MATLAB Answers

Estimating the X and Y coordinates from optical flow method

8 ビュー (過去 30 日間)
Hari krishnan
Hari krishnan 2019 年 10 月 20 日
コメント済み: Adam Danz 2020 年 1 月 24 日
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
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
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!

Translated by