tencentcloud-sdk-nodejs-ocr 4.1.213 → 4.1.218
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
|
@@ -1415,48 +1415,47 @@ export interface TextFormula {
|
|
|
1415
1415
|
*/
|
|
1416
1416
|
export interface HmtResidentPermitOCRResponse {
|
|
1417
1417
|
/**
|
|
1418
|
-
*
|
|
1418
|
+
* <p>证件姓名</p>
|
|
1419
1419
|
*/
|
|
1420
1420
|
Name?: string;
|
|
1421
1421
|
/**
|
|
1422
|
-
*
|
|
1422
|
+
* <p>性别</p>
|
|
1423
1423
|
*/
|
|
1424
1424
|
Sex?: string;
|
|
1425
1425
|
/**
|
|
1426
|
-
*
|
|
1426
|
+
* <p>出生日期</p>
|
|
1427
1427
|
*/
|
|
1428
1428
|
Birth?: string;
|
|
1429
1429
|
/**
|
|
1430
|
-
*
|
|
1430
|
+
* <p>地址</p>
|
|
1431
1431
|
*/
|
|
1432
1432
|
Address?: string;
|
|
1433
1433
|
/**
|
|
1434
|
-
*
|
|
1434
|
+
* <p>身份证号</p>
|
|
1435
1435
|
*/
|
|
1436
1436
|
IdCardNo?: string;
|
|
1437
1437
|
/**
|
|
1438
|
-
* 0
|
|
1439
|
-
1-反面
|
|
1438
|
+
* <p>0-正面<br>1-反面</p>
|
|
1440
1439
|
*/
|
|
1441
1440
|
CardType?: number;
|
|
1442
1441
|
/**
|
|
1443
|
-
*
|
|
1442
|
+
* <p>证件有效期限</p>
|
|
1444
1443
|
*/
|
|
1445
1444
|
ValidDate?: string;
|
|
1446
1445
|
/**
|
|
1447
|
-
*
|
|
1446
|
+
* <p>签发机关</p>
|
|
1448
1447
|
*/
|
|
1449
1448
|
Authority?: string;
|
|
1450
1449
|
/**
|
|
1451
|
-
*
|
|
1450
|
+
* <p>签发次数</p>
|
|
1452
1451
|
*/
|
|
1453
1452
|
VisaNum?: string;
|
|
1454
1453
|
/**
|
|
1455
|
-
*
|
|
1454
|
+
* <p>通行证号码</p>
|
|
1456
1455
|
*/
|
|
1457
1456
|
PassNo?: string;
|
|
1458
1457
|
/**
|
|
1459
|
-
*
|
|
1458
|
+
* <p>头像和坐标信息</p>
|
|
1460
1459
|
*/
|
|
1461
1460
|
PortraitImageInfo?: PortraitImageInfo;
|
|
1462
1461
|
/**
|
|
@@ -2166,22 +2165,19 @@ export interface HKIDCardOCRResponse {
|
|
|
2166
2165
|
*/
|
|
2167
2166
|
export interface MainlandPermitOCRRequest {
|
|
2168
2167
|
/**
|
|
2169
|
-
*
|
|
2168
|
+
* <p>图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
2170
2169
|
*/
|
|
2171
2170
|
ImageBase64?: string;
|
|
2172
2171
|
/**
|
|
2173
|
-
*
|
|
2172
|
+
* <p>图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
2174
2173
|
*/
|
|
2175
2174
|
ImageUrl?: string;
|
|
2176
2175
|
/**
|
|
2177
|
-
*
|
|
2176
|
+
* <p>是否返回头像。默认不返回。</p>
|
|
2178
2177
|
*/
|
|
2179
2178
|
RetProfile?: boolean;
|
|
2180
2179
|
/**
|
|
2181
|
-
*
|
|
2182
|
-
FRONT:正面
|
|
2183
|
-
BACK:反面 (仅支持来往内地通行证反面识别,不支持港澳台通行证反面识别)
|
|
2184
|
-
默认为FRONT
|
|
2180
|
+
* <p>图片正反面<br>FRONT:正面<br>BACK:反面 (仅支持来往内地通行证反面识别,不支持港澳台通行证反面识别)<br>默认为FRONT</p>
|
|
2185
2181
|
*/
|
|
2186
2182
|
CardSide?: string;
|
|
2187
2183
|
}
|
|
@@ -9347,21 +9343,19 @@ export interface MedicalInvoice {
|
|
|
9347
9343
|
*/
|
|
9348
9344
|
export interface HmtResidentPermitOCRRequest {
|
|
9349
9345
|
/**
|
|
9350
|
-
*
|
|
9346
|
+
* <p>图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
9351
9347
|
*/
|
|
9352
9348
|
ImageBase64?: string;
|
|
9353
9349
|
/**
|
|
9354
|
-
*
|
|
9350
|
+
* <p>图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
9355
9351
|
*/
|
|
9356
9352
|
ImageUrl?: string;
|
|
9357
9353
|
/**
|
|
9358
|
-
* FRONT
|
|
9359
|
-
BACK:无照片的一面(国徽面),
|
|
9360
|
-
该参数如果不填或填错,将为您自动判断正反面。
|
|
9354
|
+
* <p>FRONT:有照片的一面(人像面),<br>BACK:无照片的一面(国徽面),<br>该参数如果不填或填错,将为您自动判断正反面。</p>
|
|
9361
9355
|
*/
|
|
9362
9356
|
CardSide?: string;
|
|
9363
9357
|
/**
|
|
9364
|
-
*
|
|
9358
|
+
* <p>是否返回头像和位置坐标</p>
|
|
9365
9359
|
*/
|
|
9366
9360
|
CropPortrait?: boolean;
|
|
9367
9361
|
}
|
|
@@ -9684,55 +9678,55 @@ export interface GetOCRResultResponse {
|
|
|
9684
9678
|
*/
|
|
9685
9679
|
export interface MainlandPermitOCRResponse {
|
|
9686
9680
|
/**
|
|
9687
|
-
*
|
|
9681
|
+
* <p>中文姓名</p>
|
|
9688
9682
|
*/
|
|
9689
9683
|
Name?: string;
|
|
9690
9684
|
/**
|
|
9691
|
-
*
|
|
9685
|
+
* <p>英文姓名</p>
|
|
9692
9686
|
*/
|
|
9693
9687
|
EnglishName?: string;
|
|
9694
9688
|
/**
|
|
9695
|
-
*
|
|
9689
|
+
* <p>性别</p>
|
|
9696
9690
|
*/
|
|
9697
9691
|
Sex?: string;
|
|
9698
9692
|
/**
|
|
9699
|
-
*
|
|
9693
|
+
* <p>出生日期</p>
|
|
9700
9694
|
*/
|
|
9701
9695
|
Birthday?: string;
|
|
9702
9696
|
/**
|
|
9703
|
-
*
|
|
9697
|
+
* <p>签发机关</p>
|
|
9704
9698
|
*/
|
|
9705
9699
|
IssueAuthority?: string;
|
|
9706
9700
|
/**
|
|
9707
|
-
*
|
|
9701
|
+
* <p>有效期限</p>
|
|
9708
9702
|
*/
|
|
9709
9703
|
ValidDate?: string;
|
|
9710
9704
|
/**
|
|
9711
|
-
*
|
|
9705
|
+
* <p>证件号</p>
|
|
9712
9706
|
*/
|
|
9713
9707
|
Number?: string;
|
|
9714
9708
|
/**
|
|
9715
|
-
*
|
|
9709
|
+
* <p>签发地点</p>
|
|
9716
9710
|
*/
|
|
9717
9711
|
IssueAddress?: string;
|
|
9718
9712
|
/**
|
|
9719
|
-
*
|
|
9713
|
+
* <p>签发次数</p>
|
|
9720
9714
|
*/
|
|
9721
9715
|
IssueNumber?: string;
|
|
9722
9716
|
/**
|
|
9723
|
-
*
|
|
9717
|
+
* <p>证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证、往来港澳通行证。</p>
|
|
9724
9718
|
*/
|
|
9725
9719
|
Type?: string;
|
|
9726
9720
|
/**
|
|
9727
|
-
* RetProfile为True时返回头像字段, Base64
|
|
9721
|
+
* <p>RetProfile为True时返回头像字段, Base64编码</p>
|
|
9728
9722
|
*/
|
|
9729
9723
|
Profile?: string;
|
|
9730
9724
|
/**
|
|
9731
|
-
*
|
|
9725
|
+
* <p>国籍</p>
|
|
9732
9726
|
*/
|
|
9733
9727
|
Nationality?: string;
|
|
9734
9728
|
/**
|
|
9735
|
-
*
|
|
9729
|
+
* <p>背面字段信息</p>
|
|
9736
9730
|
*/
|
|
9737
9731
|
MainlandTravelPermitBackInfos?: MainlandTravelPermitBackInfos;
|
|
9738
9732
|
/**
|