HOw to draw boundingBox/rectangle transperent over an image
Show older comments
i i have four coordinates which correspond to (x,y,width,height) . I can draw a rectangle over an image from this script but it is a filled rectangle with redcolor i want a a bounding box or a transparent rectangle.It might be very trivial but i am not a regular coder.
I=imread('000027.jpg');
figure,imshow(I)
hold on
rectangle('Position',[203, 147, 218, 162],'FaceColor','r')
Thanks guys
Accepted Answer
More Answers (1)
mohd abdul wahed faisal faisal
on 13 Jul 2019
0 votes
bro instead of rectangle i want the particular area(irregular shape)
1 Comment
Image Analyst
on 13 Jul 2019
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!