how can track red color object in real time video and find its center coordinates as a function of time? Thanks in advance.

1 view (last 30 days)
I want to find the center coordinates of a red color object in real time video as a function of time in order to plot the position with time an to know the speed.

Answers (1)

Image Analyst
Image Analyst on 4 Jul 2013
There are several of these in the File Exchange. Just search for tracking or red or things like that.
  2 Comments
Manaf Zivingy
Manaf Zivingy on 4 Jul 2013
Yes you are right, but I think that those do not include displaying the coordinates as a function of time, instead the coordinates are displayed beside the bounding box. Thanks
Image Analyst
Image Analyst on 4 Jul 2013
As with almost all File Exchange submissions, you should consider them a starting point from which you make modifications to customize it to what you really want, rather than expect them to work just like you want right "out of the box".
You can use plot() to plot graphics (lines, boxes) and text() or set() to display text on your GUI. You shuold be able to get what you want with some programming.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!