jimmykarily / open-ocr-reader

An application to allow blind or visually impaired people to read books (the paper ones).
0 stars 0 forks source link

Try edge detection in Process() #9

Open jimmykarily opened 2 years ago

jimmykarily commented 2 years ago

The current Process() implementation is not doing any edge detection and detecting text is only based on black/white level with a threshold. This means, areas like for example the center of the book, where there is a shadow from the other side, appear as "black" and contribute during the contouring step when we detect text.

Edge detection algorighms do a better job detecting the text because the shadow appear as a "gradient" and it not picked up.

We should try edge detection as an additional step to improve text detection.