Preprocessing image to select only the text for text recognition with OCR


This Content is from Stack Overflow. Question asked by Ariouat Hanane

i have image like this and when i want to select only the Black text. The problem that i have face is it
he recognizes that certain flowers or branches of these flowers as letters or words.enter image description here.

Please could you recommend for ne some techniques to do in order to select only the text.


Check the Answers

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?