日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

首頁 文字識(shí)別 開發(fā)參考 API參考 API目錄 票據(jù)憑證識(shí)別 RecognizeBusShipTicket - 客運(yùn)車船票識(shí)別

RecognizeBusShipTicket - 客運(yùn)車船票識(shí)別

更新時(shí)間: 2024-12-23 15:16:42

支持包括標(biāo)題、發(fā)票號(hào)碼、出發(fā)車站、到達(dá)車站、日期、金額等關(guān)鍵字段結(jié)構(gòu)化識(shí)別輸出。

調(diào)試

您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。

授權(quán)信息

下表是API對(duì)應(yīng)的授權(quán)信息,可以在RAM權(quán)限策略語句的Action元素中使用,用來給RAM用戶或RAM角色授予調(diào)用此API的權(quán)限。具體說明如下:

  • 操作:是指具體的權(quán)限點(diǎn)。
  • 訪問級(jí)別:是指每個(gè)操作的訪問級(jí)別,取值為寫入(Write)、讀取(Read)或列出(List)。
  • 資源類型:是指操作中支持授權(quán)的資源類型。具體說明如下:
    • 對(duì)于必選的資源類型,用背景高亮的方式表示。
    • 對(duì)于不支持資源級(jí)授權(quán)的操作,用全部資源表示。
  • 條件關(guān)鍵字:是指云產(chǎn)品自身定義的條件關(guān)鍵字。
  • 關(guān)聯(lián)操作:是指成功執(zhí)行操作所需要的其他權(quán)限。操作者必須同時(shí)具備關(guān)聯(lián)操作的權(quán)限,操作才能成功。
操作訪問級(jí)別資源類型條件關(guān)鍵字關(guān)聯(lián)操作
ocr:RecognizeBusShipTicketget
*全部資源
*

請(qǐng)求參數(shù)

名稱類型必填描述示例值
Urlstring

圖片鏈接(長(zhǎng)度不超 2048 字節(jié),不支持 base64)

https://img.alicdn.com/imgextra/i2/O1CN010iDcM7218ZQJtJyGX_!!6000000006940-0-tps-936-541.jpg
bodybyte

圖片二進(jìn)制字節(jié)流,最大 10MB

圖片二進(jìn)制

支持的圖片格式

  • PNG、JPG、JPEG、BMP、GIF、TIFF、WebP

返回參數(shù)

名稱類型描述示例值
object

Schema of Response

RequestIdstring

請(qǐng)求唯一 ID

43A29C77-405E-4CC0-BC55-EE694AD00655
Datastring

返回?cái)?shù)據(jù)

