Open netwons opened 3 years ago
im code
#!/bin/python3.8 import cv2 import pytesseract img = cv2.imread('/home/netwons/Desktop/fff.jpeg') # Adding custom options custom_config = r'--oem 3 --psm 6' text=pytesseract.image_to_string(img,lang="fas", config=custom_config) f= open("/home/netwons/Desktop/py.txt","w") f.write(text) f.close()
Cannot show Persian numbers
im code
Cannot show Persian numbers