I want to insert rectangle shape to the real time image
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MATLAB Function3:
function fakeImg = fcn(RealImg)
I = RealImg;
fakeImg = insertShape(I,"line",[10 10 40 40],Color="black",Opacity=1);
0 comentarios
Respuestas (2)
Image Analyst
el 2 de Ag. de 2023
You might find using rectangle to draw into the overlay is faster than using insertShape to burn the rectangle into an RGB image.
0 comentarios
Birju Patel
el 10 de Ag. de 2023
You can also use the Draw Shapes block in Simulink:
https://www.mathworks.com/help/vision/ref/drawshapes.html
0 comentarios
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!