I need a matlab code for segmentation of text lines in a scanned document image using projection profile?
Show older comments
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
Answers (2)
Image Analyst
on 7 Mar 2015
0 votes
Or run my attached demo that will find handwriting on an image with bad global lighting variation.
2 Comments
Chintan Modi
on 18 Jul 2016
this code is for contrast enhancement from handwritten document image.
i'm also want to perform line segmentation from handwritten document image.
Image Analyst
on 18 Jul 2016
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
on 9 Mar 2015
0 votes
You can try the ocr function in the Computer Vision System Toolbox.
Categories
Find more on Text Detection and Recognition in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!