how to place a filled shape on a bbox to maks the moving object like placing rectangle using insertObjectAnnotation?

1 visualizzazione (ultimi 30 giorni)
I would like to place a mask (image) on a moving object that is extracted using blob analysis.
I found am example in matlab documentation. its drawing rectangles around the moving objects in the video using
inserObjectAnnotation() function.
like that I want to place a filled in shape in place of rectangle. how can I do that?
Please help

Risposte (1)

Dima Lisin
Dima Lisin il 22 Feb 2015
What kind of shape? insertShape will let you draw rectangles, circles, and polygons.

Community Treasure Hunt

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

Start Hunting!

Translated by