I need a matlab code for segmentation of text lines in a scanned document image using projection profile?

I am working on segmentation of document images and I need a matlab code for segmentation of text lines in a scanned document image using projection profile....can anyone give me the code?
Thank you

回答 (2 件)

Image Analyst
Image Analyst 2015 年 3 月 7 日
Or run my attached demo that will find handwriting on an image with bad global lighting variation.

2 件のコメント

this code is for contrast enhancement from handwritten document image.
i'm also want to perform line segmentation from handwritten document image.
Sum the image horizontally and then threshold. I've posted code on this several times before. Here's a demo attached. Change the filename to your file, and make other modifications as needed.

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

Dima Lisin
Dima Lisin 2015 年 3 月 9 日
You can try the ocr function in the Computer Vision System Toolbox.

質問済み:

2015 年 3 月 7 日

コメント済み:

2016 年 7 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by