10 lines
237 B
Python
10 lines
237 B
Python
import FileDialog
|
|
|
|
import aip
|
|
|
|
|
|
f = open(FileDialog.getOneFile(), 'rb')
|
|
client = aip.AipOcr("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
|
|
list = client.basicGeneral(f.read(), options={})["words_result"]
|
|
print(list)
|