tencentcloud-sdk-nodejs-intl-en 3.0.1441 → 3.0.1443
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 +1 -1
- package/tencentcloud/captcha/v20190722/captcha_client.js +1 -1
- package/tencentcloud/captcha/v20190722/models.js +19 -33
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/models.js +1 -1
- package/tencentcloud/faceid/v20180301/faceid_client.js +121 -10
- package/tencentcloud/faceid/v20180301/models.js +1623 -895
- package/tencentcloud/ocr/v20181119/models.js +233 -154
- package/tencentcloud/ocr/v20181119/ocr_client.js +3 -3
- package/tencentcloud/vod/v20180717/models.js +7809 -5588
- package/tencentcloud/vod/v20180717/vod_client.js +286 -286
|
@@ -295,6 +295,18 @@ When set to en, the added key is english.
|
|
|
295
295
|
*/
|
|
296
296
|
this.OutputLanguage = null;
|
|
297
297
|
|
|
298
|
+
/**
|
|
299
|
+
* Custom extraction field configuration, specify the custom extracted field name, field type and field prompt.
|
|
300
|
+
* @type {Array.<ItemNames> || null}
|
|
301
|
+
*/
|
|
302
|
+
this.NewItemNames = null;
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* The algorithm model version used by the multimodal document extraction recognition service. Valid values are '1.0' and '2.0'. Starting from July 20, 2026, the default is '2.0'. Accounts using this interface before that date default to '1.0' when the parameter is omitted. Accounts activated after July 20, 2026 only support '2.0'. Different versions adopt different extraction algorithms; the new version delivers better overall recognition result, and '2.0' is recommended.
|
|
306
|
+
* @type {string || null}
|
|
307
|
+
*/
|
|
308
|
+
this.MultiModelVersion = null;
|
|
309
|
+
|
|
298
310
|
}
|
|
299
311
|
|
|
300
312
|
/**
|
|
@@ -321,6 +333,16 @@ When set to en, the added key is english.
|
|
|
321
333
|
}
|
|
322
334
|
this.OutputLanguage = 'OutputLanguage' in params ? params.OutputLanguage : null;
|
|
323
335
|
|
|
336
|
+
if (params.NewItemNames) {
|
|
337
|
+
this.NewItemNames = new Array();
|
|
338
|
+
for (let z in params.NewItemNames) {
|
|
339
|
+
let obj = new ItemNames();
|
|
340
|
+
obj.deserialize(params.NewItemNames[z]);
|
|
341
|
+
this.NewItemNames.push(obj);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
this.MultiModelVersion = 'MultiModelVersion' in params ? params.MultiModelVersion : null;
|
|
345
|
+
|
|
324
346
|
}
|
|
325
347
|
}
|
|
326
348
|
|
|
@@ -2665,141 +2687,30 @@ class GeneralBasicOCRResponse extends AbstractModel {
|
|
|
2665
2687
|
}
|
|
2666
2688
|
|
|
2667
2689
|
/**
|
|
2668
|
-
*
|
|
2690
|
+
* PermitOCR request structure.
|
|
2669
2691
|
* @class
|
|
2670
2692
|
*/
|
|
2671
|
-
class
|
|
2693
|
+
class PermitOCRRequest extends AbstractModel {
|
|
2672
2694
|
constructor(){
|
|
2673
2695
|
super();
|
|
2674
2696
|
|
|
2675
2697
|
/**
|
|
2676
|
-
*
|
|
2677
|
-
* @type {string || null}
|
|
2678
|
-
*/
|
|
2679
|
-
this.ID = null;
|
|
2680
|
-
|
|
2681
|
-
/**
|
|
2682
|
-
* Name in Thai
|
|
2683
|
-
* @type {string || null}
|
|
2684
|
-
*/
|
|
2685
|
-
this.ThaiName = null;
|
|
2686
|
-
|
|
2687
|
-
/**
|
|
2688
|
-
* First name in English
|
|
2689
|
-
* @type {string || null}
|
|
2690
|
-
*/
|
|
2691
|
-
this.EnFirstName = null;
|
|
2692
|
-
|
|
2693
|
-
/**
|
|
2694
|
-
* Last name in English
|
|
2695
|
-
* @type {string || null}
|
|
2696
|
-
*/
|
|
2697
|
-
this.EnLastName = null;
|
|
2698
|
-
|
|
2699
|
-
/**
|
|
2700
|
-
* Date of issue in Thai
|
|
2701
|
-
* @type {string || null}
|
|
2702
|
-
*/
|
|
2703
|
-
this.IssueDate = null;
|
|
2704
|
-
|
|
2705
|
-
/**
|
|
2706
|
-
* Expiration date in Thai
|
|
2707
|
-
* @type {string || null}
|
|
2708
|
-
*/
|
|
2709
|
-
this.ExpirationDate = null;
|
|
2710
|
-
|
|
2711
|
-
/**
|
|
2712
|
-
* Date of issue in English
|
|
2713
|
-
* @type {string || null}
|
|
2714
|
-
*/
|
|
2715
|
-
this.EnIssueDate = null;
|
|
2716
|
-
|
|
2717
|
-
/**
|
|
2718
|
-
* Expiration date in English
|
|
2719
|
-
* @type {string || null}
|
|
2720
|
-
*/
|
|
2721
|
-
this.EnExpirationDate = null;
|
|
2722
|
-
|
|
2723
|
-
/**
|
|
2724
|
-
* Date of birth in Thai
|
|
2725
|
-
* @type {string || null}
|
|
2726
|
-
*/
|
|
2727
|
-
this.Birthday = null;
|
|
2728
|
-
|
|
2729
|
-
/**
|
|
2730
|
-
* Date of birth in English
|
|
2731
|
-
* @type {string || null}
|
|
2732
|
-
*/
|
|
2733
|
-
this.EnBirthday = null;
|
|
2734
|
-
|
|
2735
|
-
/**
|
|
2736
|
-
* Religion
|
|
2737
|
-
* @type {string || null}
|
|
2738
|
-
*/
|
|
2739
|
-
this.Religion = null;
|
|
2740
|
-
|
|
2741
|
-
/**
|
|
2742
|
-
* Serial number
|
|
2743
|
-
* @type {string || null}
|
|
2744
|
-
*/
|
|
2745
|
-
this.SerialNumber = null;
|
|
2746
|
-
|
|
2747
|
-
/**
|
|
2748
|
-
* Address
|
|
2749
|
-
* @type {string || null}
|
|
2750
|
-
*/
|
|
2751
|
-
this.Address = null;
|
|
2752
|
-
|
|
2753
|
-
/**
|
|
2754
|
-
* Laser ID on the back of the card.
|
|
2755
|
-
* @type {string || null}
|
|
2756
|
-
*/
|
|
2757
|
-
this.LaserID = null;
|
|
2758
|
-
|
|
2759
|
-
/**
|
|
2760
|
-
* Identity photo
|
|
2698
|
+
* The Base64-encoded value of the image. Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported. Supported image size: The downloaded image after Base64 encoding cannot exceed 7 MB. The download time of the image cannot exceed 3 seconds. Either ImageUrl or ImageBase64 of the image must be provided. If both are provided, only ImageUrl is used.
|
|
2761
2699
|
* @type {string || null}
|
|
2762
2700
|
*/
|
|
2763
|
-
this.
|
|
2764
|
-
|
|
2765
|
-
/**
|
|
2766
|
-
* Card Warning Information
|
|
2767
|
-
|
|
2768
|
-
-9101 Alarm for covered certificate
|
|
2769
|
-
-9102 Alarm for photocopied certificate
|
|
2770
|
-
-9103 Alarm for photographed certificate
|
|
2771
|
-
-9104 Alarm for tamper certificate
|
|
2772
|
-
-9107 Alarm for reflective certificate
|
|
2773
|
-
-9108 Alarm for blurry certificate
|
|
2774
|
-
-9109 This capability is not enabled. Please contact customer support to activate the alert service
|
|
2775
|
-
* @type {Array.<number> || null}
|
|
2776
|
-
*/
|
|
2777
|
-
this.WarnCardInfos = null;
|
|
2701
|
+
this.ImageBase64 = null;
|
|
2778
2702
|
|
|
2779
2703
|
/**
|
|
2780
|
-
*
|
|
2704
|
+
* The URL of the image. Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported. Supported image size: The downloaded image after Base64 encoding cannot exceed 7 MB. The download time of the image cannot exceed 3 seconds. We recommend that you store the image in Tencent Cloud for higher download speed and stability. The download speed and stability of images stored outside Tencent Cloud may be compromised.
|
|
2781
2705
|
* @type {string || null}
|
|
2782
2706
|
*/
|
|
2783
|
-
this.
|
|
2784
|
-
|
|
2785
|
-
/**
|
|
2786
|
-
* The number of cards detected in the input image provided via ImageBase64 parameter.(Currently supported only in ap-bangkok region)
|
|
2787
|
-
* @type {number || null}
|
|
2788
|
-
*/
|
|
2789
|
-
this.CardCount = null;
|
|
2707
|
+
this.ImageUrl = null;
|
|
2790
2708
|
|
|
2791
2709
|
/**
|
|
2792
|
-
*
|
|
2793
|
-
true: complete; false: incomplete
|
|
2710
|
+
* Whether to return the ID photo. The default value is false.
|
|
2794
2711
|
* @type {boolean || null}
|
|
2795
2712
|
*/
|
|
2796
|
-
this.
|
|
2797
|
-
|
|
2798
|
-
/**
|
|
2799
|
-
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2800
|
-
* @type {string || null}
|
|
2801
|
-
*/
|
|
2802
|
-
this.RequestId = null;
|
|
2713
|
+
this.CropPortrait = null;
|
|
2803
2714
|
|
|
2804
2715
|
}
|
|
2805
2716
|
|
|
@@ -2810,26 +2721,9 @@ true: complete; false: incomplete
|
|
|
2810
2721
|
if (!params) {
|
|
2811
2722
|
return;
|
|
2812
2723
|
}
|
|
2813
|
-
this.
|
|
2814
|
-
this.
|
|
2815
|
-
this.
|
|
2816
|
-
this.EnLastName = 'EnLastName' in params ? params.EnLastName : null;
|
|
2817
|
-
this.IssueDate = 'IssueDate' in params ? params.IssueDate : null;
|
|
2818
|
-
this.ExpirationDate = 'ExpirationDate' in params ? params.ExpirationDate : null;
|
|
2819
|
-
this.EnIssueDate = 'EnIssueDate' in params ? params.EnIssueDate : null;
|
|
2820
|
-
this.EnExpirationDate = 'EnExpirationDate' in params ? params.EnExpirationDate : null;
|
|
2821
|
-
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
2822
|
-
this.EnBirthday = 'EnBirthday' in params ? params.EnBirthday : null;
|
|
2823
|
-
this.Religion = 'Religion' in params ? params.Religion : null;
|
|
2824
|
-
this.SerialNumber = 'SerialNumber' in params ? params.SerialNumber : null;
|
|
2825
|
-
this.Address = 'Address' in params ? params.Address : null;
|
|
2826
|
-
this.LaserID = 'LaserID' in params ? params.LaserID : null;
|
|
2827
|
-
this.PortraitImage = 'PortraitImage' in params ? params.PortraitImage : null;
|
|
2828
|
-
this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
|
|
2829
|
-
this.AdvancedInfo = 'AdvancedInfo' in params ? params.AdvancedInfo : null;
|
|
2830
|
-
this.CardCount = 'CardCount' in params ? params.CardCount : null;
|
|
2831
|
-
this.IsComplete = 'IsComplete' in params ? params.IsComplete : null;
|
|
2832
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2724
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
2725
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
2726
|
+
this.CropPortrait = 'CropPortrait' in params ? params.CropPortrait : null;
|
|
2833
2727
|
|
|
2834
2728
|
}
|
|
2835
2729
|
}
|
|
@@ -3288,30 +3182,141 @@ class GroupInfo extends AbstractModel {
|
|
|
3288
3182
|
}
|
|
3289
3183
|
|
|
3290
3184
|
/**
|
|
3291
|
-
*
|
|
3185
|
+
* RecognizeThaiIDCardOCR response structure.
|
|
3292
3186
|
* @class
|
|
3293
3187
|
*/
|
|
3294
|
-
class
|
|
3188
|
+
class RecognizeThaiIDCardOCRResponse extends AbstractModel {
|
|
3295
3189
|
constructor(){
|
|
3296
3190
|
super();
|
|
3297
3191
|
|
|
3298
3192
|
/**
|
|
3299
|
-
*
|
|
3193
|
+
* ID card number
|
|
3300
3194
|
* @type {string || null}
|
|
3301
3195
|
*/
|
|
3302
|
-
this.
|
|
3196
|
+
this.ID = null;
|
|
3303
3197
|
|
|
3304
3198
|
/**
|
|
3305
|
-
*
|
|
3199
|
+
* Name in Thai
|
|
3306
3200
|
* @type {string || null}
|
|
3307
3201
|
*/
|
|
3308
|
-
this.
|
|
3202
|
+
this.ThaiName = null;
|
|
3309
3203
|
|
|
3310
3204
|
/**
|
|
3311
|
-
*
|
|
3205
|
+
* First name in English
|
|
3206
|
+
* @type {string || null}
|
|
3207
|
+
*/
|
|
3208
|
+
this.EnFirstName = null;
|
|
3209
|
+
|
|
3210
|
+
/**
|
|
3211
|
+
* Last name in English
|
|
3212
|
+
* @type {string || null}
|
|
3213
|
+
*/
|
|
3214
|
+
this.EnLastName = null;
|
|
3215
|
+
|
|
3216
|
+
/**
|
|
3217
|
+
* Date of issue in Thai
|
|
3218
|
+
* @type {string || null}
|
|
3219
|
+
*/
|
|
3220
|
+
this.IssueDate = null;
|
|
3221
|
+
|
|
3222
|
+
/**
|
|
3223
|
+
* Expiration date in Thai
|
|
3224
|
+
* @type {string || null}
|
|
3225
|
+
*/
|
|
3226
|
+
this.ExpirationDate = null;
|
|
3227
|
+
|
|
3228
|
+
/**
|
|
3229
|
+
* Date of issue in English
|
|
3230
|
+
* @type {string || null}
|
|
3231
|
+
*/
|
|
3232
|
+
this.EnIssueDate = null;
|
|
3233
|
+
|
|
3234
|
+
/**
|
|
3235
|
+
* Expiration date in English
|
|
3236
|
+
* @type {string || null}
|
|
3237
|
+
*/
|
|
3238
|
+
this.EnExpirationDate = null;
|
|
3239
|
+
|
|
3240
|
+
/**
|
|
3241
|
+
* Date of birth in Thai
|
|
3242
|
+
* @type {string || null}
|
|
3243
|
+
*/
|
|
3244
|
+
this.Birthday = null;
|
|
3245
|
+
|
|
3246
|
+
/**
|
|
3247
|
+
* Date of birth in English
|
|
3248
|
+
* @type {string || null}
|
|
3249
|
+
*/
|
|
3250
|
+
this.EnBirthday = null;
|
|
3251
|
+
|
|
3252
|
+
/**
|
|
3253
|
+
* Religion
|
|
3254
|
+
* @type {string || null}
|
|
3255
|
+
*/
|
|
3256
|
+
this.Religion = null;
|
|
3257
|
+
|
|
3258
|
+
/**
|
|
3259
|
+
* Serial number
|
|
3260
|
+
* @type {string || null}
|
|
3261
|
+
*/
|
|
3262
|
+
this.SerialNumber = null;
|
|
3263
|
+
|
|
3264
|
+
/**
|
|
3265
|
+
* Address
|
|
3266
|
+
* @type {string || null}
|
|
3267
|
+
*/
|
|
3268
|
+
this.Address = null;
|
|
3269
|
+
|
|
3270
|
+
/**
|
|
3271
|
+
* Laser ID on the back of the card.
|
|
3272
|
+
* @type {string || null}
|
|
3273
|
+
*/
|
|
3274
|
+
this.LaserID = null;
|
|
3275
|
+
|
|
3276
|
+
/**
|
|
3277
|
+
* Identity photo
|
|
3278
|
+
* @type {string || null}
|
|
3279
|
+
*/
|
|
3280
|
+
this.PortraitImage = null;
|
|
3281
|
+
|
|
3282
|
+
/**
|
|
3283
|
+
* Card Warning Information
|
|
3284
|
+
|
|
3285
|
+
-9101 Alarm for covered certificate
|
|
3286
|
+
-9102 Alarm for photocopied certificate
|
|
3287
|
+
-9103 Alarm for photographed certificate
|
|
3288
|
+
-9104 Alarm for tamper certificate
|
|
3289
|
+
-9107 Alarm for reflective certificate
|
|
3290
|
+
-9108 Alarm for blurry certificate
|
|
3291
|
+
-9109 This capability is not enabled. Please contact customer support to activate the alert service
|
|
3292
|
+
* @type {Array.<number> || null}
|
|
3293
|
+
*/
|
|
3294
|
+
this.WarnCardInfos = null;
|
|
3295
|
+
|
|
3296
|
+
/**
|
|
3297
|
+
* This field is deprecated and will always return "1". Usage is not recommended.
|
|
3298
|
+
* @type {string || null}
|
|
3299
|
+
*/
|
|
3300
|
+
this.AdvancedInfo = null;
|
|
3301
|
+
|
|
3302
|
+
/**
|
|
3303
|
+
* The number of cards detected in the input image provided via ImageBase64 parameter.(Currently supported only in ap-bangkok region)
|
|
3304
|
+
* @type {number || null}
|
|
3305
|
+
*/
|
|
3306
|
+
this.CardCount = null;
|
|
3307
|
+
|
|
3308
|
+
/**
|
|
3309
|
+
* The card information field complete or not
|
|
3310
|
+
true: complete; false: incomplete
|
|
3312
3311
|
* @type {boolean || null}
|
|
3313
3312
|
*/
|
|
3314
|
-
this.
|
|
3313
|
+
this.IsComplete = null;
|
|
3314
|
+
|
|
3315
|
+
/**
|
|
3316
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3317
|
+
* @type {string || null}
|
|
3318
|
+
*/
|
|
3319
|
+
this.RequestId = null;
|
|
3315
3320
|
|
|
3316
3321
|
}
|
|
3317
3322
|
|
|
@@ -3322,9 +3327,26 @@ class PermitOCRRequest extends AbstractModel {
|
|
|
3322
3327
|
if (!params) {
|
|
3323
3328
|
return;
|
|
3324
3329
|
}
|
|
3325
|
-
this.
|
|
3326
|
-
this.
|
|
3327
|
-
this.
|
|
3330
|
+
this.ID = 'ID' in params ? params.ID : null;
|
|
3331
|
+
this.ThaiName = 'ThaiName' in params ? params.ThaiName : null;
|
|
3332
|
+
this.EnFirstName = 'EnFirstName' in params ? params.EnFirstName : null;
|
|
3333
|
+
this.EnLastName = 'EnLastName' in params ? params.EnLastName : null;
|
|
3334
|
+
this.IssueDate = 'IssueDate' in params ? params.IssueDate : null;
|
|
3335
|
+
this.ExpirationDate = 'ExpirationDate' in params ? params.ExpirationDate : null;
|
|
3336
|
+
this.EnIssueDate = 'EnIssueDate' in params ? params.EnIssueDate : null;
|
|
3337
|
+
this.EnExpirationDate = 'EnExpirationDate' in params ? params.EnExpirationDate : null;
|
|
3338
|
+
this.Birthday = 'Birthday' in params ? params.Birthday : null;
|
|
3339
|
+
this.EnBirthday = 'EnBirthday' in params ? params.EnBirthday : null;
|
|
3340
|
+
this.Religion = 'Religion' in params ? params.Religion : null;
|
|
3341
|
+
this.SerialNumber = 'SerialNumber' in params ? params.SerialNumber : null;
|
|
3342
|
+
this.Address = 'Address' in params ? params.Address : null;
|
|
3343
|
+
this.LaserID = 'LaserID' in params ? params.LaserID : null;
|
|
3344
|
+
this.PortraitImage = 'PortraitImage' in params ? params.PortraitImage : null;
|
|
3345
|
+
this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
|
|
3346
|
+
this.AdvancedInfo = 'AdvancedInfo' in params ? params.AdvancedInfo : null;
|
|
3347
|
+
this.CardCount = 'CardCount' in params ? params.CardCount : null;
|
|
3348
|
+
this.IsComplete = 'IsComplete' in params ? params.IsComplete : null;
|
|
3349
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3328
3350
|
|
|
3329
3351
|
}
|
|
3330
3352
|
}
|
|
@@ -5163,6 +5185,62 @@ class RecognizeIndonesiaIDCardOCRResponse extends AbstractModel {
|
|
|
5163
5185
|
}
|
|
5164
5186
|
}
|
|
5165
5187
|
|
|
5188
|
+
/**
|
|
5189
|
+
*
|
|
5190
|
+
* @class
|
|
5191
|
+
*/
|
|
5192
|
+
class ItemNames extends AbstractModel {
|
|
5193
|
+
constructor(){
|
|
5194
|
+
super();
|
|
5195
|
+
|
|
5196
|
+
/**
|
|
5197
|
+
*
|
|
5198
|
+
* @type {string || null}
|
|
5199
|
+
*/
|
|
5200
|
+
this.KeyName = null;
|
|
5201
|
+
|
|
5202
|
+
/**
|
|
5203
|
+
*
|
|
5204
|
+
* @type {number || null}
|
|
5205
|
+
*/
|
|
5206
|
+
this.KeyType = null;
|
|
5207
|
+
|
|
5208
|
+
/**
|
|
5209
|
+
*
|
|
5210
|
+
* @type {string || null}
|
|
5211
|
+
*/
|
|
5212
|
+
this.KeyPrompt = null;
|
|
5213
|
+
|
|
5214
|
+
/**
|
|
5215
|
+
*
|
|
5216
|
+
* @type {string || null}
|
|
5217
|
+
*/
|
|
5218
|
+
this.KeyExpectedValue = null;
|
|
5219
|
+
|
|
5220
|
+
/**
|
|
5221
|
+
*
|
|
5222
|
+
* @type {string || null}
|
|
5223
|
+
*/
|
|
5224
|
+
this.KeyAuditPrompt = null;
|
|
5225
|
+
|
|
5226
|
+
}
|
|
5227
|
+
|
|
5228
|
+
/**
|
|
5229
|
+
* @private
|
|
5230
|
+
*/
|
|
5231
|
+
deserialize(params) {
|
|
5232
|
+
if (!params) {
|
|
5233
|
+
return;
|
|
5234
|
+
}
|
|
5235
|
+
this.KeyName = 'KeyName' in params ? params.KeyName : null;
|
|
5236
|
+
this.KeyType = 'KeyType' in params ? params.KeyType : null;
|
|
5237
|
+
this.KeyPrompt = 'KeyPrompt' in params ? params.KeyPrompt : null;
|
|
5238
|
+
this.KeyExpectedValue = 'KeyExpectedValue' in params ? params.KeyExpectedValue : null;
|
|
5239
|
+
this.KeyAuditPrompt = 'KeyAuditPrompt' in params ? params.KeyAuditPrompt : null;
|
|
5240
|
+
|
|
5241
|
+
}
|
|
5242
|
+
}
|
|
5243
|
+
|
|
5166
5244
|
/**
|
|
5167
5245
|
* VinOCR response structure.
|
|
5168
5246
|
* @class
|
|
@@ -6714,7 +6792,7 @@ class VinOCRRequest extends AbstractModel {
|
|
|
6714
6792
|
/**
|
|
6715
6793
|
* The Base64-encoded value of the image.
|
|
6716
6794
|
Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
|
|
6717
|
-
Supported image size: The downloaded image after Base64 encoding can be up to
|
|
6795
|
+
Supported image size: The downloaded image after Base64 encoding can be up to 10 MB. The download time of the image cannot exceed 3s.
|
|
6718
6796
|
Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, only `ImageUrl` is used.
|
|
6719
6797
|
* @type {string || null}
|
|
6720
6798
|
*/
|
|
@@ -6723,7 +6801,7 @@ Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are pr
|
|
|
6723
6801
|
/**
|
|
6724
6802
|
* The URL of the image.
|
|
6725
6803
|
Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
|
|
6726
|
-
Supported image size: The downloaded image after Base64 encoding can be up to
|
|
6804
|
+
Supported image size: The downloaded image after Base64 encoding can be up to 10 MB. The download time of the image cannot exceed 3s.
|
|
6727
6805
|
We recommend that you store the image in Tencent Cloud for higher download speed and stability.
|
|
6728
6806
|
The download speed and stability of non-Tencent Cloud URLs may be low.
|
|
6729
6807
|
* @type {string || null}
|
|
@@ -7626,14 +7704,14 @@ module.exports = {
|
|
|
7626
7704
|
HmtResidentPermitOCRRequest: HmtResidentPermitOCRRequest,
|
|
7627
7705
|
PortraitImageInfo: PortraitImageInfo,
|
|
7628
7706
|
GeneralBasicOCRResponse: GeneralBasicOCRResponse,
|
|
7629
|
-
|
|
7707
|
+
PermitOCRRequest: PermitOCRRequest,
|
|
7630
7708
|
RecognizePhilippinesUMIDOCRRequest: RecognizePhilippinesUMIDOCRRequest,
|
|
7631
7709
|
RecognizePhilippinesSssIDOCRRequest: RecognizePhilippinesSssIDOCRRequest,
|
|
7632
7710
|
Key: Key,
|
|
7633
7711
|
BrazilIDCardInfo: BrazilIDCardInfo,
|
|
7634
7712
|
HKIDCardOCRResponse: HKIDCardOCRResponse,
|
|
7635
7713
|
GroupInfo: GroupInfo,
|
|
7636
|
-
|
|
7714
|
+
RecognizeThaiIDCardOCRResponse: RecognizeThaiIDCardOCRResponse,
|
|
7637
7715
|
ExtractDocMultiResponse: ExtractDocMultiResponse,
|
|
7638
7716
|
RecognizePhilippinesSssIDOCRResponse: RecognizePhilippinesSssIDOCRResponse,
|
|
7639
7717
|
RecognizePhilippinesUMIDOCRResponse: RecognizePhilippinesUMIDOCRResponse,
|
|
@@ -7654,6 +7732,7 @@ module.exports = {
|
|
|
7654
7732
|
Coord: Coord,
|
|
7655
7733
|
RecognizeBrazilRNEOCRResponse: RecognizeBrazilRNEOCRResponse,
|
|
7656
7734
|
RecognizeIndonesiaIDCardOCRResponse: RecognizeIndonesiaIDCardOCRResponse,
|
|
7735
|
+
ItemNames: ItemNames,
|
|
7657
7736
|
VinOCRResponse: VinOCRResponse,
|
|
7658
7737
|
ConfigAdvanced: ConfigAdvanced,
|
|
7659
7738
|
RecognizePhilippinesVoteIDOCRResponse: RecognizePhilippinesVoteIDOCRResponse,
|
|
@@ -50,14 +50,14 @@ const GeneralAccurateOCRResponse = models.GeneralAccurateOCRResponse;
|
|
|
50
50
|
const HmtResidentPermitOCRRequest = models.HmtResidentPermitOCRRequest;
|
|
51
51
|
const PortraitImageInfo = models.PortraitImageInfo;
|
|
52
52
|
const GeneralBasicOCRResponse = models.GeneralBasicOCRResponse;
|
|
53
|
-
const
|
|
53
|
+
const PermitOCRRequest = models.PermitOCRRequest;
|
|
54
54
|
const RecognizePhilippinesUMIDOCRRequest = models.RecognizePhilippinesUMIDOCRRequest;
|
|
55
55
|
const RecognizePhilippinesSssIDOCRRequest = models.RecognizePhilippinesSssIDOCRRequest;
|
|
56
56
|
const Key = models.Key;
|
|
57
57
|
const BrazilIDCardInfo = models.BrazilIDCardInfo;
|
|
58
58
|
const HKIDCardOCRResponse = models.HKIDCardOCRResponse;
|
|
59
59
|
const GroupInfo = models.GroupInfo;
|
|
60
|
-
const
|
|
60
|
+
const RecognizeThaiIDCardOCRResponse = models.RecognizeThaiIDCardOCRResponse;
|
|
61
61
|
const ExtractDocMultiResponse = models.ExtractDocMultiResponse;
|
|
62
62
|
const RecognizePhilippinesSssIDOCRResponse = models.RecognizePhilippinesSssIDOCRResponse;
|
|
63
63
|
const RecognizePhilippinesUMIDOCRResponse = models.RecognizePhilippinesUMIDOCRResponse;
|
|
@@ -78,6 +78,7 @@ const GetCardVerificationExternalResultRequest = models.GetCardVerificationExter
|
|
|
78
78
|
const Coord = models.Coord;
|
|
79
79
|
const RecognizeBrazilRNEOCRResponse = models.RecognizeBrazilRNEOCRResponse;
|
|
80
80
|
const RecognizeIndonesiaIDCardOCRResponse = models.RecognizeIndonesiaIDCardOCRResponse;
|
|
81
|
+
const ItemNames = models.ItemNames;
|
|
81
82
|
const VinOCRResponse = models.VinOCRResponse;
|
|
82
83
|
const ConfigAdvanced = models.ConfigAdvanced;
|
|
83
84
|
const RecognizePhilippinesVoteIDOCRResponse = models.RecognizePhilippinesVoteIDOCRResponse;
|
|
@@ -500,7 +501,6 @@ Default API request rate limit: 5 requests/second.
|
|
|
500
501
|
|
|
501
502
|
/**
|
|
502
503
|
* This API supports identifying and extracting field information in structured scenarios such as complex scenarios and multiple formats. Key scenarios include: finance, health care, transportation, travel, insurance. Click [experience now](https://ocrdemo.cloud.tencent.com/).
|
|
503
|
-
|
|
504
504
|
This API is used to set the alias SmartStructuralPro.
|
|
505
505
|
|
|
506
506
|
The default API request rate limit is 5 requests per second.
|