宅男噜噜噜66在线观看,亚洲精品一区二区三区精品,亚洲一区二区三区乱码在线欧洲,亚洲精品久久麻豆蜜桃,亚洲色无色a片一区二区

您是否正受到短信簽名報(bào)備的困擾?互億無線解決方案讓您最快15分鐘內(nèi)恢復(fù)信息傳遞,馬上 注冊(cè)體驗(yàn)。
所有文檔
銀行信息核驗(yàn)
應(yīng)用開發(fā)
文字識(shí)別
文檔中心 > 文字識(shí)別 > 行駛證OCR識(shí)別V2

行駛證OCR識(shí)別V2


提交查詢

1、接口描述

提交查詢

2、請(qǐng)求地址

https://api.ihuyi.com/ocr/vrcv2/Submit.json

3、請(qǐng)求頭說明

參數(shù)名稱 參數(shù)值描述 示例 類型 必填
Content-Type 內(nèi)容類型,固定值 application/x-www-form-urlencoded string

4、請(qǐng)求參數(shù)說明

參數(shù)名稱 參數(shù)值描述 示例 類型 必填
account APIID(用戶中心【認(rèn)證核驗(yàn)】-【OCR識(shí)別】-【產(chǎn)品總覽】查看) xxxxxxxx string
password 1、APIKEY(用戶中心【認(rèn)證核驗(yàn)】-【OCR識(shí)別】-【產(chǎn)品總覽】查看)
2、動(dòng)態(tài)密碼(生成動(dòng)態(tài)密碼方式請(qǐng)看該文檔末尾的說明)
xxxxxxxxx string
img_file 圖片文件(img_file、img_url二選一傳遞,小于1MB,支持jpg、png、bmp) file
img_url 圖片url(img_file、img_url二選一傳遞,小于1MB,支持jpg、png、bmp) string
cardSide FRONT 為行駛證主頁正面(有紅色印章的一面), BACK 為行駛證副頁正面(有號(hào)碼號(hào)牌的一面),默認(rèn)值為:FRONT FRONT string
time Unix時(shí)間戳(10位整型數(shù)字,當(dāng)使用動(dòng)態(tài)密碼方式時(shí)為必填) 1623643787 string

5、響應(yīng)參數(shù)

參數(shù)名稱 參數(shù)值描述 示例 類型 必返
code 返回值為2時(shí),表示提交成功 2|1 int
msg 提交結(jié)果描述 提交成功|提交失敗 string
idcardid 當(dāng)提交成功后,此字段為流水號(hào),否則為0或空 16236437872836|0 string
result 識(shí)別結(jié)果 object
info 數(shù)據(jù) object
FrontInfo 正頁識(shí)別信息 object
PlateNo 號(hào)牌號(hào)碼 滬GMB9** string
VehicleType 車輛類型 小型轎車 string
Owner 所有人 張三 string
UseCharacter 使用性質(zhì) 非營運(yùn) string
Model 品牌型號(hào) 奧迪牌FV7145HADBG string
Vin 車輛識(shí)別代號(hào) LFV******J3373656 string
EngineNo 發(fā)動(dòng)機(jī)號(hào)碼 -- string
RegisterDate 注冊(cè)日期 2019-01-16 string
IssueDate 發(fā)證日期 2019-01-16 string
Address 住址 江蘇省無錫市濱湖區(qū)****** string
Seal 印章 string
StateElectronic 狀態(tài)(電子行駛證返回) 正常 string
InspectionValidityTimeElectronic 檢驗(yàn)有效期(電子行駛證返回) 2025年01月 string
GenerationTimeElectronic 生成時(shí)間(電子行駛證返回) 2024年06月28日 string
BackInfo 副頁識(shí)別信息 object
FileNo 檔案編號(hào) 5201111**** string
AllowNum 核定人數(shù) string
TotalMass 總質(zhì)量 1675KG string
CurbWeight 整備質(zhì)量 string
LoadQuality 核定載質(zhì)量 string
TotalQuasiMass 準(zhǔn)牽引總質(zhì)量 string
ExternalSize 外廓尺寸 8980X2495X3200MM string
Marks 備注 string
Record 檢驗(yàn)記錄 檢驗(yàn)有效期至2020年03月貴G(02)汽油 string
SubPageCode 副頁編碼 string
FuelType 燃料種類 string
AddressElectronic 住址(電子行駛證返回) string
IssueAuthorityElectronic 發(fā)證機(jī)關(guān)(電子行駛證返回) string

6、響應(yīng)狀態(tài)碼說明

