Best way to recognize characters in screenshot?

后端 未结 5 1490
有刺的猬
有刺的猬 2020-12-29 04:56

What would you recommend for recognizing all characters from a screenshot? The screenshot is perfectly clear (only black text on a white background), also I can choose any s

5条回答
  •  再見小時候
    2020-12-29 05:32

    Since this is the first result on Google for tesseract recognize screenshot, let me do bit of necromancy and add a much simpler solution.

    Tesseract expects images at around 300 dpi or more and standard dpi for Windows is 96. Which means you need to rescale the image to 300%. After that, the results improve dramatically.

    100%

    Result: Whal would you recommend for recognizing all characters from a screensnor 7

    200%

    Result: What would you recommend for recognizing all chamcters from a screenth ?

    300%

    Result: What would you recommend for recognizing all characters from a screenshot ?

    Anything above 300% works just as well.

提交回复
热议问题