文字识别API
接口描述
文字识别接口,支持返回位置。
请求说明
URL
https://openapi.ocr.sys303.com/api/v1/ocr/general?access_token={token}
参数
URL参数
参数 | 值 |
---|---|
access_token | 通过API Key和Secret Key获取的access_token |
Header参数
参数 | 值 |
---|---|
Content-Type | application/x-www-form-urlencoded |
Body参数
参数 | 是否必选 | 类型 | 可选值范围 | 说明 |
---|---|---|---|---|
image | 四选一 | string | - | 图像数据,base64编码后进行urlencode,大小不超过10M,最短边至少15px,最长边最大8192px,支持jpg/jpeg/png/bmp格式优先级:image > url > pdf_file > ofd_file |
language_type | 否 | string | 0 | 识别语言类型,默认藏文【0:藏文,1:中文】 |
url |