code msg
0 未知錯(cuò)誤
1 提交失敗
2 提交成功
400 非法ip訪問
401 帳號(hào)不能為空
402 密碼不能為空
403 應(yīng)用不存在
405 API ID 或 API KEY 不正確
4050 賬號(hào)被凍結(jié)
40501 動(dòng)態(tài)密碼已過期
40502 動(dòng)態(tài)密碼校驗(yàn)失敗
40505 沒有簽定合同
4051 剩余條數(shù)不足
4052 訪問 ip 與備案 ip 不符
4086 通道無效
4010 通道錯(cuò)誤
4202 參數(shù)錯(cuò)誤
4205 服務(wù)器異常
4208 查詢失敗
4210 圖片識(shí)別失敗
4301 img_file、img_url不能同時(shí)為空
4302 上傳圖片大小必須控制在5KB-1MB之間
4303 上傳圖片格式不正確,只支持bmp,jpg,jpeg,png
4304 上傳圖片失敗

7、GET傳參示例

https://api.ihuyi.com/ocr/vrcv2/Submit.json?account=xxxxxxxx&password=xxxxxxxxx&img_file=&img_url=&cardSide=FRONT&time=1623643787

8、響應(yīng)示例

示例(成功)

<?xml version="1.0" encoding="utf-8"?><SubmitResult><code>2</code><msg>提交成功</msg><idcardid>16236437872836</idcardid><result><info><FrontInfo><PlateNo>滬GMB9**</PlateNo><VehicleType>小型轎車</VehicleType><Owner>張三</Owner><UseCharacter>非營運(yùn)</UseCharacter><Model>奧迪牌FV7145HADBG</Model><Vin>LFV******J3373656</Vin><EngineNo>--</EngineNo><RegisterDate>2019-01-16</RegisterDate><IssueDate>2019-01-16</IssueDate><Address>江蘇省無錫市濱湖區(qū)******</Address><Seal></Seal><StateElectronic>正常</StateElectronic><InspectionValidityTimeElectronic>2025年01月</InspectionValidityTimeElectronic><GenerationTimeElectronic>2024年06月28日</GenerationTimeElectronic></FrontInfo><BackInfo><FileNo>5201111****</FileNo><AllowNum></AllowNum><TotalMass>1675KG</TotalMass><CurbWeight></CurbWeight><LoadQuality></LoadQuality><TotalQuasiMass></TotalQuasiMass><ExternalSize>8980X2495X3200MM</ExternalSize><Marks></Marks><Record>檢驗(yàn)有效期至2020年03月貴G(02)汽油</Record><SubPageCode></SubPageCode><FuelType></FuelType><AddressElectronic></AddressElectronic><IssueAuthorityElectronic></IssueAuthorityElectronic></BackInfo></info></result></SubmitResult>
{"code":2,"msg":"提交成功","idcardid":"16236437872836","result":{"info":{"FrontInfo":{"PlateNo":"滬GMB9**","VehicleType":"小型轎車","Owner":"張三","UseCharacter":"非營運(yùn)","Model":"奧迪牌FV7145HADBG","Vin":"LFV******J3373656","EngineNo":"--","RegisterDate":"2019-01-16","IssueDate":"2019-01-16","Address":"江蘇省無錫市濱湖區(qū)******","Seal":"","StateElectronic":"正常","InspectionValidityTimeElectronic":"2025年01月","GenerationTimeElectronic":"2024年06月28日"},"BackInfo":{"FileNo":"5201111****","AllowNum":"","TotalMass":"1675KG","CurbWeight":"","LoadQuality":"","TotalQuasiMass":"","ExternalSize":"8980X2495X3200MM","Marks":"","Record":"檢驗(yàn)有效期至2020年03月貴G(02)汽油","SubPageCode":"","FuelType":"","AddressElectronic":"","IssueAuthorityElectronic":""}}}}

示例(失?。?/p>

<?xml version="1.0" encoding="utf-8"?><SubmitResult><code>1</code><msg>提交失敗</msg></SubmitResult>
{"code":1,"msg":"提交失敗"}

9、PHP生成動(dòng)態(tài)密碼方式代碼示例

$account = 'xxxxxxxx';
$password = 'xxxxxxxxx';
$app = 'vrcv2'; //固定值
$time = '1623643787';
$password=md5($account.$password.$app.$time);
$password=md5('xxxxxxxxxxxxxxxxxvrcv21623643787');

//注意:所有字符編碼統(tǒng)一為UTF-8

10、代碼示例

5分鐘快速自助開通免費(fèi)體驗(yàn)賬戶

在線咨詢
電話咨詢

服務(wù)熱線:

4008 808 898

服務(wù)熱線(工作時(shí)間):

4008 808 898

業(yè)務(wù)咨詢(非工作時(shí)間):

售后咨詢(非工作時(shí)間):