drawing bounding box
1 次查看(过去 30 天)
显示 更早的评论
i have an image
in this please tell hoe to draw bounding box for each word
0 个评论
回答(1 个)
Hoa
2012-4-18
You need to separate each word into each single object.
This can be done by eroding the image with proper structuring element.
you can get rid of the small objects by using bwareaopen.
using regionprops you can get the BoundingBox property of the object.
http://www.mathworks.com/matlabcentral/fileexchange/25157 I hope this link might help you.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!