4096px 优先级 :image > url > pdf_file > ofd_file,当image、url字段存在时,pdf_file字段失效 pdf_file_num 否 string - 需要识别的PDF文件的对应页码,当 pdf_file 参数有效时,识别传入页码的对应页面内容,若不传入,则默认识别第 1 页 ofd_file 和 image/url/pdf_file 四选一 string
4096px 优先级 :image > url > pdf_file > ofd_file,当image、url字段存在时,pdf_file字段失效 pdf_file_num 否 string - 需要识别的PDF文件的对应页码,当 pdf_file 参数有效时,识别传入页码的对应页面内容,若不传入,则默认识别第 1 页 ofd_file 和 image/url/pdf_file 四选一 string
exceeds the number of pdf pages 参数pdf_file_num大于PDF文件实际页数 216401 Create task failed 提交请求失败 216402 Query task failed 获取结果失败 216603 Check pdf page num failed 获取PDF文件页数失败,请检查PDF文件以及base64编码 216604 Insufficient
优先级:image > url > pdf_file,当image 字段存在时,url、pdf_file 字段失效 pdf_file_num 否 string 需要识别的 PDF 文件的对应页码,当pdf_file 参数有效时,识别传入页码的对应页面内容,若不传入,则默认识别第 1 页 change_degree 否,当 image、url或 pdf_file 字段存在时,为必需项 integer
.com/rest/2.0/ocr/v1/bank_receipt_new_pro URL参数: 参数 值 access_token 通过API Key和Secret Key获取的access_token,参考“ Access Token获取 ” Header如下: 参数 值 Content-Type
pdf_file_num 否 string - 需要识别的PDF文件的对应页码,当 pdf_file 参数有效时,识别传入页码的对应页面内容,若不传入,则默认识别第 1 页 请求代码示例 提示一 :使用示例代码前,请记得替换其中的示例Token、图片地址或Base64信息。
4096px 优先级 :image > url > pdf_file > ofd_file,当image、url字段存在时,pdf_file字段失效 pdf_file_num 否 string - 需要识别的PDF文件的对应页码,当 pdf_file 参数有效时,识别传入页码的对应页面内容,若不传入,则默认识别第 1 页 ofd_file 和 image/url/pdf_file 四选一 string
8192px 优先级 :image > url > pdf_file > ofd_file,当image、url字段存在时,pdf_file字段失效 pdf_file_num 否 string - 需要识别的PDF文件的对应页码,当 pdf_file 参数有效时,识别传入页码的对应页面内容,若不传入,则默认识别第 1 页 ofd_file 和 image/url/pdf_file 四选一 string
15px,最长边最大4096px 优先级 :image > url > pdf_file > ofd_file,当image、url字段存在时,pdf_file字段失效 pdf_file_num 否 string - 需要识别的PDF文件的对应页码,当 pdf_file 参数有效时,识别传入页码的对应页面内容,若不传入,则默认识别第 1 页 ofd_file 和 image/url/pdf_file
url > pdf_file > ofd_file,当image、url字段存在时,pdf_file字段失效 pdf_file_num 否 string - 需要识别的PDF文件的对应页码,当 pdf_file 参数有效时,识别传入页码的对应页面内容,若不传入,则默认识别第 1 页 ofd_file 和 image/url/pdf_file 四选一 string - OFD文件,base64编码后进行