tencentcloud-sdk-nodejs-ocr 4.1.266 → 4.1.267
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
|
@@ -946,106 +946,91 @@ export interface OtherInvoiceList {
|
|
|
946
946
|
*/
|
|
947
947
|
export interface DriverLicenseOCRResponse {
|
|
948
948
|
/**
|
|
949
|
-
*
|
|
949
|
+
* <p>驾驶证正页姓名</p>
|
|
950
950
|
*/
|
|
951
951
|
Name?: string;
|
|
952
952
|
/**
|
|
953
|
-
*
|
|
953
|
+
* <p>性别</p>
|
|
954
954
|
*/
|
|
955
955
|
Sex?: string;
|
|
956
956
|
/**
|
|
957
|
-
*
|
|
957
|
+
* <p>国籍</p>
|
|
958
958
|
*/
|
|
959
959
|
Nationality?: string;
|
|
960
960
|
/**
|
|
961
|
-
*
|
|
961
|
+
* <p>住址</p>
|
|
962
962
|
*/
|
|
963
963
|
Address?: string;
|
|
964
964
|
/**
|
|
965
|
-
*
|
|
965
|
+
* <p>出生日期(YYYY-MM-DD)</p>
|
|
966
966
|
*/
|
|
967
967
|
DateOfBirth?: string;
|
|
968
968
|
/**
|
|
969
|
-
*
|
|
969
|
+
* <p>初次领证日期(YYYY-MM-DD)</p>
|
|
970
970
|
*/
|
|
971
971
|
DateOfFirstIssue?: string;
|
|
972
972
|
/**
|
|
973
|
-
*
|
|
973
|
+
* <p>准驾车型</p>
|
|
974
974
|
*/
|
|
975
975
|
Class?: string;
|
|
976
976
|
/**
|
|
977
|
-
*
|
|
977
|
+
* <p>有效期开始时间(YYYY-MM-DD)</p>
|
|
978
978
|
*/
|
|
979
979
|
StartDate?: string;
|
|
980
980
|
/**
|
|
981
|
-
*
|
|
982
|
-
老版驾驶证返回有效期限 X年)
|
|
981
|
+
* <p>有效期截止时间(新版驾驶证返回 YYYY-MM-DD,老版驾驶证返回有效期限 X年;若驾驶证有效期为长期,则返回"长期")</p>
|
|
983
982
|
*/
|
|
984
983
|
EndDate?: string;
|
|
985
984
|
/**
|
|
986
|
-
*
|
|
985
|
+
* <p>驾驶证正页证号</p>
|
|
987
986
|
*/
|
|
988
987
|
CardCode?: string;
|
|
989
988
|
/**
|
|
990
|
-
*
|
|
989
|
+
* <p>档案编号</p>
|
|
991
990
|
*/
|
|
992
991
|
ArchivesCode?: string;
|
|
993
992
|
/**
|
|
994
|
-
*
|
|
993
|
+
* <p>记录</p>
|
|
995
994
|
*/
|
|
996
995
|
Record?: string;
|
|
997
996
|
/**
|
|
998
|
-
* Code
|
|
999
|
-
-9102 复印件告警
|
|
1000
|
-
-9103 翻拍件告警
|
|
1001
|
-
-9104 反光告警
|
|
1002
|
-
-9105 模糊告警
|
|
1003
|
-
-9106 边框不完整告警
|
|
1004
|
-
注:告警码可以同时存在多个
|
|
997
|
+
* <p>Code 告警码列表和释义:<br>-9102 复印件告警<br>-9103 翻拍件告警<br>-9104 反光告警<br>-9105 模糊告警<br>-9106 边框不完整告警<br>注:告警码可以同时存在多个</p>
|
|
1005
998
|
*/
|
|
1006
999
|
RecognizeWarnCode?: Array<number | bigint>;
|
|
1007
1000
|
/**
|
|
1008
|
-
*
|
|
1009
|
-
WARN_DRIVER_LICENSE_COPY_CARD 复印件告警
|
|
1010
|
-
WARN_DRIVER_LICENSE_SCREENED_CARD 翻拍件告警
|
|
1011
|
-
WARN_DRIVER_LICENSE_REFLECTION 反光告警
|
|
1012
|
-
WARN_DRIVER_LICENSE_BLUR 模糊告警
|
|
1013
|
-
WARN_DRIVER_LICENSE_BORDER_INCOMPLETE 边框不完整告警
|
|
1014
|
-
注:告警信息可以同时存在多个
|
|
1001
|
+
* <p>告警码说明:<br>WARN_DRIVER_LICENSE_COPY_CARD 复印件告警<br>WARN_DRIVER_LICENSE_SCREENED_CARD 翻拍件告警<br>WARN_DRIVER_LICENSE_REFLECTION 反光告警<br>WARN_DRIVER_LICENSE_BLUR 模糊告警<br>WARN_DRIVER_LICENSE_BORDER_INCOMPLETE 边框不完整告警<br>注:告警信息可以同时存在多个</p>
|
|
1015
1002
|
*/
|
|
1016
1003
|
RecognizeWarnMsg?: Array<string>;
|
|
1017
1004
|
/**
|
|
1018
|
-
*
|
|
1005
|
+
* <p>发证单位</p>
|
|
1019
1006
|
*/
|
|
1020
1007
|
IssuingAuthority?: string;
|
|
1021
1008
|
/**
|
|
1022
|
-
*
|
|
1009
|
+
* <p>状态(仅电子驾驶证支持返回该字段)</p>
|
|
1023
1010
|
*/
|
|
1024
1011
|
State?: string;
|
|
1025
1012
|
/**
|
|
1026
|
-
*
|
|
1013
|
+
* <p>累积记分(仅电子驾驶证支持返回该字段)</p>
|
|
1027
1014
|
*/
|
|
1028
1015
|
CumulativeScore?: string;
|
|
1029
1016
|
/**
|
|
1030
|
-
*
|
|
1017
|
+
* <p>当前时间(仅电子驾驶证支持返回该字段)</p>
|
|
1031
1018
|
*/
|
|
1032
1019
|
CurrentTime?: string;
|
|
1033
1020
|
/**
|
|
1034
|
-
*
|
|
1021
|
+
* <p>生成时间(仅电子驾驶证支持返回该字段)</p>
|
|
1035
1022
|
*/
|
|
1036
1023
|
GenerateTime?: string;
|
|
1037
1024
|
/**
|
|
1038
|
-
*
|
|
1025
|
+
* <p>驾驶证副页姓名</p>
|
|
1039
1026
|
*/
|
|
1040
1027
|
BackPageName?: string;
|
|
1041
1028
|
/**
|
|
1042
|
-
*
|
|
1029
|
+
* <p>驾驶证副页证号</p>
|
|
1043
1030
|
*/
|
|
1044
1031
|
BackPageCardCode?: string;
|
|
1045
1032
|
/**
|
|
1046
|
-
*
|
|
1047
|
-
电子驾驶证:Electronic
|
|
1048
|
-
普通驾驶证:Normal
|
|
1033
|
+
* <p>驾驶证类型<br>电子驾驶证:Electronic<br>普通驾驶证:Normal</p>
|
|
1049
1034
|
*/
|
|
1050
1035
|
DriverLicenseType?: string;
|
|
1051
1036
|
/**
|
|
@@ -1240,19 +1225,19 @@ export interface ClassifyStoreNameRequest {
|
|
|
1240
1225
|
*/
|
|
1241
1226
|
export interface Rect {
|
|
1242
1227
|
/**
|
|
1243
|
-
*
|
|
1228
|
+
* <p>左上角x</p>
|
|
1244
1229
|
*/
|
|
1245
1230
|
X?: number;
|
|
1246
1231
|
/**
|
|
1247
|
-
*
|
|
1232
|
+
* <p>左上角y</p>
|
|
1248
1233
|
*/
|
|
1249
1234
|
Y?: number;
|
|
1250
1235
|
/**
|
|
1251
|
-
*
|
|
1236
|
+
* <p>宽度</p><p>单位:px</p>
|
|
1252
1237
|
*/
|
|
1253
1238
|
Width?: number;
|
|
1254
1239
|
/**
|
|
1255
|
-
*
|
|
1240
|
+
* <p>高度</p><p>单位:px</p>
|
|
1256
1241
|
*/
|
|
1257
1242
|
Height?: number;
|
|
1258
1243
|
}
|
|
@@ -1792,18 +1777,15 @@ export interface VehicleInvoiceInfo {
|
|
|
1792
1777
|
*/
|
|
1793
1778
|
export interface DriverLicenseOCRRequest {
|
|
1794
1779
|
/**
|
|
1795
|
-
*
|
|
1780
|
+
* <p>图片的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
1796
1781
|
*/
|
|
1797
1782
|
ImageBase64?: string;
|
|
1798
1783
|
/**
|
|
1799
|
-
*
|
|
1784
|
+
* <p>图片的 Url 地址。要求图片经Base64编码后不超过 10M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。</p>
|
|
1800
1785
|
*/
|
|
1801
1786
|
ImageUrl?: string;
|
|
1802
1787
|
/**
|
|
1803
|
-
* FRONT
|
|
1804
|
-
BACK 为驾驶证副页正面(有档案编号的一面)。
|
|
1805
|
-
DOUBLE 支持自动识别驾驶证正副页单面,和正副双面同框识别
|
|
1806
|
-
默认值为:FRONT。
|
|
1788
|
+
* <p>FRONT 为驾驶证主页正面(有红色印章的一面),<br>BACK 为驾驶证副页正面(有档案编号的一面)。<br>DOUBLE 支持自动识别驾驶证正副页单面,和正副双面同框识别<br>默认值为:FRONT。</p>
|
|
1807
1789
|
*/
|
|
1808
1790
|
CardSide?: string;
|
|
1809
1791
|
}
|
|
@@ -9986,22 +9968,22 @@ export interface EnglishOCRResponse {
|
|
|
9986
9968
|
*/
|
|
9987
9969
|
export interface ImageCoordinates {
|
|
9988
9970
|
/**
|
|
9989
|
-
*
|
|
9971
|
+
* <p>头像左上角横坐标</p>
|
|
9990
9972
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9991
9973
|
*/
|
|
9992
9974
|
X?: number;
|
|
9993
9975
|
/**
|
|
9994
|
-
*
|
|
9976
|
+
* <p>头像左上角纵坐标</p>
|
|
9995
9977
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9996
9978
|
*/
|
|
9997
9979
|
Y?: number;
|
|
9998
9980
|
/**
|
|
9999
|
-
*
|
|
9981
|
+
* <p>头像框宽度</p><p>单位:px</p>
|
|
10000
9982
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10001
9983
|
*/
|
|
10002
9984
|
Width?: number;
|
|
10003
9985
|
/**
|
|
10004
|
-
*
|
|
9986
|
+
* <p>头像框高度</p><p>单位:px</p>
|
|
10005
9987
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10006
9988
|
*/
|
|
10007
9989
|
Height?: number;
|