How to put an x to mark an object in a video?

1 view (last 30 days)
I am supposed to detect an object in a video, find its centroid and mark that centroid by an x. I know how to get the centroid coordinates for each frame, but I don't know how to use them to get the centroid marked during playing that video. Any help? Thanks.

Answers (1)

Image Analyst
Image Analyst on 17 Oct 2012
Just use text() or line() to put something in the overlay at the desired coordinates during playback.

Products

Community Treasure Hunt

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

Start Hunting!