I want to insert rectangle shape to the real time image
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1447867/image.png)
MATLAB Function3:
function fakeImg = fcn(RealImg)
I = RealImg;
fakeImg = insertShape(I,"line",[10 10 40 40],Color="black",Opacity=1);
0 Commenti
Risposte (2)
Image Analyst
il 2 Ago 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 Commenti
Birju Patel
il 10 Ago 2023
You can also use the Draw Shapes block in Simulink:
https://www.mathworks.com/help/vision/ref/drawshapes.html
0 Commenti
Vedere anche
Categorie
Scopri di più su Computer Vision with Simulink in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!