文档

RecognizeInternationalBusinessLicense - 国际企业执照识别

更新时间:

国际企业执照识别。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
ocr:RecognizeInternationalBusinessLicenseWrite
  • 全部资源
    *

请求参数

名称类型必填描述示例值
Urlstring

图片/PDF 链接(长度不超 2048,不支持 base64)

https://www.example.com
bodybyte

图片/PDF 二进制字节流,最大 10M

图片二进制文件
Countrystring

国家名称

India(India、Korea)

支持的图片格式

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

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

请求唯一 ID

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

返回数据

{"algo_version": "b16f86189b72c2d726865272c98e8e58156a41c7;b16f86189b72c2d726865272c98e8e58156a41c7", "data": {"certificateType": "간이과세자", "issuanceNo": "", "processingTime": "", "companyNameEn": "", "companyName": "", "registrationNo": "135-31-78773", "nameOfRepresentativeEn": "", "nameOfRepresentative": "테라", "residentRegistrationNo": "", "businessAddressEn": "", "businessAddress": "경기도 수원시 영통구 영통로 498, 143동 1806흐(영통동, 황골마을 주공아파트)", "businessCommencementDate": "1972-01-10", "businessRegistrationDate": "", "businessTypeEn": "", "businessType": "", "businessItemEn": "", "businessItem": "스매업 전자상거래업(의류)", "jointCompanyName": "", "jointCompanyRegistrationNo": "", "issueDate": "2015-10-28", "issuer": "동수원세무서장"}, "ftype": 0, "height": 2988, "orgHeight": 2988, "orgWidth": 5312, "prism_keyValueInfo": [{"key": "certificateType", "keyProb": 100, "value": "간이과세자", "valuePos": [{"x": 621, "y": 1768}, {"x": 615, "y": 1221}, {"x": 720, "y": 1220}, {"x": 726, "y": 1767}], "valueProb": 100}, {"key": "issuanceNo", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "processingTime", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "companyNameEn", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "companyName", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "registrationNo", "keyProb": 100, "value": "135-31-78773", "valuePos": [{"x": 773, "y": 1517}, {"x": 763, "y": 881}, {"x": 861, "y": 880}, {"x": 870, "y": 1515}], "valueProb": 100}, {"key": "nameOfRepresentativeEn", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "nameOfRepresentative", "keyProb": 90, "value": "테라", "valuePos": [{"x": 946, "y": 2201}, {"x": 946, "y": 2047}, {"x": 1022, "y": 2047}, {"x": 1022, "y": 2201}], "valueProb": 90}, {"key": "residentRegistrationNo", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "businessAddressEn", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "businessAddress", "keyProb": 96, "value": "경기도 수원시 영통구 영통로 498, 143동 1806흐(영통동, 황골마을 주공아파트)", "valuePos": [{"x": 1346, "y": 2200}, {"x": 1321, "y": 736}, {"x": 1499, "y": 733}, {"x": 1523, "y": 2197}], "valueProb": 96}, {"key": "businessCommencementDate", "keyProb": 100, "value": "1972-01-10", "valuePos": [{"x": 1055, "y": 788}, {"x": 1046, "y": 62}, {"x": 1127, "y": 62}, {"x": 1135, "y": 787}], "valueProb": 100}, {"key": "businessRegistrationDate", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "businessTypeEn", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "businessType", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "businessItemEn", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "businessItem", "keyProb": 100, "value": "스매업 전자상거래업(의류)", "valuePos": [{"x": 1590, "y": 1982}, {"x": 1561, "y": 293}, {"x": 1659, "y": 291}, {"x": 1688, "y": 1980}], "valueProb": 100}, {"key": "jointCompanyName", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "jointCompanyRegistrationNo", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "issueDate", "keyProb": 100, "value": "2015-10-28", "valuePos": [{"x": 3755, "y": 1938}, {"x": 3749, "y": 1057}, {"x": 3842, "y": 1056}, {"x": 3848, "y": 1937}], "valueProb": 100}, {"key": "issuer", "keyProb": 100, "value": "동수원세무서장", "valuePos": [{"x": 3978, "y": 1997}, {"x": 3970, "y": 982}, {"x": 4099, "y": 980}, {"x": 4107, "y": 1996}], "valueProb": 100}], "sliceRect": {"x0": 8, "y0": 0, "x1": 4695, "y1": 0, "x2": 4737, "y2": 2976, "x3": 12, "y3": 2988}, "width": 5312}
Codestring

