统一ocr服务接口
POST
https://littleocr.gkocr.com/api/service/imageOcr
接口描述
全能优图识别接口:https://littleocr.gkocr.com/api/service/imageOcr ; 全能谷歌识别接口:https://littleocr.gkocr.com/api/service/vision
请求头
参数名
类型
描述
必填
使用之前封装好的公共请求头
必填
请求参数
参数名
类型
描述
必填
token
string
登陆凭证
必填
template
string
识别类型 详见下方 template 合法值
必填
image_id
string
将图片上传至图片服务器之后返回的图片id 详见 https://easydoc.xyz/doc/70343401/n75lexPS/eDPKC5sJ
必填
template合法值
参数名
类型
描述
必填
hpgeneralocr
string
高精度文字识别
必填
generalocr
string
通用印刷体文字识别
必填
handwritingocr
string
通用手写体文字识别
必填
ehocr
string
英文识别
必填
idcardocr
string
身份证识别
必填
creditcardocr
string
银行卡识别
必填
bcocr
string
名片识别
必填
driverlicenseocr
string
驾驶证识别
必填
passportocr
string
护照识别
必填
bizlicenseocr
string
营业执照识别
必填
invoiceocr
string
增值税发票识别
必填
arithmeticocr
string
速算题目识别
必填
waybillocr
string
电子运单识别
必填
tableocr
string
表格识别
必填
residence_booklet_ocr
string
户口本识别
必填
invoiceocr_mixed
string
财务票据混贴识别
必填
insuranceocr
string
保险单据识别
必填
seal_ocr
string
印章识别
必填
vehiclelicenseocr
string
行驶证识别
必填
google
string
谷歌识别 仅在请求 该接口时有效 https://littleocr.gkocr.com/api/service/vision
必填