Files
easyocr/examples/test.py
2025-07-10 19:42:57 +08:00

5 lines
170 B
Python

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)