tencentcloud-sdk-nodejs-ocr 4.1.287 → 4.1.291
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3289,7 +3289,7 @@ export interface MixedInvoiceOCRResponse {
|
|
|
3289
3289
|
*/
|
|
3290
3290
|
export interface ClassifyDetectOCRResponse {
|
|
3291
3291
|
/**
|
|
3292
|
-
*
|
|
3292
|
+
* <p>智能卡证分类结果。当图片类型不支持分类识别或者识别出的类型不在请求参数DiscernType指定的范围内时,返回结果中的Type字段将为空字符串,Name字段将返回"其它"</p>
|
|
3293
3293
|
*/
|
|
3294
3294
|
ClassifyDetectInfos?: Array<ClassifyDetectInfo>;
|
|
3295
3295
|
/**
|
|
@@ -3552,35 +3552,15 @@ export interface ElectronicAirTransport {
|
|
|
3552
3552
|
*/
|
|
3553
3553
|
export interface ClassifyDetectOCRRequest {
|
|
3554
3554
|
/**
|
|
3555
|
-
*
|
|
3555
|
+
* <p>图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
3556
3556
|
*/
|
|
3557
3557
|
ImageBase64?: string;
|
|
3558
3558
|
/**
|
|
3559
|
-
*
|
|
3559
|
+
* <p>图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
3560
3560
|
*/
|
|
3561
3561
|
ImageUrl?: string;
|
|
3562
3562
|
/**
|
|
3563
|
-
*
|
|
3564
|
-
|
|
3565
|
-
以下是当前支持的类型:
|
|
3566
|
-
IDCardFront: 身份证正面识别
|
|
3567
|
-
IDCardBack: 身份证背面识别
|
|
3568
|
-
Passport: 护照
|
|
3569
|
-
BusinessCard: 名片识别
|
|
3570
|
-
BankCard: 银行卡识别
|
|
3571
|
-
VehicleLicenseFront: 行驶证主页识别
|
|
3572
|
-
VehicleLicenseBack: 行驶证副页识别
|
|
3573
|
-
DriverLicenseFront: 驾驶证主页识别
|
|
3574
|
-
DriverLicenseBack: 驾驶证副页识别
|
|
3575
|
-
PermitFront: 港澳台通行证正面
|
|
3576
|
-
ResidenceBooklet: 户口本资料页
|
|
3577
|
-
MainlandPermitFront: 港澳台来往内地通行证正面
|
|
3578
|
-
HmtResidentPermitFront: 港澳台居住证正面
|
|
3579
|
-
HmtResidentPermitBack: 港澳台居住证背面
|
|
3580
|
-
EstateCert: 不动产证
|
|
3581
|
-
BizLicense: 营业执照
|
|
3582
|
-
ForeignPermanentResidentFront: 外国人永居证正面识别
|
|
3583
|
-
ForeignPermanentResidentBack: 外国人永居证背面识别
|
|
3563
|
+
* <p>可以指定要识别的票证类型,指定后不出现在此列表的票证将不返回类型。不指定时默认返回所有支持类别票证的识别信息。</p><p>以下是当前支持的类型:<br>IDCardFront: 身份证正面识别<br>IDCardBack: 身份证背面识别<br>Passport: 护照<br>BusinessCard: 名片识别<br>BankCard: 银行卡识别<br>VehicleLicenseFront: 行驶证主页识别<br>VehicleLicenseBack: 行驶证副页识别<br>DriverLicenseFront: 驾驶证主页识别<br>DriverLicenseBack: 驾驶证副页识别<br>PermitFront: 港澳台通行证正面<br>ResidenceBooklet: 户口本资料页<br>MainlandPermitFront: 港澳台来往内地通行证正面<br>HmtResidentPermitFront: 港澳台居住证正面<br>HmtResidentPermitBack: 港澳台居住证背面<br>EstateCert: 不动产证<br>BizLicense: 营业执照<br>ForeignPermanentResidentFront: 外国人永居证正面识别<br>ForeignPermanentResidentBack: 外国人永居证背面识别<br>RoadTransportQualificationCert: 道路运输从业资格证识别<br>RoadTransportPermit: 道路运输证识别</p>
|
|
3584
3564
|
*/
|
|
3585
3565
|
DiscernType?: Array<string>;
|
|
3586
3566
|
}
|