错误码。说明:仅当接口调用出错时会出现该参数。

unmatchedImageType
Messagestring

调用成功时为 null,调用失败时返回错误信息。

The type of image didn't match the api.

中英文字段映射

data  结构化信息,face(身份证正面)和 back(身份证反面)
prism_keyValueInfo  结构化信息的坐标信息
sliceRect 检测出的子图坐标信息
ftype    是否是复印件(1:是,0:否)
  • 韩国商业登记证字段说明
certificateType    证件类型
issuanceNo    发行号
processingTime    处理时间
companyNameEn    英文公司名称
companyName    非英文公司名称
registrationNo    商业注册号
nameOfRepresentativeEn    英文法人姓名
nameOfRepresentative    非英文法人姓名
residentRegistrationNo    法人证件号
businessAddressEn    英文商业地址
businessAddress    非英文商业地址
businessCommencementDate    商业起始时间
businessRegistrationDate    商业注册时间
businessTypeEn    英文商业类型
businessType    非英文商业类型
businessItemEn    英文经营范围
businessItem    非英文经营范围
jointCompanyName    联合企业名称
jointCompanyRegistrationNo    联合企业注册号
issueDate    签发日期
issuer    签发人
  • 印度公司注册证字段说明
certificateType    证件类型
registrationNo    注册号
legalName    法定名称
tradeName    商号
businessConstitution    商业类型
businessAddress    地址
liabilityDate    责任日期
validFromDate    有效起始日期
validToDate    有效终止日期
registrationType    注册类型
particularsOfApprovingAuthority    审批机关详情
name    姓名
designation    委任
jurisdictionalOffice    管辖办事处
issueDate    签发日期
  • prism_keyValueInfo 数组字段说明
key    识别出的字段名称
keyProb    字段名称置信度
value    识别出的字段名称对应的值
valueProb    字段名称对应值的置信度
valuePos    字段在原图中的四个点坐标(左上、右上、右下、左下)

示例

正常返回示例

JSON格式

