import pytesseract as t
from PIL import Image
img = Image.open("photo.jpg")
text = t.image_to_string(img)
print(text)
#code
🆔 @Python4all_pro
پا پایتون | Data Science | Machine Learning @python4all_pro · 24.2K subscribers import pytesseract as t
from PIL import Image
img = Image.open("photo.jpg")
text = t.image_to_string(img)
print(text)