Text Line Extraction using Projection Profiles
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 (2024). 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
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.