{
  "RequestId": "43A29C77-405E-4CC0-BC55-EE694AD00655",
  "Data": "{\"algo_version\": \"b16f86189b72c2d726865272c98e8e58156a41c7;b16f86189b72c2d726865272c98e8e58156a41c7\", \"data\": {\"certificateType\": \"간이과세자\", \"issuanceNo\": \"\", \"processingTime\": \"\", \"companyNameEn\": \"\", \"companyName\": \"\", \"registrationNo\": \"135-31-78773\", \"nameOfRepresentativeEn\": \"\", \"nameOfRepresentative\": \"테라\", \"residentRegistrationNo\": \"\", \"businessAddressEn\": \"\", \"businessAddress\": \"경기도 수원시 영통구 영통로 498, 143동 1806흐(영통동, 황골마을 주공아파트)\", \"businessCommencementDate\": \"1972-01-10\", \"businessRegistrationDate\": \"\", \"businessTypeEn\": \"\", \"businessType\": \"\", \"businessItemEn\": \"\", \"businessItem\": \"스매업 전자상거래업(의류)\", \"jointCompanyName\": \"\", \"jointCompanyRegistrationNo\": \"\", \"issueDate\": \"2015-10-28\", \"issuer\": \"동수원세무서장\"}, \"ftype\": 0, \"height\": 2988, \"orgHeight\": 2988, \"orgWidth\": 5312, \"prism_keyValueInfo\": [{\"key\": \"certificateType\", \"keyProb\": 100, \"value\": \"간이과세자\", \"valuePos\": [{\"x\": 621, \"y\": 1768}, {\"x\": 615, \"y\": 1221}, {\"x\": 720, \"y\": 1220}, {\"x\": 726, \"y\": 1767}], \"valueProb\": 100}, {\"key\": \"issuanceNo\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"processingTime\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"companyNameEn\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"companyName\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"registrationNo\", \"keyProb\": 100, \"value\": \"135-31-78773\", \"valuePos\": [{\"x\": 773, \"y\": 1517}, {\"x\": 763, \"y\": 881}, {\"x\": 861, \"y\": 880}, {\"x\": 870, \"y\": 1515}], \"valueProb\": 100}, {\"key\": \"nameOfRepresentativeEn\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"nameOfRepresentative\", \"keyProb\": 90, \"value\": \"테라\", \"valuePos\": [{\"x\": 946, \"y\": 2201}, {\"x\": 946, \"y\": 2047}, {\"x\": 1022, \"y\": 2047}, {\"x\": 1022, \"y\": 2201}], \"valueProb\": 90}, {\"key\": \"residentRegistrationNo\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"businessAddressEn\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"businessAddress\", \"keyProb\": 96, \"value\": \"경기도 수원시 영통구 영통로 498, 143동 1806흐(영통동, 황골마을 주공아파트)\", \"valuePos\": [{\"x\": 1346, \"y\": 2200}, {\"x\": 1321, \"y\": 736}, {\"x\": 1499, \"y\": 733}, {\"x\": 1523, \"y\": 2197}], \"valueProb\": 96}, {\"key\": \"businessCommencementDate\", \"keyProb\": 100, \"value\": \"1972-01-10\", \"valuePos\": [{\"x\": 1055, \"y\": 788}, {\"x\": 1046, \"y\": 62}, {\"x\": 1127, \"y\": 62}, {\"x\": 1135, \"y\": 787}], \"valueProb\": 100}, {\"key\": \"businessRegistrationDate\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"businessTypeEn\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"businessType\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"businessItemEn\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"businessItem\", \"keyProb\": 100, \"value\": \"스매업 전자상거래업(의류)\", \"valuePos\": [{\"x\": 1590, \"y\": 1982}, {\"x\": 1561, \"y\": 293}, {\"x\": 1659, \"y\": 291}, {\"x\": 1688, \"y\": 1980}], \"valueProb\": 100}, {\"key\": \"jointCompanyName\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"jointCompanyRegistrationNo\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"issueDate\", \"keyProb\": 100, \"value\": \"2015-10-28\", \"valuePos\": [{\"x\": 3755, \"y\": 1938}, {\"x\": 3749, \"y\": 1057}, {\"x\": 3842, \"y\": 1056}, {\"x\": 3848, \"y\": 1937}], \"valueProb\": 100}, {\"key\": \"issuer\", \"keyProb\": 100, \"value\": \"동수원세무서장\", \"valuePos\": [{\"x\": 3978, \"y\": 1997}, {\"x\": 3970, \"y\": 982}, {\"x\": 4099, \"y\": 980}, {\"x\": 4107, \"y\": 1996}], \"valueProb\": 100}], \"sliceRect\": {\"x0\": 8, \"y0\": 0, \"x1\": 4695, \"y1\": 0, \"x2\": 4737, \"y2\": 2976, \"x3\": 12, \"y3\": 2988}, \"width\": 5312}",
  "Code": "unmatchedImageType",
  "Message": "The type of image didn't match the api."
}

错误码

HTTP status code错误码错误信息
400illegalCountryNamethe country name is not supported.

访问错误中心查看更多错误码。

  • 本页导读 (0)
文档反馈