{"angle":0,"data":{"title":"南通汽運(yùn)實(shí)業(yè)集團(tuán)有限公司旅客運(yùn)輸專用發(fā)票","formType":"發(fā)票聯(lián)","invoiceCode":"132061981313","invoiceNumber":"05591493","date":"2020-01-20","time":"12:30","departureStation":"南通東站","arrivalStation":"上??傉?,"totalAmount":"56.00","passengerName":"顏躍第","idcardNo":"3210****2218"},"ftype":0,"height":541,"orgHeight":541,"orgWidth":936,"prism_keyValueInfo":[{"key":"title","keyProb":97,"value":"南通汽運(yùn)實(shí)業(yè)集團(tuán)有限公司旅客運(yùn)輸專用發(fā)票","valuePos":[{"x":508,"y":16},{"x":509,"y":94},{"x":91,"y":95},{"x":90,"y":18}],"valueProb":98},{"key":"formType","keyProb":100,"value":"發(fā)票聯(lián)","valuePos":[{"x":388,"y":119},{"x":388,"y":157},{"x":209,"y":157},{"x":209,"y":118}],"valueProb":100},{"key":"invoiceCode","keyProb":100,"value":"132061981313","valuePos":[{"x":929,"y":127},{"x":929,"y":161},{"x":699,"y":162},{"x":698,"y":128}],"valueProb":100},{"key":"invoiceNumber","keyProb":100,"value":"05591493","valuePos":[{"x":851,"y":167},{"x":851,"y":199},{"x":696,"y":201},{"x":695,"y":168}],"valueProb":100},{"key":"date","keyProb":100,"value":"2020-01-20","valuePos":[{"x":185,"y":356},{"x":186,"y":384},{"x":62,"y":385},{"x":62,"y":358}],"valueProb":100},{"key":"time","keyProb":100,"value":"12:30","valuePos":[{"x":186,"y":385},{"x":186,"y":358},{"x":264,"y":359},{"x":264,"y":386}],"valueProb":100},{"key":"departureStation","keyProb":100,"value":"南通東站","valuePos":[{"x":66,"y":304},{"x":66,"y":271},{"x":187,"y":274},{"x":186,"y":308}],"valueProb":100},{"key":"arrivalStation","keyProb":100,"value":"上海總站","valuePos":[{"x":205,"y":306},{"x":205,"y":273},{"x":326,"y":276},{"x":325,"y":308}],"valueProb":100},{"key":"totalAmount","keyProb":100,"value":"56.00","valuePos":[{"x":402,"y":278},{"x":402,"y":306},{"x":366,"y":306},{"x":366,"y":278}],"valueProb":100},{"key":"passengerName","keyProb":97,"value":"顏躍第","valuePos":[{"x":426,"y":466},{"x":427,"y":434},{"x":516,"y":435},{"x":516,"y":468}],"valueProb":97},{"key":"idcardNo","keyProb":100,"value":"3210****2218","valuePos":[{"x":729,"y":441},{"x":729,"y":468},{"x":548,"y":468},{"x":548,"y":441}],"valueProb":100}],"sliceRect":{"x0":0,"y0":14,"x1":934,"y1":18,"x2":936,"y2":541,"x3":0,"y3":541},"width":936}
Codestring

錯(cuò)誤碼

noPermission
Messagestring

錯(cuò)誤提示

You are not authorized to perform this operation.

中英文字段映射

data    結(jié)構(gòu)化信息
prism_keyValueInfo    結(jié)構(gòu)化信息的坐標(biāo)信息
sliceRect    圖片中身份證子圖區(qū)域的任意四邊形表示,起始點(diǎn)為左上角,順序?yàn)轫槙r(shí)針
ftype    是否是復(fù)印件(1:是,0:否)
  • data 內(nèi)字段說明
title    標(biāo)題
formType    發(fā)票聯(lián)次
invoiceCode    發(fā)票代碼
invoiceNumber    發(fā)票號(hào)碼
date    日期
time    時(shí)間
departureStation    出發(fā)車站
arrivalStation    到達(dá)車站
totalAmount    總金額
passengerName    姓名
idcardNo    身份證號(hào)
  • prism_keyValueInfo 數(shù)組字段說明
key    識(shí)別出的字段名稱
keyProb    字段名稱置信度
value    識(shí)別出的字段名稱對(duì)應(yīng)的值
valueProb    字段名稱對(duì)應(yīng)值的置信度
valuePos    字段在原圖中的四個(gè)點(diǎn)坐標(biāo)(左上、右上、右下、左下)

示例

正常返回示例

JSON格式

{
  "RequestId": "43A29C77-405E-4CC0-BC55-EE694AD00655",
  "Data": "{\"angle\":0,\"data\":{\"title\":\"南通汽運(yùn)實(shí)業(yè)集團(tuán)有限公司旅客運(yùn)輸專用發(fā)票\",\"formType\":\"發(fā)票聯(lián)\",\"invoiceCode\":\"132061981313\",\"invoiceNumber\":\"05591493\",\"date\":\"2020-01-20\",\"time\":\"12:30\",\"departureStation\":\"南通東站\",\"arrivalStation\":\"上??傉綷",\"totalAmount\":\"56.00\",\"passengerName\":\"顏躍第\",\"idcardNo\":\"3210****2218\"},\"ftype\":0,\"height\":541,\"orgHeight\":541,\"orgWidth\":936,\"prism_keyValueInfo\":[{\"key\":\"title\",\"keyProb\":97,\"value\":\"南通汽運(yùn)實(shí)業(yè)集團(tuán)有限公司旅客運(yùn)輸專用發(fā)票\",\"valuePos\":[{\"x\":508,\"y\":16},{\"x\":509,\"y\":94},{\"x\":91,\"y\":95},{\"x\":90,\"y\":18}],\"valueProb\":98},{\"key\":\"formType\",\"keyProb\":100,\"value\":\"發(fā)票聯(lián)\",\"valuePos\":[{\"x\":388,\"y\":119},{\"x\":388,\"y\":157},{\"x\":209,\"y\":157},{\"x\":209,\"y\":118}],\"valueProb\":100},{\"key\":\"invoiceCode\",\"keyProb\":100,\"value\":\"132061981313\",\"valuePos\":[{\"x\":929,\"y\":127},{\"x\":929,\"y\":161},{\"x\":699,\"y\":162},{\"x\":698,\"y\":128}],\"valueProb\":100},{\"key\":\"invoiceNumber\",\"keyProb\":100,\"value\":\"05591493\",\"valuePos\":[{\"x\":851,\"y\":167},{\"x\":851,\"y\":199},{\"x\":696,\"y\":201},{\"x\":695,\"y\":168}],\"valueProb\":100},{\"key\":\"date\",\"keyProb\":100,\"value\":\"2020-01-20\",\"valuePos\":[{\"x\":185,\"y\":356},{\"x\":186,\"y\":384},{\"x\":62,\"y\":385},{\"x\":62,\"y\":358}],\"valueProb\":100},{\"key\":\"time\",\"keyProb\":100,\"value\":\"12:30\",\"valuePos\":[{\"x\":186,\"y\":385},{\"x\":186,\"y\":358},{\"x\":264,\"y\":359},{\"x\":264,\"y\":386}],\"valueProb\":100},{\"key\":\"departureStation\",\"keyProb\":100,\"value\":\"南通東站\",\"valuePos\":[{\"x\":66,\"y\":304},{\"x\":66,\"y\":271},{\"x\":187,\"y\":274},{\"x\":186,\"y\":308}],\"valueProb\":100},{\"key\":\"arrivalStation\",\"keyProb\":100,\"value\":\"上海總站\",\"valuePos\":[{\"x\":205,\"y\":306},{\"x\":205,\"y\":273},{\"x\":326,\"y\":276},{\"x\":325,\"y\":308}],\"valueProb\":100},{\"key\":\"totalAmount\",\"keyProb\":100,\"value\":\"56.00\",\"valuePos\":[{\"x\":402,\"y\":278},{\"x\":402,\"y\":306},{\"x\":366,\"y\":306},{\"x\":366,\"y\":278}],\"valueProb\":100},{\"key\":\"passengerName\",\"keyProb\":97,\"value\":\"顏躍第\",\"valuePos\":[{\"x\":426,\"y\":466},{\"x\":427,\"y\":434},{\"x\":516,\"y\":435},{\"x\":516,\"y\":468}],\"valueProb\":97},{\"key\":\"idcardNo\",\"keyProb\":100,\"value\":\"3210****2218\",\"valuePos\":[{\"x\":729,\"y\":441},{\"x\":729,\"y\":468},{\"x\":548,\"y\":468},{\"x\":548,\"y\":441}],\"valueProb\":100}],\"sliceRect\":{\"x0\":0,\"y0\":14,\"x1\":934,\"y1\":18,\"x2\":936,\"y2\":541,\"x3\":0,\"y3\":541},\"width\":936}",
  "Code": "noPermission",
  "Message": "You are not authorized to perform this operation."
}

錯(cuò)誤碼

訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。

上一篇: RecognizeBankAcceptance - 銀行承兌匯票識(shí)別 下一篇: RecognizeNonTaxInvoice - 非稅收入發(fā)票識(shí)別