Remove background color in image processing for OCR

前端 未结 6 2123
借酒劲吻你
借酒劲吻你 2021-02-01 10:50

I am trying to remove background color so as to improve the accuracy of OCR against images. A sample would look like below:

6条回答
  •  甜味超标
    2021-02-01 11:25

    The following shows a possible strategy for processing your image, and OCR it

    The last step is doing an OCR. My OCR routine is VERY basic, so I'm sure you may get better results.

    The code is Mathematica code.

    enter image description here

    Not bad at all!

提交回复
热议问题