提交 4f8e2047 编写于 作者: JOKER0810's avatar JOKER0810

Update recognize.py

上级 bd86705b
......@@ -38,8 +38,8 @@ def baiduOCR(picfile):
i = open(picfile, 'rb')
img = i.read()
print("正在识别图片:\t" + filename)
message = client.webImage(img) # 通用文字识别,每天 50 000 次免费
# message = client.basicAccurate(img) # 通用文字高精度识别,每天 800 次免费
message = client.webImage(img) # 通用网络图片识别,每月 1 000 次免费
# message = client.basicAccurate(img) # 通用文字高精度识别,每月 1000 次免费
i.close();
if len(message['words_result']):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册