I'm using Pytesseract, and it's working when i use English,but when i swith to russian language. I have problem like this:
"TypeError: 'str' does not support the buffer interface". I've tried other language it also doesn't work.
It's my code:
from PIL import Image from pytesseract import image_to_string k=image_to_string(Image.open("ff.jpg"), lang="rus") print(image_to_string(Image.open("picture.jpg"), lang="rus")) Can someone help me to solve this problem?