7
votes

My text with some not such complex math symbols as below.

enter image description here

enter image description here

Tesseract OCR default cannot recognize such math symbols (+-, angle). How can I recognize such math symbols by tesseract ?

1

1 Answers

2
votes

just use the following statement:

pytesseract.image_to_string(Image.open(img), config='-l eng + equ')

Also make sure pytesseract is trained with equations.

tifi