Set Tesseract to recognise Single Characters (Tesserocr python)

53 views
Skip to first unread message

Abel Tan

unread,
Jun 22, 2018, 5:26:28 AM6/22/18
to tesseract-ocr
HI,

I am using python wrapper Tesserocr to recognise characters in an image.

Tesserocr works fine to recognise words (more than 2 chars) , but it fails to detect single chars like `A`

I am aware that I need to set Page Segmentation mode to = 10  (10 Treat the image as a single character.)

But ho do I do that in python tesserocr?

Thanks.

Abel Tan

unread,
Jun 22, 2018, 5:27:16 AM6/22/18
to tesseract-ocr


Sorry, I am forget to add that I am using tesserocr API, not command line!
Reply all
Reply to author
Forward
0 new messages