tencentcloud-sdk-nodejs-ocr 4.1.311 → 4.1.313
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
|
@@ -3795,82 +3795,76 @@ export interface VatInvoiceGoodsInfo {
|
|
|
3795
3795
|
*/
|
|
3796
3796
|
export interface RecognizeThaiIDCardOCRResponse {
|
|
3797
3797
|
/**
|
|
3798
|
-
*
|
|
3798
|
+
* <p>身份证号码</p>
|
|
3799
3799
|
*/
|
|
3800
3800
|
ID?: string;
|
|
3801
3801
|
/**
|
|
3802
|
-
*
|
|
3802
|
+
* <p>泰文姓名</p>
|
|
3803
3803
|
*/
|
|
3804
3804
|
ThaiName?: string;
|
|
3805
3805
|
/**
|
|
3806
|
-
*
|
|
3806
|
+
* <p>英文姓名</p>
|
|
3807
3807
|
*/
|
|
3808
3808
|
EnFirstName?: string;
|
|
3809
3809
|
/**
|
|
3810
|
-
*
|
|
3810
|
+
* <p>英文姓名</p>
|
|
3811
3811
|
*/
|
|
3812
3812
|
EnLastName?: string;
|
|
3813
3813
|
/**
|
|
3814
|
-
*
|
|
3814
|
+
* <p>泰文签发日期</p>
|
|
3815
3815
|
*/
|
|
3816
3816
|
IssueDate?: string;
|
|
3817
3817
|
/**
|
|
3818
|
-
*
|
|
3818
|
+
* <p>泰文到期日期</p>
|
|
3819
3819
|
*/
|
|
3820
3820
|
ExpirationDate?: string;
|
|
3821
3821
|
/**
|
|
3822
|
-
*
|
|
3822
|
+
* <p>英文签发日期</p>
|
|
3823
3823
|
*/
|
|
3824
3824
|
EnIssueDate?: string;
|
|
3825
3825
|
/**
|
|
3826
|
-
*
|
|
3826
|
+
* <p>英文到期日期</p>
|
|
3827
3827
|
*/
|
|
3828
3828
|
EnExpirationDate?: string;
|
|
3829
3829
|
/**
|
|
3830
|
-
*
|
|
3830
|
+
* <p>泰文出生日期</p>
|
|
3831
3831
|
*/
|
|
3832
3832
|
Birthday?: string;
|
|
3833
3833
|
/**
|
|
3834
|
-
*
|
|
3834
|
+
* <p>英文出生日期</p>
|
|
3835
3835
|
*/
|
|
3836
3836
|
EnBirthday?: string;
|
|
3837
3837
|
/**
|
|
3838
|
-
*
|
|
3838
|
+
* <p>宗教信仰</p>
|
|
3839
3839
|
*/
|
|
3840
3840
|
Religion?: string;
|
|
3841
3841
|
/**
|
|
3842
|
-
*
|
|
3842
|
+
* <p>序列号</p>
|
|
3843
3843
|
*/
|
|
3844
3844
|
SerialNumber?: string;
|
|
3845
3845
|
/**
|
|
3846
|
-
*
|
|
3846
|
+
* <p>地址</p>
|
|
3847
3847
|
*/
|
|
3848
3848
|
Address?: string;
|
|
3849
3849
|
/**
|
|
3850
|
-
*
|
|
3850
|
+
* <p>背面号码</p>
|
|
3851
3851
|
*/
|
|
3852
3852
|
LaserID?: string;
|
|
3853
3853
|
/**
|
|
3854
|
-
*
|
|
3854
|
+
* <p>证件人像照片抠取</p>
|
|
3855
3855
|
*/
|
|
3856
3856
|
PortraitImage?: string;
|
|
3857
3857
|
/**
|
|
3858
|
-
*
|
|
3859
|
-
-9101 证件边框不完整告警
|
|
3860
|
-
-9102 证件复印件告警
|
|
3861
|
-
-9103 证件翻拍告警
|
|
3862
|
-
-9107 证件反光告警
|
|
3863
|
-
-9108 证件模糊告警
|
|
3864
|
-
-9109 告警能力未开通
|
|
3858
|
+
* <p>告警码<br>-9101 证件边框不完整告警<br>-9102 证件复印件告警<br>-9103 证件翻拍告警<br>-9104 证件PS告警<br>-9107 证件反光告警<br>-9108 证件模糊告警<br>-9109 告警能力未开通</p>
|
|
3865
3859
|
*/
|
|
3866
3860
|
WarnCardInfos?: Array<number | bigint>;
|
|
3867
3861
|
/**
|
|
3868
|
-
*
|
|
3862
|
+
* <p>该字段已废弃, 将固定返回"1",不建议使用。</p>
|
|
3869
3863
|
* @deprecated
|
|
3870
3864
|
*/
|
|
3871
3865
|
AdvancedInfo?: string;
|
|
3872
3866
|
/**
|
|
3873
|
-
*
|
|
3867
|
+
* <p>卡证正面图片中,证件主体的数量(仅请求曼谷地域[ap-bangkok]返回)</p>
|
|
3874
3868
|
*/
|
|
3875
3869
|
CardCount?: number;
|
|
3876
3870
|
/**
|
|
@@ -4609,24 +4603,23 @@ export interface TextDetectRequest {
|
|
|
4609
4603
|
*/
|
|
4610
4604
|
export interface RecognizeThaiIDCardOCRRequest {
|
|
4611
4605
|
/**
|
|
4612
|
-
*
|
|
4606
|
+
* <p>图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
4613
4607
|
*/
|
|
4614
4608
|
ImageBase64?: string;
|
|
4615
4609
|
/**
|
|
4616
|
-
*
|
|
4610
|
+
* <p>卡证背面图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
4617
4611
|
*/
|
|
4618
4612
|
BackImageBase64?: string;
|
|
4619
4613
|
/**
|
|
4620
|
-
*
|
|
4614
|
+
* <p>图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。</p>
|
|
4621
4615
|
*/
|
|
4622
4616
|
ImageUrl?: string;
|
|
4623
4617
|
/**
|
|
4624
|
-
*
|
|
4618
|
+
* <p>卡证背面图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
4625
4619
|
*/
|
|
4626
4620
|
BackImageUrl?: string;
|
|
4627
4621
|
/**
|
|
4628
|
-
*
|
|
4629
|
-
设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码
|
|
4622
|
+
* <p>图片开关。默认为false,不返回泰国身份证头像照片的base64编码。<br>设置为true时,返回旋转矫正后的泰国身份证头像照片的base64编码</p>
|
|
4630
4623
|
*/
|
|
4631
4624
|
CropPortrait?: boolean;
|
|
4632
4625
|
}
|