5 lines
170 B
Python
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)
|