Hi all, I am currently working a project on vehicle detection. The problem I encounter is that when I draw the ROI on the video frame using impoly and obtain the coordinates of the polygon using getPosition. However, when i try to show it with shapeinserter, it says the point input must be M by 2L matrix. but isn't that the type of matrix from getPosition is also n by 2?

 Respuesta aceptada

Image Analyst
Image Analyst el 28 de Mzo. de 2014

0 votos

Try just putting it up with plot(). I do it all the time over a live image and it works fine.

Más respuestas (0)

Preguntada:

el 21 de Mzo. de 2014

Respondida:

el 28 de Mzo. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by