Text Line Extraction using Projection Profiles

version (1.1 KB) by Faraz
text line segmentation


Updated Sat, 02 Dec 2017 22:45:37 +0000

View License

Line segmentation based on projection profiles.
Extracted lines will be returned in cell array format, the function takes an input image and the threshold, if threshold is not provided the mean will be used. The plot of the projections will also be shown for the purpose of changing the threshold in case the mean gives poor results.
This works best on printed and non-noisy text. If your text line is handwritten or curved this may not work as required.

Cite As

Faraz (2022). Text Line Extraction using Projection Profiles (https://www.mathworks.com/matlabcentral/fileexchange/62829-text-line-extraction-using-projection-profiles), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!