:: AForge.NET Framework :: Articles :: Forums ::

Remove thin lines and keep the text

Forum to discuss AForge.NET Framework, its features, API, how-tos, etc.

Remove thin lines and keep the text

Postby rafapucpr » Fri Dec 25, 2015 6:01 am


I need to remove the lines of images like that ( Image ) and maintain the texts that they have subsequently will use OCR to recognize text.
One thing I noticed is that the lines are thinner than the characters, then maybe there is some way to make a filter to remove those lines.
I tried to use HitAndMiss, Erosion but it still fails.
Please, how could I do that?

thank you
Posts: 1
Joined: Fri Dec 25, 2015 5:30 am

Return to AForge.NET Framework