Files
easyocr/examples/test.py

5 lines
170 B
Python
Raw Normal View History

2025-07-10 19:42:57 +08:00
import easyocr
reader = easyocr.Reader(['ch_sim','en']) # this needs to run only once to load the model into memory
result = reader.readtext('chinese.jpg')
print(result)