Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
128 views
in Technique[技术] by (71.8m points)

python - tesserocr not able to recognize the special character

I am using tesserocr and passing the below sample image: enter image description here

When I am extracting the text from this image using tesserocr, the ocr could not able to recognize the '<' symbol marked with red underline. It sometime read it as it is, sometime it read it as 'e', 'c', 'C', 'L'.

is there any way I can read all this '<' symbol as it is.

I am using the below code:

from PIL import Image
image = Image.open('roi.jpg')
text= tesserocr.image_to_text(image)

I have also tried the config command but it didnt work with tesserocr.

question from:https://stackoverflow.com/questions/65840413/tesserocr-not-able-to-recognize-the-special-character

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...