Is it normal that tesseract does not recognize this word in this image?

前端 未结 1 901
暖寄归人
暖寄归人 2021-01-22 07:21

I need to extract words from small images like this:

I am using tesseract from the command line with spanish language option, like this:

tessera         


        
1条回答
  •  有刺的猬
    2021-01-22 08:06

    Tesseract seems to really struggle when scanning low resolution characters.

    Try to scan this image. I enhanced its resolution by 400 percent (I think 200 percent is possible for scanning, but lets try 400%), did a great amount of blurring and did threshold of ~140 value. Try scanning this one, the results should be much better and I hope this satisfy you. If you need to do that programmatically, write in comments what is unclear for you, I will provide you some additional information.

    0 讨论(0)
提交回复
热议问题