drawing bounding box

1 view (last 30 days)
kash
kash on 18 Apr 2012
i have an image
in this please tell hoe to draw bounding box for each word

Answers (1)

Hoa
Hoa on 18 Apr 2012
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.
  1 Comment
kash
kash on 18 Apr 2012
Hao can u please tell how to separate each word into single object

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!