tencentcloud-sdk-nodejs-ocr 4.1.76 → 4.1.78
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
@@ -202,17 +202,11 @@ export interface HKIDCardOCRRequest {
|
|
202
202
|
*/
|
203
203
|
DetectFake?: boolean;
|
204
204
|
/**
|
205
|
-
* 图片的 Base64
|
206
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
207
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
205
|
+
* 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。
|
208
206
|
*/
|
209
207
|
ImageBase64?: string;
|
210
208
|
/**
|
211
|
-
* 图片的 Url
|
212
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
213
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
|
214
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
215
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
209
|
+
* 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
216
210
|
*/
|
217
211
|
ImageUrl?: string;
|
218
212
|
}
|
@@ -1950,14 +1944,18 @@ export interface HKIDCardOCRResponse {
|
|
1950
1944
|
*/
|
1951
1945
|
FakeDetectResult?: number;
|
1952
1946
|
/**
|
1953
|
-
*
|
1947
|
+
* Base64编码的证件左侧人像大图
|
1954
1948
|
注意:此字段可能返回 null,表示取不到有效值。
|
1955
1949
|
*/
|
1956
1950
|
HeadImage?: string;
|
1957
1951
|
/**
|
1958
|
-
*
|
1959
|
-
|
1960
|
-
|
1952
|
+
* Base64编码的证件右侧人像小图
|
1953
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1954
|
+
*/
|
1955
|
+
SmallHeadImage?: string;
|
1956
|
+
/**
|
1957
|
+
* 该字段已废弃, 将固定返回空数组,不建议使用。
|
1958
|
+
This field is deprecated and will always return an empty array. Usage is not recommended.
|
1961
1959
|
* @deprecated
|
1962
1960
|
*/
|
1963
1961
|
WarningCode?: Array<number | bigint>;
|
@@ -1972,6 +1970,10 @@ export interface HKIDCardOCRResponse {
|
|
1972
1970
|
-9109 告警能力未开通
|
1973
1971
|
*/
|
1974
1972
|
WarnCardInfos?: Array<number | bigint>;
|
1973
|
+
/**
|
1974
|
+
* 证件透明视窗内的文本信息
|
1975
|
+
*/
|
1976
|
+
WindowEmbeddedText?: string;
|
1975
1977
|
/**
|
1976
1978
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1977
1979
|
*/
|