how to find the width and height of text block

plz help me to find the width and height of a text block. m doing project on text detection using canny edge detector. as a post processing step, i need to perform false positive elimination,to remove unwanted image parts.

2 Kommentare

Do you mean individual letters by text block??
Akshatha
Akshatha am 1 Mär. 2014
no its on word pls help me
  • Item one
  • Item two

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Dishant Arora
Dishant Arora am 28 Feb. 2014

0 Stimmen

Call in regionprops and checkout for boundingbox.
Stats = regionprops(BW , 'BoundingBox');
[width , height] = Stats(ii).BoundingBox(3:4); % ii being index of your blob.

Kategorien

Mehr zu Vehicle Dynamics Blockset finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 28 Feb. 2014

Kommentiert:

am 1 Mär. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by