how to segment words in an image containing paragraph?

1 回表示 (過去 30 日間)
sindhu c
sindhu c 2015 年 11 月 26 日
回答済み: Divya 2017 年 1 月 17 日
In the image,now line segmentation is done! How to segment words?? Pls help me with the code.. Thank you

回答 (2 件)

Image Analyst
Image Analyst 2015 年 11 月 26 日
For each line, do the same process as you did for the lines. Sum the image vertically and look for gaps.
  5 件のコメント
sindhu c
sindhu c 2015 年 11 月 27 日
Thank you for the reply.. After segmenting i have to get segmented words as i got lines.. I have attached the code.Please check whether its correct or not.After following the instructions which you gave,nothing is being displayed for word segmentation
sindhu c
sindhu c 2015 年 11 月 27 日
for clear understanding, i have got the segmented line from previous code.Now how to segment words from this line? Please help me with code

サインインしてコメントする。


Divya
Divya 2017 年 1 月 17 日
Hi Image Analyst,
Thank you for the code to segment lines. But I'm unable to segment with this code.
For the same image given above, the statement "darkColumns = horizontalProfile < 210; " gives zero column.
And when labeling such column doesn't give any result.
I tried changing threshold values. But I am getting stuck in labeling the columns. Can you please help me

Community Treasure Hunt

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

Start Hunting!

Translated by