How to find the displacement of the object?

2 views (last 30 days)
Samraja
Samraja on 30 Jun 2020
Answered: vaibhav mishra on 30 Jun 2020
In a video, how to select an object with centroid?
How to find the selected object's X-displacement, Y-displacement
Thank you.

Answers (1)

vaibhav mishra
vaibhav mishra on 30 Jun 2020
Hi there,
to select and track an object, you can use viola jones framework available in matlab computer vision toolbox, and then you can know the exact location of that object at any momemt. You can then use optical flow to know its speed and direction of movement.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!