diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/ocr/2019-12-30 | |
| download | acs-metadata-full-main.tar.gz acs-metadata-full-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/ocr/2019-12-30')
| -rw-r--r-- | data/en_us/ocr/2019-12-30/api-docs.php | 3457 |
1 files changed, 3457 insertions, 0 deletions
diff --git a/data/en_us/ocr/2019-12-30/api-docs.php b/data/en_us/ocr/2019-12-30/api-docs.php new file mode 100644 index 0000000..bc47eb3 --- /dev/null +++ b/data/en_us/ocr/2019-12-30/api-docs.php @@ -0,0 +1,3457 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'ocr', + 'version' => '2019-12-30', + ], + 'directories' => [ + [ + 'id' => 66262, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetAsyncJobResult', + ], + ], + [ + 'id' => 66264, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'RecognizeBankCard', + 'RecognizeBusinessLicense', + 'RecognizeCharacter', + 'RecognizeDriverLicense', + 'RecognizeDrivingLicense', + 'RecognizeIdentityCard', + 'RecognizeLicensePlate', + 'RecognizeQrCode', + 'RecognizeTable', + 'RecognizeTaxiInvoice', + 'RecognizeTrainTicket', + 'RecognizeVATInvoice', + 'RecognizeVINCode', + ], + ], + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'RecognizePdf', + 'RecognizeTicketInvoice', + 'RecognizeQuotaInvoice', + 'RecognizeVideoCharacter', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'GetAsyncJobResult' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'E75FE679-0303-4DD1-8252-1143B4FA8A27', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A1F44EC4-118D-4A03-B213-F908F36F7DAA', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'PROCESS_SUCCESS', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'paramsIllegal', + ], + 'Result' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'InvalidParameter', + ], + 'JobId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '49E2CC28-ED1D-4CC5-854D-7D0AE2B20976', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A1F44EC4-118D-4A03-B213-F908F36F7DAA\\",\\n \\"Data\\": {\\n \\"Status\\": \\"PROCESS_SUCCESS\\",\\n \\"ErrorMessage\\": \\"paramsIllegal\\",\\n \\"Result\\": \\"{\\\\\\\\\\\\\\"Content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"<div > <h2 > 2017 年 3 月 40 多家陶企上榜失信被执行人名单 </h2><div > 1 月 7 日,陶卫网记者根据最高人民法院及各地法院发布的失信被执行人信息统计,2019 年 12 月全国各地有 112 家陶瓷企业被列入“失信被执行人”名单,名单涉及 21 个省(市)。此次名单中,广东省的失信陶企多达 28 家。 </div><div > 据统计,这些“失信被执行人”的上榜原因主要为债务纠纷,欠款不还,大部分为拖欠供应商货款、工资、员工赔偿、银行贷款以及融资租赁租金等,也有涉及运输、燃气等费用,小部分企业涉及承担债务连带清偿责任。 </div><table border=1> <tr><td > 公司名称 </td><td > 最新失信发布时间 </td><td > 累计失信次数 </td> </tr> <tr><td > 潮州市澳士通陶瓷实业有限公司 </td><td > 3 月 15 日 </td><td > 1 次 </td> </tr> <tr><td > 肇庆市德圣陶瓷有限公司 </td><td > 3 月 14 日 </td><td > 6 次 </td> </tr> <tr><td > 清远市港龙陶瓷有限公司 </td><td > 3 月 10 日 </td><td > 28 次 </td> </tr> <tr><td > 广西金沙江陶瓷有限公司 </td><td > 3 月 14 日 </td><td > 3 次 </td> </tr> <tr><td > 宜丰县凯扬陶瓷发展有限公司 </td><td > 3 月 29 日 </td><td > 11 次 </td> </tr> <tr><td > 江西领先精工陶瓷发展有限公司 </td><td > 3 月 29 日 </td><td > 23 次 </td> </tr> <tr><td > 高安弘建陶瓷有限公司 </td><td > 3 月 28 日 </td><td > 5 次 </td> </tr></table>\\\\\\\\\\\\\\"}\\",\\n \\"ErrorCode\\": \\"InvalidParameter\\",\\n \\"JobId\\": \\"49E2CC28-ED1D-4CC5-854D-7D0AE2B20976\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>A1F44EC4-118D-4A03-B213-F908F36F7DAA</RequestId>\\n<Data>\\n <Status>PROCESS_SUCCESS</Status>\\n <ErrorMessage>paramsIllegal</ErrorMessage>\\n <Result>{\\\\\\"Content\\\\\\":\\\\\\"<div > <h2 > 2017 年 3 月 40 多家陶企上榜失信被执行人名单 </h2><div > 1 月 7 日,陶卫网记者根据最高人民法院及各地法院发布的失信被执行人信息统计,2019 年 12 月全国各地有 112 家陶瓷企业被列入“失信被执行人”名单,名单涉及 21 个省(市)。此次名单中,广东省的失信陶企多达 28 家。 </div><div > 据统计,这些“失信被执行人”的上榜原因主要为债务纠纷,欠款不还,大部分为拖欠供应商货款、工资、员工赔偿、银行贷款以及融资租赁租金等,也有涉及运输、燃气等费用,小部分企业涉及承担债务连带清偿责任。 </div><table border=1> <tr><td > 公司名称 </td><td > 最新失信发布时间 </td><td > 累计失信次数 </td> </tr> <tr><td > 潮州市澳士通陶瓷实业有限公司 </td><td > 3 月 15 日 </td><td > 1 次 </td> </tr> <tr><td > 肇庆市德圣陶瓷有限公司 </td><td > 3 月 14 日 </td><td > 6 次 </td> </tr> <tr><td > 清远市港龙陶瓷有限公司 </td><td > 3 月 10 日 </td><td > 28 次 </td> </tr> <tr><td > 广西金沙江陶瓷有限公司 </td><td > 3 月 14 日 </td><td > 3 次 </td> </tr> <tr><td > 宜丰县凯扬陶瓷发展有限公司 </td><td > 3 月 29 日 </td><td > 11 次 </td> </tr> <tr><td > 江西领先精工陶瓷发展有限公司 </td><td > 3 月 29 日 </td><td > 23 次 </td> </tr> <tr><td > 高安弘建陶瓷有限公司 </td><td > 3 月 28 日 </td><td > 5 次 </td> </tr></table>\\\\\\"}</Result>\\n <ErrorCode>InvalidParameter</ErrorCode>\\n <JobId>49E2CC28-ED1D-4CC5-854D-7D0AE2B20976</JobId>\\n</Data>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'RecognizeBankCard' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeBankCard/yhk3.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'D9C7521-0367-42EE-9646-FD066CCADB26', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'CardNumber' => [ + 'description' => '', + 'example' => '6212262315007683105', + 'type' => 'string', + ], + 'ValidDate' => [ + 'description' => '', + 'example' => '07/26', + 'type' => 'string', + ], + 'BankName' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'CardType' => [ + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D9C7521-0367-42EE-9646-FD066CCADB26\\",\\n \\"Data\\": {\\n \\"CardNumber\\": \\"6212262315007683105\\",\\n \\"ValidDate\\": \\"07/26\\",\\n \\"BankName\\": \\"中国工商银行\\",\\n \\"CardType\\": \\"CC\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeBankCardResponse>\\n <RequestId>D9C7521-0367-42EE-9646-FD066CCADB26</RequestId>\\n <Data>\\n <CardNumber>6212262315007683105</CardNumber>\\n <ValidDate>07/26</ValidDate>\\n <BankName>中国工商银行</BankName>\\n <CardType>CC</CardType>\\n </Data>\\n</RecognizeBankCardResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + ], + 'RecognizeBusinessLicense' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeBusinessLicense/RecognizeBusinessLicense1.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'F34D031B-02BD-4A59-BA35-EE068DD6F6E6', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Type' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Stamp' => [ + 'description' => '', + 'properties' => [ + 'Top' => [ + 'description' => '', + 'example' => '1030', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '154', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '154', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Left' => [ + 'description' => '', + 'example' => '650', + 'format' => 'int32', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'EstablishDate' => [ + 'description' => '', + 'example' => '20150504', + 'type' => 'string', + ], + 'ValidPeriod' => [ + 'description' => '', + 'example' => '29991231', + 'type' => 'string', + ], + 'Business' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Angle' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'RegisterNumber' => [ + 'description' => '', + 'example' => '91500108320423****', + 'type' => 'string', + ], + 'Address' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Capital' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'properties' => [ + 'Top' => [ + 'description' => '', + 'example' => '10', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '10', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '10', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Left' => [ + 'description' => '', + 'example' => '10', + 'format' => 'int32', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'Emblem' => [ + 'description' => '', + 'properties' => [ + 'Top' => [ + 'description' => '', + 'example' => '8', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '162', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '163', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Left' => [ + 'description' => '', + 'example' => '366', + 'format' => 'int32', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'Name' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'QRCode' => [ + 'description' => '', + 'properties' => [ + 'Top' => [ + 'description' => '', + 'example' => '914', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '126', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '132', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Left' => [ + 'description' => '', + 'example' => '156', + 'format' => 'int32', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'LegalPerson' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F34D031B-02BD-4A59-BA35-EE068DD6F6E6\\",\\n \\"Data\\": {\\n \\"Type\\": \\"有限责任公司\\",\\n \\"Stamp\\": {\\n \\"Top\\": 1030,\\n \\"Width\\": 154,\\n \\"Height\\": 154,\\n \\"Left\\": 650\\n },\\n \\"EstablishDate\\": \\"20150504\\",\\n \\"ValidPeriod\\": \\"29991231\\",\\n \\"Business\\": \\"网络技术服务;网站建设;销售:I类医疗器械、保健用品(不含保健食品)等\\",\\n \\"Angle\\": 0,\\n \\"RegisterNumber\\": \\"91500108320423****\\",\\n \\"Address\\": \\"浙江省杭州市西湖区转塘科技经济区块888号888幢\\",\\n \\"Capital\\": \\"壹百万元整\\",\\n \\"Title\\": {\\n \\"Top\\": 10,\\n \\"Width\\": 10,\\n \\"Height\\": 10,\\n \\"Left\\": 10\\n },\\n \\"Emblem\\": {\\n \\"Top\\": 8,\\n \\"Width\\": 162,\\n \\"Height\\": 163,\\n \\"Left\\": 366\\n },\\n \\"Name\\": \\"某某电子商务有限公司\\",\\n \\"QRCode\\": {\\n \\"Top\\": 914,\\n \\"Width\\": 126,\\n \\"Height\\": 132,\\n \\"Left\\": 156\\n },\\n \\"LegalPerson\\": \\"李四\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>F34D031B-02BD-4A59-BA35-EE068DD6F6E6</RequestId>\\n<Data>\\n <ValidPeriod>29991231</ValidPeriod>\\n <Address>浙江省杭州市西湖区转塘科技经济区块888号888幢</Address>\\n <Stamp>\\n <Left>971</Left>\\n <Top>572</Top>\\n <Height>197</Height>\\n <Width>191</Width>\\n </Stamp>\\n <Title>\\n <Left>447</Left>\\n <Top>177</Top>\\n <Height>80</Height>\\n <Width>354</Width>\\n </Title>\\n <Capital>叁佰万元整</Capital>\\n <LegalPerson>李四</LegalPerson>\\n <EstablishDate>20150504</EstablishDate>\\n <Name>某某电子商务有限公司</Name>\\n <RegisterNumber>91500108320423****</RegisterNumber>\\n <Type>有限责任公司</Type>\\n <QRCode>\\n <Left>848</Left>\\n <Top>199</Top>\\n <Height>88</Height>\\n <Width>91</Width>\\n </QRCode>\\n <Angle>0</Angle>\\n <Emblem>\\n <Left>550</Left>\\n <Top>6</Top>\\n <Height>150</Height>\\n <Width>137</Width>\\n </Emblem>\\n <Business>网络技术服务;网站建设;销售:I类医疗器械、保健用品(不含保健食品);医药技术咨询(不含诊疗活动及药品销售)、健康知识及其信息咨询(不含诊疗活动)、健康管理咨询(不含诊疗活动)、医院管理咨询(不含诊疗活动及药品销售):健康保健项目策划、设计;化妆品、饰、工艺礼品(不含象牙及其制品)、家具护理用品、劳防用品的批发;货物进出口(法律、法规禁止的项目除外;法律、法规限制的项目取得许可后方可经营);品牌推广;旅游信息咨询;翻译服务;票务代理;设计、制作、代理、发布广告;会议及展览展示服务。(依法须经批准的项目,经相关部门批准后方可开展经营活动)</Business>\\n</Data>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + ], + 'RecognizeCharacter' => [ + 'summary' => '通用文字识别', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeCharacter/RecognizeCharacter5.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'MinHeight', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => '10', + 'format' => 'int32', + 'minimum' => '5', + 'required' => true, + 'type' => 'integer', + ], + ], + [ + 'name' => 'OutputProbability', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'true', + 'required' => true, + 'type' => 'boolean', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '7A9BC7FE-2D42-57AF-93BC-09A229DD2F1D', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Results' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'TextRectangles' => [ + 'description' => '', + 'properties' => [ + 'Top' => [ + 'description' => '', + 'example' => '150', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '77', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '409', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Angle' => [ + 'description' => '', + 'example' => '-65', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Left' => [ + 'description' => '', + 'example' => '511', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Pos' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'x' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'y' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + ], + 'type' => 'object', + ], + 'Text' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Probability' => [ + 'description' => '', + 'example' => '0.99', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7A9BC7FE-2D42-57AF-93BC-09A229DD2F1D\\",\\n \\"Data\\": {\\n \\"Results\\": [\\n {\\n \\"TextRectangles\\": {\\n \\"Top\\": 150,\\n \\"Width\\": 77,\\n \\"Height\\": 409,\\n \\"Angle\\": -65,\\n \\"Left\\": 511,\\n \\"Pos\\": [\\n {\\n \\"x\\": 434,\\n \\"y\\": 70\\n }\\n ]\\n },\\n \\"Text\\": \\"祝你生日快乐\\",\\n \\"Probability\\": 0.99\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeCharacterResponse>\\n <RequestId>3A7E38E9-E8B2-5135-8461-F6DA393385AA</RequestId>\\n <Data>\\n <Results>\\n <TextRectangles>\\n <Left>569</Left>\\n <Top>184</Top>\\n <Angle>-68</Angle>\\n <Pos>\\n <x>569</x>\\n <y>184</y>\\n </Pos>\\n <Pos>\\n <x>665</x>\\n <y>223</y>\\n </Pos>\\n <Pos>\\n <x>657</x>\\n <y>244</y>\\n </Pos>\\n <Pos>\\n <x>560</x>\\n <y>205</y>\\n </Pos>\\n <Height>103</Height>\\n <Width>22</Width>\\n </TextRectangles>\\n <Probability>0.99</Probability>\\n <Text>HAPPY</Text>\\n </Results>\\n <Results>\\n <TextRectangles>\\n <Left>515</Left>\\n <Top>190</Top>\\n <Angle>-63</Angle>\\n <Pos>\\n <x>515</x>\\n <y>190</y>\\n </Pos>\\n <Pos>\\n <x>690</x>\\n <y>277</y>\\n </Pos>\\n <Pos>\\n <x>673</x>\\n <y>311</y>\\n </Pos>\\n <Pos>\\n <x>498</x>\\n <y>225</y>\\n </Pos>\\n <Height>195</Height>\\n <Width>38</Width>\\n </TextRectangles>\\n <Probability>0.99</Probability>\\n <Text>birthday</Text>\\n </Results>\\n <Results>\\n <TextRectangles>\\n <Left>389</Left>\\n <Top>242</Top>\\n <Angle>-65</Angle>\\n <Pos>\\n <x>389</x>\\n <y>242</y>\\n </Pos>\\n <Pos>\\n <x>755</x>\\n <y>406</y>\\n </Pos>\\n <Pos>\\n <x>726</x>\\n <y>471</y>\\n </Pos>\\n <Pos>\\n <x>360</x>\\n <y>307</y>\\n </Pos>\\n <Height>400</Height>\\n <Width>70</Width>\\n </TextRectangles>\\n <Probability>0.98</Probability>\\n <Text>祝你生日快乐</Text>\\n </Results>\\n </Data>\\n</RecognizeCharacterResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'RecognizeDriverLicense' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeDriverLicense/jsz2.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'Side', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'face', + 'required' => false, + 'type' => 'string', + 'enum' => [ + 'face', + 'back', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '374D8C7E-9ECC-4750-A87F-50571702F175', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'BackResult' => [ + 'description' => '', + 'properties' => [ + 'ArchiveNumber' => [ + 'description' => '', + 'example' => '130601473955', + 'type' => 'string', + ], + 'Name' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'CardNumber' => [ + 'description' => '', + 'example' => '210288898898898888', + 'type' => 'string', + ], + 'Record' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'FaceResult' => [ + 'description' => '', + 'properties' => [ + 'VehicleType' => [ + 'description' => '', + 'example' => 'C1', + 'type' => 'string', + ], + 'IssueDate' => [ + 'description' => '', + 'example' => '20130208', + 'type' => 'string', + ], + 'EndDate' => [ + 'description' => '', + 'example' => '20190201', + 'type' => 'string', + ], + 'Gender' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Address' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'StartDate' => [ + 'description' => '', + 'example' => '20130208', + 'type' => 'string', + ], + 'LicenseNumber' => [ + 'description' => '', + 'example' => '210288898898898888', + 'type' => 'string', + ], + 'Name' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'IssueUnit' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Nationality' => [ + 'type' => 'string', + ], + 'BirthDate' => [ + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"374D8C7E-9ECC-4750-A87F-50571702F175\\",\\n \\"Data\\": {\\n \\"BackResult\\": {\\n \\"ArchiveNumber\\": \\"130601473955\\",\\n \\"Name\\": \\"张三\\",\\n \\"CardNumber\\": \\"210288898898898888\\",\\n \\"Record\\": \\"实习期至2019年05月06日。\\"\\n },\\n \\"FaceResult\\": {\\n \\"VehicleType\\": \\"C1\\",\\n \\"IssueDate\\": \\"20130208\\",\\n \\"EndDate\\": \\"20190201\\",\\n \\"Gender\\": \\"男\\",\\n \\"Address\\": \\"江苏省徐州市铜山区棠张镇田河村1队129号\\",\\n \\"StartDate\\": \\"20130208\\",\\n \\"LicenseNumber\\": \\"210288898898898888\\",\\n \\"Name\\": \\"张三\\",\\n \\"IssueUnit\\": \\"江苏省徐州市公安局交通巡逻警察支队\\",\\n \\"Nationality\\": \\"中国\\",\\n \\"BirthDate\\": \\"1992-05-20\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeDriverLicenseResponse>\\n <RequestId>374D8C7E-9ECC-4750-A87F-50571702F175</RequestId>\\n <Data>\\n <BackResult>\\n <ArchiveNumber>130601473955</ArchiveNumber>\\n <Name>张三</Name>\\n <CardNumber>210288898898898888</CardNumber>\\n <Record>实习期至2019年05月06日。</Record>\\n </BackResult>\\n <FaceResult>\\n <VehicleType>C1</VehicleType>\\n <IssueDate>20130208</IssueDate>\\n <EndDate>20190201</EndDate>\\n <Gender>男</Gender>\\n <Address>江苏省徐州市铜山区棠张镇田河村1队129号</Address>\\n <StartDate>20130208</StartDate>\\n <LicenseNumber>210288898898898888</LicenseNumber>\\n <Name>张三</Name>\\n <IssueUnit>江苏省徐州市公安局交通巡逻警察支队</IssueUnit>\\n <Nationality>中国</Nationality>\\n <BirthDate>1992-05-20</BirthDate>\\n </FaceResult>\\n </Data>\\n</RecognizeDriverLicenseResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + ], + 'RecognizeDrivingLicense' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeDrivingLicense/xsz2.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'Side', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'face', + 'required' => false, + 'type' => 'string', + 'enum' => [ + 'face', + 'back', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '1DD989C1-4E08-4E04-9D5D-314901E91226', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'BackResult' => [ + 'description' => '', + 'properties' => [ + 'OverallDimension' => [ + 'description' => '', + 'example' => '4945x1845x1480', + 'type' => 'string', + ], + 'InspectionRecord' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'UnladenMass' => [ + 'description' => '', + 'example' => '2000', + 'type' => 'string', + ], + 'FileNumber' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'TractionMass' => [ + 'description' => '', + 'example' => '100', + 'type' => 'string', + ], + 'GrossMass' => [ + 'description' => '', + 'example' => '2205', + 'type' => 'string', + ], + 'PlateNumber' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'ApprovedPassengerCapacity' => [ + 'description' => '', + 'example' => '5', + 'type' => 'string', + ], + 'EnergyType' => [ + 'description' => '', + 'example' => '-', + 'type' => 'string', + ], + 'ApprovedLoad' => [ + 'description' => '', + 'example' => '300', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'FaceResult' => [ + 'description' => '', + 'properties' => [ + 'IssueDate' => [ + 'description' => '', + 'example' => '20180313', + 'type' => 'string', + ], + 'Model' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'VehicleType' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Owner' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'EngineNumber' => [ + 'description' => '', + 'example' => '111111', + 'type' => 'string', + ], + 'PlateNumber' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Address' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'UseCharacter' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Vin' => [ + 'description' => '', + 'example' => 'SSVUDDTT2J2022555', + 'type' => 'string', + ], + 'RegisterDate' => [ + 'description' => '', + 'example' => '20180312', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1DD989C1-4E08-4E04-9D5D-314901E91226\\",\\n \\"Data\\": {\\n \\"BackResult\\": {\\n \\"OverallDimension\\": \\"4945x1845x1480\\",\\n \\"InspectionRecord\\": \\"检验有效期至2014年09月云A(01)\\",\\n \\"UnladenMass\\": \\"2000\\",\\n \\"FileNumber\\": \\"苏F123E9\\",\\n \\"TractionMass\\": \\"100\\",\\n \\"GrossMass\\": \\"2205\\",\\n \\"PlateNumber\\": \\"苏F123E9\\",\\n \\"ApprovedPassengerCapacity\\": \\"5\\",\\n \\"EnergyType\\": \\"-\\",\\n \\"ApprovedLoad\\": \\"300\\"\\n },\\n \\"FaceResult\\": {\\n \\"IssueDate\\": \\"20180313\\",\\n \\"Model\\": \\"大众汽车牌SVW6666DFD\\",\\n \\"VehicleType\\": \\"小型普通客车\\",\\n \\"Owner\\": \\"张三\\",\\n \\"EngineNumber\\": \\"111111\\",\\n \\"PlateNumber\\": \\"苏F123E9\\",\\n \\"Address\\": \\"中牟县三刘寨村\\",\\n \\"UseCharacter\\": \\"非营运\\",\\n \\"Vin\\": \\"SSVUDDTT2J2022555\\",\\n \\"RegisterDate\\": \\"20180312\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeDrivingLicenseResponse>\\n <RequestId>1DD989C1-4E08-4E04-9D5D-314901E91226</RequestId>\\n <Data>\\n <BackResult>\\n <OverallDimension>4945x1845x1480</OverallDimension>\\n <InspectionRecord>检验有效期至2014年09月云A(01)</InspectionRecord>\\n <UnladenMass>2000</UnladenMass>\\n <FileNumber>苏F123E9</FileNumber>\\n <TractionMass>100</TractionMass>\\n <GrossMass>2205</GrossMass>\\n <PlateNumber>苏F123E9</PlateNumber>\\n <ApprovedPassengerCapacity>5</ApprovedPassengerCapacity>\\n <EnergyType>-</EnergyType>\\n <ApprovedLoad>300</ApprovedLoad>\\n </BackResult>\\n <FaceResult>\\n <IssueDate>20180313</IssueDate>\\n <Model>大众汽车牌SVW6666DFD</Model>\\n <VehicleType>小型普通客车</VehicleType>\\n <Owner>张三</Owner>\\n <EngineNumber>111111</EngineNumber>\\n <PlateNumber>苏F123E9</PlateNumber>\\n <Address>中牟县三刘寨村</Address>\\n <UseCharacter>非营运</UseCharacter>\\n <Vin>SSVUDDTT2J2022555</Vin>\\n <RegisterDate>20180312</RegisterDate>\\n </FaceResult>\\n </Data>\\n</RecognizeDrivingLicenseResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'RecognizeIdentityCard' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeIdentityCard/sfz1.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'Side', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'face', + 'required' => false, + 'type' => 'string', + 'enum' => [ + 'face', + 'back', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'D3F5BA69-79C4-46A4-B02B-58C4EEBC4C33', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'BackResult' => [ + 'description' => '', + 'properties' => [ + 'EndDate' => [ + 'description' => '', + 'example' => '19800101', + 'type' => 'string', + ], + 'Issue' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'StartDate' => [ + 'description' => '', + 'example' => '19970101', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'FrontResult' => [ + 'description' => '', + 'properties' => [ + 'FaceRectangle' => [ + 'description' => '', + 'properties' => [ + 'Size' => [ + 'description' => '', + 'properties' => [ + 'Width' => [ + 'description' => '', + 'example' => '118.16333770751953', + 'format' => 'float', + 'type' => 'number', + ], + 'Height' => [ + 'description' => '', + 'example' => '97.063156127929688', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'Angle' => [ + 'description' => '', + 'example' => '-87.710586547851562', + 'format' => 'float', + 'type' => 'number', + ], + 'Center' => [ + 'description' => '', + 'properties' => [ + 'Y' => [ + 'description' => '', + 'example' => '225.20643615722656', + 'format' => 'float', + 'type' => 'number', + ], + 'X' => [ + 'description' => '', + 'example' => '475.59390258789062', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + 'BirthDate' => [ + 'description' => '', + 'example' => '19960111', + 'type' => 'string', + ], + 'Gender' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Address' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'FaceRectVertices' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'Y' => [ + 'description' => '', + 'example' => '164.23321533203125', + 'format' => 'float', + 'type' => 'number', + ], + 'X' => [ + 'description' => '', + 'example' => '429.46124267578125', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'CardAreas' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'Y' => [ + 'description' => '', + 'example' => '81', + 'format' => 'float', + 'type' => 'number', + ], + 'X' => [ + 'description' => '', + 'example' => '40', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'Nationality' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Name' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'IDNumber' => [ + 'description' => '', + 'example' => '310228199601115411', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A6175A03-624C-1976-908D-C8BE4C547C45\\",\\n \\"Data\\": {\\n \\"BackResult\\": {\\n \\"EndDate\\": \\"19800101\\",\\n \\"Issue\\": \\"杭州市公安局\\",\\n \\"StartDate\\": \\"19970101\\"\\n },\\n \\"FrontResult\\": {\\n \\"FaceRectangle\\": {\\n \\"Size\\": {\\n \\"Width\\": 196,\\n \\"Height\\": 243\\n },\\n \\"Angle\\": 0,\\n \\"Center\\": {\\n \\"Y\\": 225,\\n \\"X\\": 667\\n }\\n },\\n \\"BirthDate\\": \\"19880722\\",\\n \\"Gender\\": \\"男\\",\\n \\"Address\\": \\"江苏省南京市浦口区天天小区1栋11号\\",\\n \\"FaceRectVertices\\": [\\n {\\n \\"Y\\": 105,\\n \\"X\\": 569\\n }\\n ],\\n \\"CardAreas\\": [\\n {\\n \\"Y\\": 485,\\n \\"X\\": 132\\n }\\n ],\\n \\"Nationality\\": \\"汉\\",\\n \\"Name\\": \\"小明\\",\\n \\"IDNumber\\": \\"320001198807220000\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeIdentityCardResponse>\\n <RequestId>A6175A03-624C-1976-908D-C8BE4C547C45</RequestId>\\n <Data>\\n <FrontResult>\\n <Address>江苏省南京市浦口区天天小区1栋11号</Address>\\n <FaceRectVertices>\\n <X>569</X>\\n <Y>105</Y>\\n </FaceRectVertices>\\n <FaceRectVertices>\\n <X>766</X>\\n <Y>104</Y>\\n </FaceRectVertices>\\n <FaceRectVertices>\\n <X>766</X>\\n <Y>348</Y>\\n </FaceRectVertices>\\n <FaceRectVertices>\\n <X>569</X>\\n <Y>348</Y>\\n </FaceRectVertices>\\n <FaceRectangle>\\n <Center>\\n <X>667</X>\\n <Y>225</Y>\\n </Center>\\n <Angle>0</Angle>\\n <Size>\\n <Height>243</Height>\\n <Width>196</Width>\\n </Size>\\n </FaceRectangle>\\n <CardAreas>\\n <X>132</X>\\n <Y>485</Y>\\n </CardAreas>\\n <CardAreas>\\n <X>132</X>\\n <Y>47</Y>\\n </CardAreas>\\n <CardAreas>\\n <X>817</X>\\n <Y>47</Y>\\n </CardAreas>\\n <CardAreas>\\n <X>818</X>\\n <Y>482</Y>\\n </CardAreas>\\n <Gender>男</Gender>\\n <Nationality>汉</Nationality>\\n <BirthDate>19880722</BirthDate>\\n <Name>小明</Name>\\n <IDNumber>320001198807220000</IDNumber>\\n </FrontResult>\\n </Data>\\n</RecognizeIdentityCardResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'RecognizeLicensePlate' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeLicensePlate/cpsb1.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '3F10DAC3-CF4A-487C-BF33-3B8EB9AA12F2', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Plates' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'PlateTypeConfidence' => [ + 'description' => '', + 'example' => '1', + 'format' => 'float', + 'type' => 'number', + ], + 'PlateType' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Confidence' => [ + 'description' => '', + 'example' => '0.99745339155197144', + 'format' => 'float', + 'type' => 'number', + ], + 'PlateNumber' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Roi' => [ + 'description' => '', + 'properties' => [ + 'W' => [ + 'description' => '', + 'example' => '141', + 'format' => 'int32', + 'type' => 'integer', + ], + 'H' => [ + 'description' => '', + 'example' => '53', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '256', + 'format' => 'int32', + 'type' => 'integer', + ], + 'X' => [ + 'description' => '', + 'example' => '294', + 'format' => 'int32', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'Positions' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'X' => [ + 'description' => '', + 'example' => '466', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '293', + 'format' => 'int64', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3F10DAC3-CF4A-487C-BF33-3B8EB9AA12F2\\",\\n \\"Data\\": {\\n \\"Plates\\": [\\n {\\n \\"PlateTypeConfidence\\": 1,\\n \\"PlateType\\": \\"小型汽车\\",\\n \\"Confidence\\": 0.9974533915519714,\\n \\"PlateNumber\\": \\"粤BP57E7\\",\\n \\"Roi\\": {\\n \\"W\\": 141,\\n \\"H\\": 53,\\n \\"Y\\": 256,\\n \\"X\\": 294\\n },\\n \\"Positions\\": [\\n {\\n \\"X\\": 466,\\n \\"Y\\": 293\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeLicensePlateResponse>\\n <RequestId>3F10DAC3-CF4A-487C-BF33-3B8EB9AA12F2</RequestId>\\n <Data>\\n <Plates>\\n <PlateTypeConfidence>1</PlateTypeConfidence>\\n <PlateType>小型汽车</PlateType>\\n <Confidence>0.9974534</Confidence>\\n <PlateNumber>粤BP57E7</PlateNumber>\\n <Roi>\\n <W>141</W>\\n <H>53</H>\\n <Y>256</Y>\\n <X>294</X>\\n </Roi>\\n <Positions>\\n <X>466</X>\\n <Y>293</Y>\\n </Positions>\\n <Positions>\\n <X>667</X>\\n <Y>283</Y>\\n </Positions>\\n <Positions>\\n <X>669</X>\\n <Y>330</Y>\\n </Positions>\\n <Positions>\\n <X>469</X>\\n <Y>341</Y>\\n </Positions>\\n </Plates>\\n </Data>\\n</RecognizeLicensePlateResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'RecognizeQrCode' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Tasks', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '1', + 'items' => [ + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeQrCode/RecognizeQrCode6.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + 'required' => false, + 'type' => 'object', + ], + 'maxItems' => 10, + 'required' => true, + 'type' => 'array', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'A53DC437-F883-4968-86D5-EB21FB044692', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeQrCode/RecognizeQrCode6.jpg', + 'type' => 'string', + ], + 'TaskId' => [ + 'description' => '', + 'example' => 'img5iGtwVIxQzc4Nqy$L84yHd-1v****', + 'type' => 'string', + ], + 'Results' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Suggestion' => [ + 'description' => '', + 'example' => 'review', + 'type' => 'string', + ], + 'QrCodesData' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => 'https://yqh.aliyun.com/live/detail/23798', + 'type' => 'string', + ], + 'type' => 'array', + ], + 'Label' => [ + 'description' => '', + 'example' => 'qrcode', + 'type' => 'string', + ], + 'Rate' => [ + 'description' => '', + 'example' => '99.91', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A53DC437-F883-4968-86D5-EB21FB044692\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"ImageURL\\": \\"http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeQrCode/RecognizeQrCode6.jpg\\",\\n \\"TaskId\\": \\"img5iGtwVIxQzc4Nqy$L84yHd-1v****\\",\\n \\"Results\\": [\\n {\\n \\"Suggestion\\": \\"review\\",\\n \\"QrCodesData\\": [\\n \\"https://yqh.aliyun.com/live/detail/23798\\"\\n ],\\n \\"Label\\": \\"qrcode\\",\\n \\"Rate\\": 99.91\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeQrCodeResponse>\\n <RequestId>A53DC437-F883-4968-86D5-EB21FB044692</RequestId>\\n <Data>\\n <Elements>\\n <ImageURL>http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeQrCode/RecognizeQrCode6.jpg</ImageURL>\\n <TaskId>img5iGtwVIxQzc4Nqy$L84yHd-1v****</TaskId>\\n <Results>\\n <Suggestion>review</Suggestion>\\n <QrCodesData>https://yqh.aliyun.com/live/detail/23798</QrCodesData>\\n <Label>qrcode</Label>\\n <Rate>99.91</Rate>\\n </Results>\\n </Elements>\\n </Data>\\n</RecognizeQrCodeResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + ], + 'RecognizeTable' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeTable/RecognizeTable4.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'OutputFormat', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'json', + 'required' => true, + 'type' => 'string', + 'enum' => [ + 'html', + 'json', + 'xlsx', + ], + ], + ], + [ + 'name' => 'UseFinanceModel', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'true', + 'required' => true, + 'type' => 'boolean', + ], + ], + [ + 'name' => 'AssureDirection', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'false', + 'required' => true, + 'type' => 'boolean', + ], + ], + [ + 'name' => 'HasLine', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'false', + 'required' => true, + 'type' => 'boolean', + ], + ], + [ + 'name' => 'SkipDetection', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'false', + 'required' => true, + 'type' => 'boolean', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'CBC36BE6-2A18-5256-82BD-8B5477E5D058', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'FileContent' => [ + 'description' => '', + 'example' => 'UEsDBBQAAAAIAAAAIQBukMk4WAIAA****', + 'type' => 'string', + ], + 'Tables' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Head' => [ + 'items' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'type' => 'array', + ], + 'Tail' => [ + 'items' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'type' => 'array', + ], + 'TableRows' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'TableColumns' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'EndRow' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'type' => 'integer', + ], + 'EndColumn' => [ + 'description' => '', + 'example' => '4', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Texts' => [ + 'items' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'type' => 'array', + ], + 'StartRow' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'StartColumn' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBC36BE6-2A18-5256-82BD-8B5477E5D058\\",\\n \\"Data\\": {\\n \\"FileContent\\": \\"UEsDBBQAAAAIAAAAIQBukMk4WAIAA****\\",\\n \\"Tables\\": [\\n {\\n \\"Head\\": [\\n \\"存活盘点表\\"\\n ],\\n \\"Tail\\": [\\n \\"职工券\\"\\n ],\\n \\"TableRows\\": [\\n {\\n \\"TableColumns\\": [\\n {\\n \\"EndRow\\": 1,\\n \\"EndColumn\\": 4,\\n \\"Width\\": 0,\\n \\"Height\\": 0,\\n \\"Texts\\": [\\n \\"序号\\"\\n ],\\n \\"StartRow\\": 0,\\n \\"StartColumn\\": 1\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'RecognizeTaxiInvoice' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeTaxiInvoice/RecognizeTaxiInvoice2.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'B2BBBD26-1D3E-4CFA-A80B-6A9266B8D125', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Invoices' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Items' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'ItemRoi' => [ + 'description' => '', + 'properties' => [ + 'Size' => [ + 'description' => '', + 'properties' => [ + 'W' => [ + 'description' => '', + 'example' => '887.9998779296875', + 'format' => 'float', + 'type' => 'number', + ], + 'H' => [ + 'description' => '', + 'example' => '81.999984741210938', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'Angle' => [ + 'description' => '', + 'example' => '-90', + 'format' => 'float', + 'type' => 'number', + ], + 'Center' => [ + 'description' => '', + 'properties' => [ + 'Y' => [ + 'description' => '', + 'example' => '1360', + 'format' => 'float', + 'type' => 'number', + ], + 'X' => [ + 'description' => '', + 'example' => '1593', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + 'Text' => [ + 'description' => '', + 'example' => '86655664', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'RotateType' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'InvoiceRoi' => [ + 'description' => '', + 'properties' => [ + 'W' => [ + 'description' => '', + 'example' => '1773', + 'format' => 'float', + 'type' => 'number', + ], + 'H' => [ + 'description' => '', + 'example' => '3625', + 'format' => 'float', + 'type' => 'number', + ], + 'Y' => [ + 'description' => '', + 'example' => '302', + 'format' => 'float', + 'type' => 'number', + ], + 'X' => [ + 'description' => '', + 'example' => '513', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2BBBD26-1D3E-4CFA-A80B-6A9266B8D125\\",\\n \\"Data\\": {\\n \\"Invoices\\": [\\n {\\n \\"Items\\": [\\n {\\n \\"ItemRoi\\": {\\n \\"Size\\": {\\n \\"W\\": 887.9998779296875,\\n \\"H\\": 81.99998474121094\\n },\\n \\"Angle\\": -90,\\n \\"Center\\": {\\n \\"Y\\": 1360,\\n \\"X\\": 1593\\n }\\n },\\n \\"Text\\": \\"86655664\\"\\n }\\n ],\\n \\"RotateType\\": 0,\\n \\"InvoiceRoi\\": {\\n \\"W\\": 1773,\\n \\"H\\": 3625,\\n \\"Y\\": 302,\\n \\"X\\": 513\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>B2BBBD26-1D3E-4CFA-A80B-6A9266B8D125</RequestId>\\n<Data>\\n <Invoices>\\n <RotateType>0</RotateType>\\n <InvoiceRoi>\\n <W>1773</W>\\n <H>3625</H>\\n <X>513</X>\\n <Y>302</Y>\\n </InvoiceRoi>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1436</X>\\n <Y>968.5</Y>\\n </Center>\\n <Angle>-90</Angle>\\n <Size>\\n <W>89</W>\\n <H>1110</H>\\n </Size>\\n </ItemRoi>\\n <Text>132011781210</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1246.5</X>\\n <Y>1239</Y>\\n </Center>\\n <Angle>-90</Angle>\\n <Size>\\n <W>92</W>\\n <H>743</H>\\n </Size>\\n </ItemRoi>\\n <Text>13742573</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1593</X>\\n <Y>1360</Y>\\n </Center>\\n <Angle>0</Angle>\\n <Size>\\n <W>887.9998779296875</W>\\n <H>81.99998474121094</H>\\n </Size>\\n </ItemRoi>\\n <Text>013560325483</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1744</X>\\n <Y>1507.5</Y>\\n </Center>\\n <Angle>0</Angle>\\n <Size>\\n <W>585.9998779296875</W>\\n <H>80.99998474121094</H>\\n </Size>\\n </ItemRoi>\\n <Text>86655664</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1778</X>\\n <Y>1668</Y>\\n </Center>\\n <Angle>-90</Angle>\\n <Size>\\n <W>80</W>\\n <H>524</H>\\n </Size>\\n </ItemRoi>\\n <Text>A-B6167</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1629.5</X>\\n <Y>1840</Y>\\n </Center>\\n <Angle>-90</Angle>\\n <Size>\\n <W>81.99998474121094</W>\\n <H>828.9998779296875</H>\\n </Size>\\n </ItemRoi>\\n <Text>2018年02月28日</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1864</X>\\n <Y>2009.5</Y>\\n </Center>\\n <Angle>-90</Angle>\\n <Size>\\n <W>91</W>\\n <H>390</H>\\n </Size>\\n </ItemRoi>\\n <Text>22:24</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1862</X>\\n <Y>2180</Y>\\n </Center>\\n <Angle>-90</Angle>\\n <Size>\\n <W>96</W>\\n <H>384</H>\\n </Size>\\n </ItemRoi>\\n <Text>22:57</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1730</X>\\n <Y>2348</Y>\\n </Center>\\n <Angle>-90</Angle>\\n <Size>\\n <W>96</W>\\n <H>608</H>\\n </Size>\\n </ItemRoi>\\n <Text>3.60元/公里</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1813</X>\\n <Y>2530</Y>\\n </Center>\\n <Angle>-90</Angle>\\n <Size>\\n <W>92</W>\\n <H>466</H>\\n </Size>\\n </ItemRoi>\\n <Text>40.9公里</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1741</X>\\n <Y>2697</Y>\\n </Center>\\n <Angle>0</Angle>\\n <Size>\\n <W>613.9998779296875</W>\\n <H>91.99998474121094</H>\\n </Size>\\n </ItemRoi>\\n <Text>00:04.03</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1785.5</X>\\n <Y>2868.5</Y>\\n </Center>\\n <Angle>-90</Angle>\\n <Size>\\n <W>91</W>\\n <H>519</H>\\n </Size>\\n </ItemRoi>\\n <Text>129.00元</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1850.5</X>\\n <Y>3026</Y>\\n </Center>\\n <Angle>0</Angle>\\n <Size>\\n <W>400.99993896484375</W>\\n <H>105.99998474121094</H>\\n </Size>\\n </ItemRoi>\\n <Text>0.00元</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1848.5</X>\\n <Y>3187</Y>\\n </Center>\\n <Angle>0</Angle>\\n <Size>\\n <W>396.99993896484375</W>\\n <H>99.99998474121094</H>\\n </Size>\\n </ItemRoi>\\n <Text>0.00元</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1953</X>\\n <Y>3368</Y>\\n </Center>\\n <Angle>0</Angle>\\n <Size>\\n <W>166</W>\\n <H>78</H>\\n </Size>\\n </ItemRoi>\\n <Text>**</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1954</X>\\n <Y>3539</Y>\\n </Center>\\n <Angle>0</Angle>\\n <Size>\\n <W>160</W>\\n <H>72</H>\\n </Size>\\n </ItemRoi>\\n <Text>**</Text>\\n </Items>\\n <Items>\\n <ItemRoi>\\n <Center>\\n <X>1945</X>\\n <Y>3704.5</Y>\\n </Center>\\n <Angle>0</Angle>\\n <Size>\\n <W>158</W>\\n <H>71</H>\\n </Size>\\n </ItemRoi>\\n <Text>**</Text>\\n </Items>\\n </Invoices>\\n</Data>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'RecognizeTrainTicket' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeTrainTicket/RecognizeTrainTicket3.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'BE4B73EA-30A0-4573-A548-3A101B34641A', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Price' => [ + 'description' => '', + 'example' => '104.5', + 'format' => 'float', + 'type' => 'number', + ], + 'Destination' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'DepartureStation' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Date' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Number' => [ + 'description' => '', + 'example' => 'G7350', + 'type' => 'string', + ], + 'Seat' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Name' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Level' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BE4B73EA-30A0-4573-A548-3A101B34641A\\",\\n \\"Data\\": {\\n \\"Price\\": 104.5,\\n \\"Destination\\": \\"南京南站\\",\\n \\"DepartureStation\\": \\"苏州站\\",\\n \\"Date\\": \\"2017年08月05日22:09开\\",\\n \\"Number\\": \\"G7350\\",\\n \\"Seat\\": \\"04车13A号\\",\\n \\"Name\\": \\"帅帅\\",\\n \\"Level\\": \\"二等座\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeTrainTicketResponse>\\n <RequestId>BE4B73EA-30A0-4573-A548-3A101B34641A</RequestId>\\n <Data>\\n <Price>104.5</Price>\\n <Destination>南京南站</Destination>\\n <DepartureStation>苏州站</DepartureStation>\\n <Date>2017年08月05日22:09开</Date>\\n <Number>G7350</Number>\\n <Seat>04车13A号</Seat>\\n <Name>帅帅</Name>\\n <Level>二等座</Level>\\n </Data>\\n</RecognizeTrainTicketResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + ], + 'RecognizeVATInvoice' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'FileURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeVATInvoice/RecognizeVATInvoice3.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'FileType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'jpg', + 'required' => true, + 'type' => 'string', + 'enum' => [ + 'jpg', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '56A10D65-ECE0-59DE-9775-F6494D2AF13B', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Box' => [ + 'description' => '', + 'properties' => [ + 'PayerRegisterNoes' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '358,262,567,290', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'PayeeAddresses' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '355,909,734,939', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'PayeeBankNames' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '354,947,938,977', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'Checkers' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '589,1003,662,1033', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'TaxAmounts' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '1606,721,1658,748', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'SumAmounts' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '32,774,629,805', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'Clerks' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '986,1003,1060,1033', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'InvoiceNoes' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '1377,78,1478,105', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'InvoiceDates' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '1376,115,1596,145', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'InvoiceCodes' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '1378,41,1520,68', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'InvoiceFakeCodes' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '1376,153,1640,181', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'PayerNames' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '354,222,700,255', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'PayerBankNames' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '0,0,0,0', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'Payees' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '189,1003,264,1033', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'PayeeNames' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '356,833,633,865', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'InvoiceAmounts' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '1364, 776,1438,804', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'WithoutTaxAmounts' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '1265,721,1339,749', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'PayerAddresses' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '0,0,0,0', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'PayeeRegisterNoes' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '356,873,571,902', + 'format' => 'float', + 'type' => 'number', + ], + 'type' => 'array', + ], + 'ItemNames' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '0,0,0,0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'Content' => [ + 'description' => '', + 'properties' => [ + 'PayerAddress' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'PayeeRegisterNo' => [ + 'description' => '', + 'example' => '91420200000123403', + 'type' => 'string', + ], + 'PayeeBankName' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'InvoiceNo' => [ + 'description' => '', + 'example' => '03753869', + 'type' => 'string', + ], + 'PayerRegisterNo' => [ + 'description' => '', + 'example' => '91420200000123403', + 'type' => 'string', + ], + 'Checker' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'TaxAmount' => [ + 'description' => '', + 'example' => '9.52', + 'type' => 'string', + ], + 'InvoiceDate' => [ + 'description' => '', + 'example' => '20190415', + 'type' => 'string', + ], + 'WithoutTaxAmount' => [ + 'description' => '', + 'example' => '190.48', + 'type' => 'string', + ], + 'InvoiceAmount' => [ + 'description' => '', + 'example' => '200.00', + 'type' => 'string', + ], + 'AntiFakeCode' => [ + 'description' => '', + 'example' => '02702870934284730434', + 'type' => 'string', + ], + 'PayerName' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Payee' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'SumAmount' => [ + 'description' => '', + 'example' => '87', + 'type' => 'string', + ], + 'PayerBankName' => [ + 'description' => '', + 'example' => '6221************1234', + 'type' => 'string', + ], + 'Clerk' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'PayeeName' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'PayeeAddress' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'InvoiceCode' => [ + 'description' => '', + 'example' => '031001600311', + 'type' => 'string', + ], + 'ItemName' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"56A10D65-ECE0-59DE-9775-F6494D2AF13B\\",\\n \\"Data\\": {\\n \\"Box\\": {\\n \\"PayerRegisterNoes\\": [\\n 0\\n ],\\n \\"PayeeAddresses\\": [\\n 0\\n ],\\n \\"PayeeBankNames\\": [\\n 0\\n ],\\n \\"Checkers\\": [\\n 0\\n ],\\n \\"TaxAmounts\\": [\\n 0\\n ],\\n \\"SumAmounts\\": [\\n 0\\n ],\\n \\"Clerks\\": [\\n 0\\n ],\\n \\"InvoiceNoes\\": [\\n 0\\n ],\\n \\"InvoiceDates\\": [\\n 0\\n ],\\n \\"InvoiceCodes\\": [\\n 0\\n ],\\n \\"InvoiceFakeCodes\\": [\\n 0\\n ],\\n \\"PayerNames\\": [\\n 0\\n ],\\n \\"PayerBankNames\\": [\\n 0\\n ],\\n \\"Payees\\": [\\n 0\\n ],\\n \\"PayeeNames\\": [\\n 0\\n ],\\n \\"InvoiceAmounts\\": [\\n 0\\n ],\\n \\"WithoutTaxAmounts\\": [\\n 0\\n ],\\n \\"PayerAddresses\\": [\\n 0\\n ],\\n \\"PayeeRegisterNoes\\": [\\n 0\\n ],\\n \\"ItemNames\\": [\\n 0\\n ]\\n },\\n \\"Content\\": {\\n \\"PayerAddress\\": \\"浙江省杭州市西湖区杭大路9号聚龙大厦西区15-18楼0571-87901580\\",\\n \\"PayeeRegisterNo\\": \\"91420200000123403\\",\\n \\"PayeeBankName\\": \\"中国银行浙江省分行35845832****\\",\\n \\"InvoiceNo\\": \\"03753869\\",\\n \\"PayerRegisterNo\\": \\"91420200000123403\\",\\n \\"Checker\\": \\"张三\\",\\n \\"TaxAmount\\": \\"9.52\\",\\n \\"InvoiceDate\\": \\"20190415\\",\\n \\"WithoutTaxAmount\\": \\"190.48\\",\\n \\"InvoiceAmount\\": \\"200.00\\",\\n \\"AntiFakeCode\\": \\"02702870934284730434\\",\\n \\"PayerName\\": \\"三号技术有限责任公司\\",\\n \\"Payee\\": \\"张三\\",\\n \\"SumAmount\\": \\"87\\",\\n \\"PayerBankName\\": \\"6221************1234\\",\\n \\"Clerk\\": \\"张三\\",\\n \\"PayeeName\\": \\"上海机场(集团)有限公司\\",\\n \\"PayeeAddress\\": \\"上海虹桥机场迎宾二路161号22342185\\",\\n \\"InvoiceCode\\": \\"031001600311\\",\\n \\"ItemName\\": [\\n \\"餐饮服务\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeVATInvoiceResponse>\\n <RequestId>56A10D65-ECE0-59DE-9775-F6494D2AF13B</RequestId>\\n <Data>\\n <Content>\\n <Checker/>\\n <PayeeAddress>浙江省杭州市西湖区杭大路9号聚龙大厦西区15-18楼0571-87901580</PayeeAddress>\\n <PayeeName>三号技术有限责任公司</PayeeName>\\n <PayerAddress/>\\n <AntiFakeCode>60966753003521159330</AntiFakeCode>\\n <PayerBankName/>\\n <InvoiceNo>3753869</InvoiceNo>\\n <PayerRegisterNo>91420200000123403</PayerRegisterNo>\\n <WithoutTaxAmount>82.08</WithoutTaxAmount>\\n <InvoiceAmount>87</InvoiceAmount>\\n <PayerName>三号技术有限责任公司</PayerName>\\n <TaxAmount>4.92</TaxAmount>\\n <PayeeBankName>中国银行浙江省分行35845832****</PayeeBankName>\\n <Clerk/>\\n <ItemName>餐饮服务</ItemName>\\n <PayeeRegisterNo>91420200000123403</PayeeRegisterNo>\\n <InvoiceCode>33002000411</InvoiceCode>\\n <InvoiceDate>2020年12月15日</InvoiceDate>\\n <SumAmount>87</SumAmount>\\n <Payee/>\\n </Content>\\n <Box>\\n <PayerRegisterNoes>118</PayerRegisterNoes>\\n <PayerRegisterNoes>128</PayerRegisterNoes>\\n <PayerRegisterNoes>278</PayerRegisterNoes>\\n <PayerRegisterNoes>138</PayerRegisterNoes>\\n <PayerAddresses>0</PayerAddresses>\\n <PayerAddresses>0</PayerAddresses>\\n <PayerAddresses>0</PayerAddresses>\\n <PayerAddresses>0</PayerAddresses>\\n <InvoiceAmounts>207</InvoiceAmounts>\\n <InvoiceAmounts>347</InvoiceAmounts>\\n <InvoiceAmounts>278</InvoiceAmounts>\\n <InvoiceAmounts>355</InvoiceAmounts>\\n <InvoiceDates>585</InvoiceDates>\\n <InvoiceDates>60</InvoiceDates>\\n <InvoiceDates>675</InvoiceDates>\\n <InvoiceDates>69</InvoiceDates>\\n <PayeeAddresses>118</PayeeAddresses>\\n <PayeeAddresses>407</PayeeAddresses>\\n <PayeeAddresses>407</PayeeAddresses>\\n <PayeeAddresses>415</PayeeAddresses>\\n <Clerks>0</Clerks>\\n <Clerks>0</Clerks>\\n <Clerks>0</Clerks>\\n <Clerks>0</Clerks>\\n <WithoutTaxAmounts>546</WithoutTaxAmounts>\\n <WithoutTaxAmounts>327</WithoutTaxAmounts>\\n <WithoutTaxAmounts>584</WithoutTaxAmounts>\\n <WithoutTaxAmounts>337</WithoutTaxAmounts>\\n <Checkers>0</Checkers>\\n <Checkers>0</Checkers>\\n <Checkers>0</Checkers>\\n <Checkers>0</Checkers>\\n <TaxAmounts>696</TaxAmounts>\\n <TaxAmounts>328</TaxAmounts>\\n <TaxAmounts>724</TaxAmounts>\\n <TaxAmounts>335</TaxAmounts>\\n <InvoiceCodes>583</InvoiceCodes>\\n <InvoiceCodes>16</InvoiceCodes>\\n <InvoiceCodes>643</InvoiceCodes>\\n <InvoiceCodes>25</InvoiceCodes>\\n <SumAmounts>207</SumAmounts>\\n <SumAmounts>347</SumAmounts>\\n <SumAmounts>278</SumAmounts>\\n <SumAmounts>355</SumAmounts>\\n <ItemNames>0</ItemNames>\\n <ItemNames>0</ItemNames>\\n <ItemNames>0</ItemNames>\\n <ItemNames>0</ItemNames>\\n <PayerNames>119</PayerNames>\\n <PayerNames>109</PayerNames>\\n <PayerNames>237</PayerNames>\\n <PayerNames>118</PayerNames>\\n <InvoiceFakeCodes>583</InvoiceFakeCodes>\\n <InvoiceFakeCodes>82</InvoiceFakeCodes>\\n <InvoiceFakeCodes>700</InvoiceFakeCodes>\\n <InvoiceFakeCodes>90</InvoiceFakeCodes>\\n <PayeeBankNames>119</PayeeBankNames>\\n <PayeeBankNames>423</PayeeBankNames>\\n <PayeeBankNames>282</PayeeBankNames>\\n <PayeeBankNames>431</PayeeBankNames>\\n <PayeeNames>117</PayeeNames>\\n <PayeeNames>371</PayeeNames>\\n <PayeeNames>226</PayeeNames>\\n <PayeeNames>381</PayeeNames>\\n <Payees>0</Payees>\\n <Payees>0</Payees>\\n <Payees>0</Payees>\\n <Payees>0</Payees>\\n <InvoiceNoes>582</InvoiceNoes>\\n <InvoiceNoes>38</InvoiceNoes>\\n <InvoiceNoes>623</InvoiceNoes>\\n <InvoiceNoes>46</InvoiceNoes>\\n <PayerBankNames>0</PayerBankNames>\\n <PayerBankNames>0</PayerBankNames>\\n <PayerBankNames>0</PayerBankNames>\\n <PayerBankNames>0</PayerBankNames>\\n <PayeeRegisterNoes>119</PayeeRegisterNoes>\\n <PayeeRegisterNoes>389</PayeeRegisterNoes>\\n <PayeeRegisterNoes>247</PayeeRegisterNoes>\\n <PayeeRegisterNoes>400</PayeeRegisterNoes>\\n </Box>\\n </Data>\\n</RecognizeVATInvoiceResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'RecognizeVINCode' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeVINCode/vin1.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '911FC8CF-CC27-477E-BE3B-7ED77DF4DFE0', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'VinCode' => [ + 'description' => '', + 'example' => 'LVBB2FAF777999888', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"911FC8CF-CC27-477E-BE3B-7ED77DF4DFE0\\",\\n \\"Data\\": {\\n \\"VinCode\\": \\"LVBB2FAF777999888\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeVINCodeResponse>\\n <RequestId>911FC8CF-CC27-477E-BE3B-7ED77DF4DFE0</RequestId>\\n <Data>\\n <VinCode>LVBB2FAF777999888</VinCode>\\n </Data>\\n</RecognizeVINCodeResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + ], + 'RecognizePdf' => [ + 'summary' => 'PDF识别', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'FileURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/ocr/xxxx.pdf', + 'isFileTransferUrl' => true, + 'required' => true, + 'title' => 'A short description of struct', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'CD9A9659-ABEE-4A7D-837F-9FDF40879A97', + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Height' => [ + 'description' => '', + 'example' => '788', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '1220', + 'format' => 'int64', + 'type' => 'integer', + ], + 'OrgHeight' => [ + 'description' => '', + 'example' => '610', + 'format' => 'int64', + 'type' => 'integer', + ], + 'OrgWidth' => [ + 'description' => '', + 'example' => '394', + 'format' => 'int64', + 'type' => 'integer', + ], + 'PageIndex' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Angle' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'WordsInfo' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'Angle' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Word' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Height' => [ + 'description' => '', + 'example' => '16', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '205', + 'format' => 'int64', + 'type' => 'integer', + ], + 'X' => [ + 'description' => '', + 'example' => '863', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '46', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Positions' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'X' => [ + 'description' => '', + 'example' => '863', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '43', + 'format' => 'int64', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'title' => 'Schema of Response', + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CD9A9659-ABEE-4A7D-837F-9FDF40879A97\\",\\n \\"Data\\": {\\n \\"Height\\": 788,\\n \\"Width\\": 1220,\\n \\"OrgHeight\\": 610,\\n \\"OrgWidth\\": 394,\\n \\"PageIndex\\": 1,\\n \\"Angle\\": 0,\\n \\"WordsInfo\\": [\\n {\\n \\"Angle\\": 0,\\n \\"Word\\": \\"发票代码:012002000211\\",\\n \\"Height\\": 16,\\n \\"Width\\": 205,\\n \\"X\\": 863,\\n \\"Y\\": 46,\\n \\"Positions\\": [\\n {\\n \\"X\\": 863,\\n \\"Y\\": 43\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizePdfResponse>\\n <RequestId>CD9A9659-ABEE-4A7D-837F-9FDF40879A97</RequestId>\\n <Data>\\n <WordsInfo>\\n <Word>天津增值税</Word>\\n <Angle>-88</Angle>\\n <X>514</X>\\n <Positions>\\n <X>397</X>\\n <Y>45</Y>\\n </Positions>\\n <Positions>\\n <X>662</X>\\n <Y>52</Y>\\n </Positions>\\n <Positions>\\n <X>661</X>\\n <Y>82</Y>\\n </Positions>\\n <Positions>\\n <X>396</X>\\n <Y>75</Y>\\n </Positions>\\n <Y>-69</Y>\\n <Height>265</Height>\\n <Width>29</Width>\\n </WordsInfo>\\n <WordsInfo>\\n <Word>普通发票</Word>\\n <Angle>0</Angle>\\n <X>678</X>\\n <Positions>\\n <X>678</X>\\n <Y>48</Y>\\n </Positions>\\n <Positions>\\n <X>824</X>\\n <Y>47</Y>\\n </Positions>\\n <Positions>\\n <X>824</X>\\n <Y>76</Y>\\n </Positions>\\n <Positions>\\n <X>678</X>\\n <Y>77</Y>\\n </Positions>\\n <Y>48</Y>\\n <Height>29</Height>\\n <Width>146</Width>\\n </WordsInfo>\\n <WordsInfo>\\n <Word>发票代码:012002000211</Word>\\n <Angle>0</Angle>\\n <X>863</X>\\n <Positions>\\n <X>863</X>\\n <Y>46</Y>\\n </Positions>\\n <Positions>\\n <X>1068</X>\\n <Y>46</Y>\\n </Positions>\\n <Positions>\\n <X>1068</X>\\n <Y>62</Y>\\n </Positions>\\n <Positions>\\n <X>863</X>\\n <Y>62</Y>\\n </Positions>\\n <Y>46</Y>\\n <Height>16</Height>\\n <Width>205</Width>\\n </WordsInfo>\\n <OrgWidth>610</OrgWidth>\\n <Angle>0</Angle>\\n <OrgHeight>394</OrgHeight>\\n <Height>788</Height>\\n <PageIndex>1</PageIndex>\\n <Width>1220</Width>\\n </Data>\\n</RecognizePdfResponse>","errorExample":""}]', + ], + 'RecognizeTicketInvoice' => [ + 'summary' => '增值税发票卷票', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeTicketInvoice/RecognizeTicketInvoice1.png', + 'isFileTransferUrl' => true, + 'required' => true, + 'title' => 'A short description of struct', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '063C0178-7EA3-4754-96FB-C0C9AE6B9AAE', + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Count' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '594', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '594', + 'format' => 'int64', + 'type' => 'integer', + ], + 'OrgHeight' => [ + 'description' => '', + 'example' => '1417', + 'format' => 'int64', + 'type' => 'integer', + ], + 'OrgWidth' => [ + 'description' => '', + 'example' => '1417', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Results' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'Index' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Content' => [ + 'description' => '', + 'properties' => [ + 'InvoiceCode' => [ + 'description' => '', + 'example' => '044031860107', + 'type' => 'string', + ], + 'InvoiceNumber' => [ + 'description' => '', + 'example' => '09267581', + 'type' => 'string', + ], + 'InvoiceDate' => [ + 'description' => '', + 'example' => '2018-09-20', + 'type' => 'string', + ], + 'AntiFakeCode' => [ + 'description' => '', + 'example' => '81931914902643039780', + 'type' => 'string', + ], + 'PayeeName' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'PayeeRegisterNo' => [ + 'description' => '', + 'example' => '914403002794492693', + 'type' => 'string', + ], + 'PayerName' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'PayerRegisterNo' => [ + 'description' => '', + 'example' => '91440300MA5EXWHW6F', + 'type' => 'string', + ], + 'SumAmount' => [ + 'description' => '', + 'example' => '¥220.00', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'Type' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'KeyValueInfos' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Value' => [ + 'description' => '', + 'example' => '044031860107', + 'type' => 'string', + ], + 'ValuePositions' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'X' => [ + 'description' => '', + 'example' => '586', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '16', + 'format' => 'int64', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'ValueScore' => [ + 'description' => '', + 'example' => '100', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'SliceRectangle' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'X' => [ + 'description' => '', + 'example' => '586', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '16', + 'format' => 'int64', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'title' => 'Schema of Response', + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"063C0178-7EA3-4754-96FB-C0C9AE6B9AAE\\",\\n \\"Data\\": {\\n \\"Count\\": 1,\\n \\"Height\\": 594,\\n \\"Width\\": 594,\\n \\"OrgHeight\\": 1417,\\n \\"OrgWidth\\": 1417,\\n \\"Results\\": [\\n {\\n \\"Index\\": 1,\\n \\"Content\\": {\\n \\"InvoiceCode\\": \\"044031860107\\",\\n \\"InvoiceNumber\\": \\"09267581\\",\\n \\"InvoiceDate\\": \\"2018-09-20\\",\\n \\"AntiFakeCode\\": \\"81931914902643039780\\",\\n \\"PayeeName\\": \\"深圳市xxxx有限公司\\",\\n \\"PayeeRegisterNo\\": \\"914403002794492693\\",\\n \\"PayerName\\": \\"深圳市xxxx有限公司\\",\\n \\"PayerRegisterNo\\": \\"91440300MA5EXWHW6F\\",\\n \\"SumAmount\\": \\"¥220.00\\"\\n },\\n \\"Type\\": \\"卷票\\",\\n \\"KeyValueInfos\\": [\\n {\\n \\"Key\\": \\"发票代码\\",\\n \\"Value\\": \\"044031860107\\",\\n \\"ValuePositions\\": [\\n {\\n \\"X\\": 586,\\n \\"Y\\": 16\\n }\\n ],\\n \\"ValueScore\\": 100\\n }\\n ],\\n \\"SliceRectangle\\": [\\n {\\n \\"X\\": 586,\\n \\"Y\\": 16\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeTicketInvoiceResponse>\\n <RequestId>063C0178-7EA3-4754-96FB-C0C9AE6B9AAE</RequestId>\\n <Data>\\n <OrgWidth>594</OrgWidth>\\n <Results>\\n <Type>卷票</Type>\\n <SliceRectangle>\\n <X>2</X>\\n <Y>19</Y>\\n </SliceRectangle>\\n <SliceRectangle>\\n <X>586</X>\\n <Y>16</Y>\\n </SliceRectangle>\\n <SliceRectangle>\\n <X>580</X>\\n <Y>1408</Y>\\n </SliceRectangle>\\n <SliceRectangle>\\n <X>0</X>\\n <Y>1410</Y>\\n </SliceRectangle>\\n <KeyValueInfos>\\n <Value>44031860107</Value>\\n <ValueScore>100</ValueScore>\\n <Key>发票代码</Key>\\n </KeyValueInfos>\\n <KeyValueInfos>\\n <Value>9267581</Value>\\n <ValueScore>100</ValueScore>\\n <Key>发票号码</Key>\\n </KeyValueInfos>\\n <KeyValueInfos>\\n <Value>2018-09-20</Value>\\n <ValueScore>100</ValueScore>\\n <Key>开票日期</Key>\\n </KeyValueInfos>\\n <KeyValueInfos>\\n <Value>81931914902643030000</Value>\\n <ValueScore>100</ValueScore>\\n <Key>校验码</Key>\\n </KeyValueInfos>\\n <KeyValueInfos>\\n <Value>深圳市xxxx有限公司</Value>\\n <ValueScore>100</ValueScore>\\n <Key>销售方名称</Key>\\n </KeyValueInfos>\\n <KeyValueInfos>\\n <Value>914403002794492700</Value>\\n <ValueScore>100</ValueScore>\\n <Key>销售方税号</Key>\\n </KeyValueInfos>\\n <KeyValueInfos>\\n <Value>深圳市xxxx有限公司</Value>\\n <ValueScore>100</ValueScore>\\n <Key>购买方名称</Key>\\n </KeyValueInfos>\\n <KeyValueInfos>\\n <Value>91440300MA5EXWHW6F</Value>\\n <ValueScore>99</ValueScore>\\n <Key>购买方税号</Key>\\n </KeyValueInfos>\\n <KeyValueInfos>\\n <Value>¥220.00</Value>\\n <ValueScore>99</ValueScore>\\n <Key>总价</Key>\\n </KeyValueInfos>\\n <Content>\\n <PayeeName>深圳市xxxx有限公司</PayeeName>\\n <AntiFakeCode>81931914902643030000</AntiFakeCode>\\n <InvoiceCode>44031860107</InvoiceCode>\\n <PayeeRegisterNo>914403002794492700</PayeeRegisterNo>\\n <PayerRegisterNo>91440300MA5EXWHW6F</PayerRegisterNo>\\n <InvoiceNumber>9267581</InvoiceNumber>\\n <InvoiceDate>2018-09-20</InvoiceDate>\\n <PayerName>深圳市xxxx有限公司</PayerName>\\n <SumAmount>¥220.00</SumAmount>\\n </Content>\\n <Index>1</Index>\\n </Results>\\n <OrgHeight>1417</OrgHeight>\\n <Height>1417</Height>\\n <Count>1</Count>\\n <Width>594</Width>\\n </Data>\\n</RecognizeTicketInvoiceResponse>","errorExample":""}]', + ], + 'RecognizeQuotaInvoice' => [ + 'summary' => '定额发票识别', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeQuotaInvoice/RecognizeQuotaInvoice1.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'BC4C12D0-7FD3-419A-B997-A91212DF6D82', + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Angle' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '624', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '865', + 'format' => 'int64', + 'type' => 'integer', + ], + 'OrgHeight' => [ + 'description' => '', + 'example' => '610', + 'format' => 'int64', + 'type' => 'integer', + ], + 'OrgWidth' => [ + 'description' => '', + 'example' => '855', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Content' => [ + 'description' => '', + 'properties' => [ + 'SumAmount' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'InvoiceCode' => [ + 'description' => '', + 'example' => '144031800103', + 'type' => 'string', + ], + 'InvoiceNo' => [ + 'description' => '', + 'example' => '40637706', + 'type' => 'string', + ], + 'InvoiceAmount' => [ + 'description' => '', + 'example' => '10', + 'type' => 'string', + ], + 'InvoiceDetails' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'KeyValueInfos' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Value' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'ValuePositions' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'X' => [ + 'description' => '', + 'example' => '544', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '387', + 'format' => 'int64', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'ValueScore' => [ + 'description' => '', + 'example' => '100', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'title' => 'Schema of Response', + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BC4C12D0-7FD3-419A-B997-A91212DF6D82\\",\\n \\"Data\\": {\\n \\"Angle\\": 1,\\n \\"Height\\": 624,\\n \\"Width\\": 865,\\n \\"OrgHeight\\": 610,\\n \\"OrgWidth\\": 855,\\n \\"Content\\": {\\n \\"SumAmount\\": \\"壹拾元整\\",\\n \\"InvoiceCode\\": \\"144031800103\\",\\n \\"InvoiceNo\\": \\"40637706\\",\\n \\"InvoiceAmount\\": \\"10\\",\\n \\"InvoiceDetails\\": \\"税务局代码:国税,行政区划代码:深圳市,年份:2018,发票行业代码:None,发票类别代码:None,金额版:万元版,批次号:03\\"\\n },\\n \\"KeyValueInfos\\": [\\n {\\n \\"Key\\": \\"大写金额\\",\\n \\"Value\\": \\"壹拾元整\\",\\n \\"ValuePositions\\": [\\n {\\n \\"X\\": 544,\\n \\"Y\\": 387\\n }\\n ],\\n \\"ValueScore\\": 100\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeQuotaInvoiceResponse>\\n <RequestId>BC4C12D0-7FD3-419A-B997-A91212DF6D82</RequestId>\\n <Data>\\n <OrgWidth>855</OrgWidth>\\n <Angle>1</Angle>\\n <KeyValueInfos>\\n <ValuePositions>\\n <X>544</X>\\n <Y>387</Y>\\n </ValuePositions>\\n <ValuePositions>\\n <X>544</X>\\n <Y>443</Y>\\n </ValuePositions>\\n <ValuePositions>\\n <X>308</X>\\n <Y>443</Y>\\n </ValuePositions>\\n <ValuePositions>\\n <X>308</X>\\n <Y>387</Y>\\n </ValuePositions>\\n <Value>壹拾元整</Value>\\n <ValueScore>100</ValueScore>\\n <Key>大写金额</Key>\\n </KeyValueInfos>\\n <KeyValueInfos>\\n <ValuePositions>\\n <X>310</X>\\n <Y>237</Y>\\n </ValuePositions>\\n <ValuePositions>\\n <X>575</X>\\n <Y>234</Y>\\n </ValuePositions>\\n <ValuePositions>\\n <X>576</X>\\n <Y>259</Y>\\n </ValuePositions>\\n <ValuePositions>\\n <X>311</X>\\n <Y>262</Y>\\n </ValuePositions>\\n <Value>144031800103</Value>\\n <ValueScore>100</ValueScore>\\n <Key>发票代码</Key>\\n </KeyValueInfos>\\n <KeyValueInfos>\\n <ValuePositions>\\n <X>480</X>\\n <Y>298</Y>\\n </ValuePositions>\\n <ValuePositions>\\n <X>480</X>\\n <Y>321</Y>\\n </ValuePositions>\\n <ValuePositions>\\n <X>309</X>\\n <Y>321</Y>\\n </ValuePositions>\\n <ValuePositions>\\n <X>309</X>\\n <Y>298</Y>\\n </ValuePositions>\\n <Value>40637706</Value>\\n <ValueScore>100</ValueScore>\\n <Key>发票号码</Key>\\n </KeyValueInfos>\\n <KeyValueInfos>\\n <Value/>\\n <ValueScore>100</ValueScore>\\n <Key>小写金额</Key>\\n </KeyValueInfos>\\n <KeyValueInfos>\\n <ValuePositions>\\n <X>310</X>\\n <Y>237</Y>\\n </ValuePositions>\\n <ValuePositions>\\n <X>575</X>\\n <Y>234</Y>\\n </ValuePositions>\\n <ValuePositions>\\n <X>576</X>\\n <Y>259</Y>\\n </ValuePositions>\\n <ValuePositions>\\n <X>311</X>\\n <Y>262</Y>\\n </ValuePositions>\\n <Value>税务局代码:国税,行政区划代码:深圳市,年份:2018,发票行业代码:None,发票类别代码:None,金额版:万元版,批次号:03</Value>\\n <ValueScore>100</ValueScore>\\n <Key>发票代码解析</Key>\\n </KeyValueInfos>\\n <Content>\\n <InvoiceDetails>{\\"批次号\\":\\"03\\",\\"年份\\":\\"2018\\",\\"税务局代码\\":\\"国税\\",\\"发票行业代码\\":\\"None\\",\\"金额版\\":\\"万元版\\",\\"行政区划代码\\":\\"深圳市\\",\\"发票类别代码\\":\\"None\\"}</InvoiceDetails>\\n <InvoiceCode>144031800103</InvoiceCode>\\n <InvoiceNo>40637706</InvoiceNo>\\n <InvoiceAmount/>\\n <SumAmount>壹拾元整</SumAmount>\\n </Content>\\n <OrgHeight>610</OrgHeight>\\n <Height>624</Height>\\n <Width>865</Width>\\n </Data>\\n</RecognizeQuotaInvoiceResponse>","errorExample":""}]', + ], + 'RecognizeVideoCharacter' => [ + 'summary' => '通用视频文字识别', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'VideoURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/videoenhan/RecognizeVideoCharacter/xxxx.mp4', + 'required' => true, + 'title' => '视频文件地址', + 'type' => 'string', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'D3F5BA69-79C4-46A4-B02B-58C4EEBC4C33', + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Width' => [ + 'description' => '', + 'example' => '1920', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '1080', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Frames' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Timestamp' => [ + 'description' => '', + 'example' => '6124533574', + 'format' => 'int64', + 'title' => '帧时间戳时间戳,单位秒。', + 'type' => 'integer', + ], + 'Elements' => [ + 'items' => [ + 'properties' => [ + 'Score' => [ + 'description' => '', + 'example' => '0.99', + 'format' => 'float', + 'title' => '文字区域概率,概率值的范围为[0.0, 1.0]', + 'type' => 'number', + ], + 'Text' => [ + 'description' => '', + 'example' => '', + 'title' => '文字内容', + 'type' => 'string', + ], + 'TextRectangles' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Angle' => [ + 'description' => '', + 'example' => '-90', + 'format' => 'int64', + 'title' => '文字区域角度,角度范围[0, 360]', + 'type' => 'integer', + ], + 'Left' => [ + 'description' => '', + 'example' => '213', + 'format' => 'int64', + 'title' => '文字区域左上角x坐标', + 'type' => 'integer', + ], + 'Top' => [ + 'description' => '', + 'example' => '98', + 'format' => 'int64', + 'title' => '文字区域左上角y坐标', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '46', + 'format' => 'int64', + 'title' => '文字区域宽度', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '213', + 'format' => 'int64', + 'title' => '文字区域高度', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'title' => '视频帧的集合,空信息的帧不列出。', + 'type' => 'array', + ], + 'InputFile' => [ + 'description' => '', + 'example' => 'oss://my-bucket/a/b/c.mp4', + 'title' => '对应的输入OSS文件 (格式oss://{bucketName}/{object})', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'Message' => [ + 'type' => 'string', + ], + ], + 'title' => 'Schema of Response', + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D3F5BA69-79C4-46A4-B02B-58C4EEBC4C33\\",\\n \\"Data\\": {\\n \\"Width\\": 1920,\\n \\"Height\\": 1080,\\n \\"Frames\\": [\\n {\\n \\"Timestamp\\": 6124533574,\\n \\"Elements\\": [\\n {\\n \\"Score\\": 0.99,\\n \\"Text\\": \\"在桃花盛开的地方\\",\\n \\"TextRectangles\\": [\\n {\\n \\"Angle\\": -90,\\n \\"Left\\": 213,\\n \\"Top\\": 98,\\n \\"Width\\": 46,\\n \\"Height\\": 213\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"InputFile\\": \\"oss://my-bucket/a/b/c.mp4\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"<RecognizeVideoCharacterResponse>\\n <RequestId>D3F5BA69-79C4-46A4-B02B-58C4EEBC4C33</RequestId>\\n <Message>该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。</Message>\\n</RecognizeVideoCharacterResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'ocr.cn-shanghai.aliyuncs.com', + ], + ], +]; |
