Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot show Persian numbers #155

Open
netwons opened this issue Dec 11, 2020 · 0 comments
Open

Cannot show Persian numbers #155

netwons opened this issue Dec 11, 2020 · 0 comments

Comments

@netwons
Copy link

netwons commented Dec 11, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant