Daniel Caoili
Daniel Caoili

Reputation: 101

Tesseract unable to recognize simple text

Im running tesseract on small images of instruments on a Piping diagram. For some reason it is unable to recognize the text though it is clear in the image. The command is text = pytesseract.image_to_string('crop.png', config='--dpi 200 --psm 12') I've tried changing the dpi and psm mode but to no avail.

enter image description hereenter image description here

I've tried changing the dpi and psm mode but to no avail. I'm not getting anything but garbage: "~ Cs =)"

Upvotes: 0

Views: 285

Answers (1)

Daniel Caoili
Daniel Caoili

Reputation: 101

The answer is use easyocr. Tesseract doesn't seem to have text recognition or at least not to the degree that easyocr does.

Upvotes: 0

Related Questions