0
$\begingroup$

I want to extract the text from this image. I'm a newbie in opencv. I've tried various opencv codes across various questions, but none is working for me.

How can I extract text from this? Or maybe remove grid lines & that circular bulge in the middle so that image is straightened & then I can extract the text.

Any help is appreciated.

One of the Sample codes I tried - this

Another attempt is this but this isn't working as well. Can someone advise what is wrong here? The basic algo followed is to fill in the pure blue and red lines. I tried to get them by thresholding them on the respective channels. Then tried to fill these pixels with an average of their immediate neighbours.

enter image description here

$\endgroup$
1
  • $\begingroup$ Refer to this link to see if it works for you. $\endgroup$
    – Allan
    Commented Apr 14 at 15:11

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.