![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OCR
LOONGV
这个作者很懒,什么都没留下…
展开
-
Python调用百度OCR API实现图像文字识别
百度控制台地址:https://console.bce.baidu.com/ai/#/ai/ocr/overview/index直接通过urllib去按照API文档调用接口便可,唯一需要注意的是API文档里要求image在base64编码后进行urlencode,但是实际上只需要base64编码便可# !/user/bin/env Python3# -*- coding:utf-8 -...原创 2019-04-11 17:41:50 · 5233 阅读 · 5 评论 -
Python调用腾讯优图OCR通用API实现文字识别
API地址:https://ai.qq.com/doc/ocrgeneralocr.shtml腾讯优图的API比较复杂的就是生成签名,不过不知道腾讯的服务器出什么问题了,调用的时候一直提示504,演示页面也是无法识别图片了。# !/user/bin/env Python3# -*- coding:utf-8 -*-"""file:qq_api.pycreate time:201...原创 2019-04-12 17:26:57 · 5986 阅读 · 8 评论