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

Update recognize.py

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