cv/test.py

6 lines
158 B
Python
Raw Normal View History

2024-05-12 13:07:09 +00:00
import easyocr
reader = easyocr.Reader(['ar']) # this needs to run only once to load the model into memory
result = reader.readtext('00.jpg')
print(result)