Draw a box around moving object
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nataliya
el 17 de Jun. de 2015
Comentada: Image Analyst
el 17 de Jun. de 2015
Hello, I am detecting the moving area of an object (e.g. moving pendulum of the clock) by subtracting one frame of the video to other. Now I want to draw a box around moving object and find the coordinates so that I can separate the moving part from the frame. Can anyone help me, How can I do this. Thanks in advance.
0 comentarios
Respuesta aceptada
Image Analyst
el 17 de Jun. de 2015
It's very similar to my color tracking application. I just put a cross on the region with plot(x,y,'+') whereas you'd put up a box with the rectangle() function. See attached demo.
1 comentario
Image Analyst
el 17 de Jun. de 2015
Más respuestas (0)
Ver también
Categorías
Más información sobre Computer Vision with Simulink en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!