tencentcloud-sdk-nodejs-intl-en 3.0.1281 → 3.0.1283

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.
@@ -1605,6 +1605,49 @@ Note: This field may return null, indicating that no valid values can be obtaine
1605
1605
  }
1606
1606
  }
1607
1607
 
1608
+ /**
1609
+ * RecognizeDetectCardCoords response structure.
1610
+ * @class
1611
+ */
1612
+ class RecognizeDetectCardCoordsResponse extends AbstractModel {
1613
+ constructor(){
1614
+ super();
1615
+
1616
+ /**
1617
+ * Detected coordinate information.
1618
+ * @type {Array.<CoordsItem> || null}
1619
+ */
1620
+ this.ItemList = null;
1621
+
1622
+ /**
1623
+ * 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.
1624
+ * @type {string || null}
1625
+ */
1626
+ this.RequestId = null;
1627
+
1628
+ }
1629
+
1630
+ /**
1631
+ * @private
1632
+ */
1633
+ deserialize(params) {
1634
+ if (!params) {
1635
+ return;
1636
+ }
1637
+
1638
+ if (params.ItemList) {
1639
+ this.ItemList = new Array();
1640
+ for (let z in params.ItemList) {
1641
+ let obj = new CoordsItem();
1642
+ obj.deserialize(params.ItemList[z]);
1643
+ this.ItemList.push(obj);
1644
+ }
1645
+ }
1646
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1647
+
1648
+ }
1649
+ }
1650
+
1608
1651
  /**
1609
1652
  * Seal information
1610
1653
  * @class
@@ -2091,6 +2134,41 @@ class LicensePlateOCRResponse extends AbstractModel {
2091
2134
  }
2092
2135
  }
2093
2136
 
2137
+ /**
2138
+ * RecognizeDetectCardCoords request structure.
2139
+ * @class
2140
+ */
2141
+ class RecognizeDetectCardCoordsRequest extends AbstractModel {
2142
+ constructor(){
2143
+ super();
2144
+
2145
+ /**
2146
+ * The Url of the image. supported image formats: PNG, JPG, JPEG. GIF format is not currently supported. supported image size: the downloaded image should be no more than 7M after Base64 encoding. image download time should be no more than 3 seconds. images stored in tencent cloud's urls guarantee higher download speed and stability. it is recommended to store images in tencent cloud. the speed and stability of non-tencent cloud storage urls may be impacted.
2147
+ * @type {string || null}
2148
+ */
2149
+ this.ImageUrl = null;
2150
+
2151
+ /**
2152
+ * The Base64 value of the image. supported image formats: PNG, JPG, JPEG. GIF format is not currently supported. supported image size: no more than 7M after the downloaded image is encoded in Base64. image download time is not more than 3 seconds. either ImageUrl or ImageBase64 must be provided. if both are provided, only use ImageUrl.
2153
+ * @type {string || null}
2154
+ */
2155
+ this.ImageBase64 = null;
2156
+
2157
+ }
2158
+
2159
+ /**
2160
+ * @private
2161
+ */
2162
+ deserialize(params) {
2163
+ if (!params) {
2164
+ return;
2165
+ }
2166
+ this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
2167
+ this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
2168
+
2169
+ }
2170
+ }
2171
+
2094
2172
  /**
2095
2173
  * Information about VAT invoice items
2096
2174
  * @class
@@ -3745,37 +3823,90 @@ class OtherInvoice extends AbstractModel {
3745
3823
  }
3746
3824
 
3747
3825
  /**
3748
- * RecognizePhilippinesUMIDOCR request structure.
3826
+ * RecognizePhilippinesDrivingLicenseOCR response structure.
3749
3827
  * @class
3750
3828
  */
3751
- class RecognizePhilippinesUMIDOCRRequest extends AbstractModel {
3829
+ class RecognizePhilippinesDrivingLicenseOCRResponse extends AbstractModel {
3752
3830
  constructor(){
3753
3831
  super();
3754
3832
 
3755
3833
  /**
3756
- * The Base64-encoded value of the image.
3757
- Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
3758
- Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
3759
- Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, only `ImageUrl` is used.
3760
- * @type {string || null}
3834
+ * The Base64-encoded identity photo.
3835
+ * @type {TextDetectionResult || null}
3761
3836
  */
3762
- this.ImageBase64 = null;
3837
+ this.HeadPortrait = null;
3763
3838
 
3764
3839
  /**
3765
- * The URL of the image.
3766
- Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
3767
- Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
3768
- We recommend that you store the image in Tencent Cloud for higher download speed and stability.
3769
- The download speed and stability of non-Tencent Cloud URLs may be low.
3770
- * @type {string || null}
3840
+ * The full name.
3841
+ * @type {TextDetectionResult || null}
3771
3842
  */
3772
- this.ImageUrl = null;
3843
+ this.Name = null;
3773
3844
 
3774
3845
  /**
3775
- * Whether to return the identity photo.
3776
- * @type {boolean || null}
3846
+ * The last name.
3847
+ * @type {TextDetectionResult || null}
3777
3848
  */
3778
- this.ReturnHeadImage = null;
3849
+ this.LastName = null;
3850
+
3851
+ /**
3852
+ * The first name.
3853
+ * @type {TextDetectionResult || null}
3854
+ */
3855
+ this.FirstName = null;
3856
+
3857
+ /**
3858
+ * The middle name.
3859
+ * @type {TextDetectionResult || null}
3860
+ */
3861
+ this.MiddleName = null;
3862
+
3863
+ /**
3864
+ * The nationality.
3865
+ * @type {TextDetectionResult || null}
3866
+ */
3867
+ this.Nationality = null;
3868
+
3869
+ /**
3870
+ * The gender.
3871
+ * @type {TextDetectionResult || null}
3872
+ */
3873
+ this.Sex = null;
3874
+
3875
+ /**
3876
+ * The address.
3877
+ * @type {TextDetectionResult || null}
3878
+ */
3879
+ this.Address = null;
3880
+
3881
+ /**
3882
+ * The license No.
3883
+ * @type {TextDetectionResult || null}
3884
+ */
3885
+ this.LicenseNo = null;
3886
+
3887
+ /**
3888
+ * The expiration date.
3889
+ * @type {TextDetectionResult || null}
3890
+ */
3891
+ this.ExpiresDate = null;
3892
+
3893
+ /**
3894
+ * The agency code.
3895
+ * @type {TextDetectionResult || null}
3896
+ */
3897
+ this.AgencyCode = null;
3898
+
3899
+ /**
3900
+ * The date of birth.
3901
+ * @type {TextDetectionResult || null}
3902
+ */
3903
+ this.Birthday = null;
3904
+
3905
+ /**
3906
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3907
+ * @type {string || null}
3908
+ */
3909
+ this.RequestId = null;
3779
3910
 
3780
3911
  }
3781
3912
 
@@ -3786,9 +3917,79 @@ The download speed and stability of non-Tencent Cloud URLs may be low.
3786
3917
  if (!params) {
3787
3918
  return;
3788
3919
  }
3789
- this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
3790
- this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
3791
- this.ReturnHeadImage = 'ReturnHeadImage' in params ? params.ReturnHeadImage : null;
3920
+
3921
+ if (params.HeadPortrait) {
3922
+ let obj = new TextDetectionResult();
3923
+ obj.deserialize(params.HeadPortrait)
3924
+ this.HeadPortrait = obj;
3925
+ }
3926
+
3927
+ if (params.Name) {
3928
+ let obj = new TextDetectionResult();
3929
+ obj.deserialize(params.Name)
3930
+ this.Name = obj;
3931
+ }
3932
+
3933
+ if (params.LastName) {
3934
+ let obj = new TextDetectionResult();
3935
+ obj.deserialize(params.LastName)
3936
+ this.LastName = obj;
3937
+ }
3938
+
3939
+ if (params.FirstName) {
3940
+ let obj = new TextDetectionResult();
3941
+ obj.deserialize(params.FirstName)
3942
+ this.FirstName = obj;
3943
+ }
3944
+
3945
+ if (params.MiddleName) {
3946
+ let obj = new TextDetectionResult();
3947
+ obj.deserialize(params.MiddleName)
3948
+ this.MiddleName = obj;
3949
+ }
3950
+
3951
+ if (params.Nationality) {
3952
+ let obj = new TextDetectionResult();
3953
+ obj.deserialize(params.Nationality)
3954
+ this.Nationality = obj;
3955
+ }
3956
+
3957
+ if (params.Sex) {
3958
+ let obj = new TextDetectionResult();
3959
+ obj.deserialize(params.Sex)
3960
+ this.Sex = obj;
3961
+ }
3962
+
3963
+ if (params.Address) {
3964
+ let obj = new TextDetectionResult();
3965
+ obj.deserialize(params.Address)
3966
+ this.Address = obj;
3967
+ }
3968
+
3969
+ if (params.LicenseNo) {
3970
+ let obj = new TextDetectionResult();
3971
+ obj.deserialize(params.LicenseNo)
3972
+ this.LicenseNo = obj;
3973
+ }
3974
+
3975
+ if (params.ExpiresDate) {
3976
+ let obj = new TextDetectionResult();
3977
+ obj.deserialize(params.ExpiresDate)
3978
+ this.ExpiresDate = obj;
3979
+ }
3980
+
3981
+ if (params.AgencyCode) {
3982
+ let obj = new TextDetectionResult();
3983
+ obj.deserialize(params.AgencyCode)
3984
+ this.AgencyCode = obj;
3985
+ }
3986
+
3987
+ if (params.Birthday) {
3988
+ let obj = new TextDetectionResult();
3989
+ obj.deserialize(params.Birthday)
3990
+ this.Birthday = obj;
3991
+ }
3992
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3792
3993
 
3793
3994
  }
3794
3995
  }
@@ -4329,16 +4530,21 @@ Note: this field may return null, indicating that no valid values can be obtaine
4329
4530
  this.FakeDetectResult = null;
4330
4531
 
4331
4532
  /**
4332
- * Base64-encoded identity photo
4533
+ * Base64-encoded large primary portrait photo from the left side of the new-generation Hong Kong Identity Card.
4333
4534
  Note: this field may return null, indicating that no valid values can be obtained.
4334
4535
  * @type {string || null}
4335
4536
  */
4336
4537
  this.HeadImage = null;
4337
4538
 
4338
4539
  /**
4339
- * Multiple alarm codes. If the ID card is spoofed, photocopied, or photoshopped, the corresponding alarm code will be returned.
4340
- -9102: Alarm for photocopied document
4341
- -9103: Alarm for spoofed document
4540
+ * Base64-encoded small secondary portrait photo from the right side of the new-generation Hong Kong Identity Card.
4541
+ Note: this field may return null, indicating that no valid values can be obtained.
4542
+ * @type {string || null}
4543
+ */
4544
+ this.SmallHeadImage = null;
4545
+
4546
+ /**
4547
+ * This field is deprecated and will always return an empty array. Usage is not recommended.
4342
4548
  * @type {Array.<number> || null}
4343
4549
  */
4344
4550
  this.WarningCode = null;
@@ -4357,6 +4563,18 @@ Note: this field may return null, indicating that no valid values can be obtaine
4357
4563
  */
4358
4564
  this.WarnCardInfos = null;
4359
4565
 
4566
+ /**
4567
+ * Text information incorporated within the laser-perforated see-through window on the new-generation Hong Kong Identity Card.
4568
+ * @type {string || null}
4569
+ */
4570
+ this.WindowEmbeddedText = null;
4571
+
4572
+ /**
4573
+ * Versions of the Hong Kong Identity Card: HKID-2018, HKID-2003.
4574
+ * @type {string || null}
4575
+ */
4576
+ this.HKIDVersion = null;
4577
+
4360
4578
  /**
4361
4579
  * 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.
4362
4580
  * @type {string || null}
@@ -4384,8 +4602,11 @@ Note: this field may return null, indicating that no valid values can be obtaine
4384
4602
  this.CurrentIssueDate = 'CurrentIssueDate' in params ? params.CurrentIssueDate : null;
4385
4603
  this.FakeDetectResult = 'FakeDetectResult' in params ? params.FakeDetectResult : null;
4386
4604
  this.HeadImage = 'HeadImage' in params ? params.HeadImage : null;
4605
+ this.SmallHeadImage = 'SmallHeadImage' in params ? params.SmallHeadImage : null;
4387
4606
  this.WarningCode = 'WarningCode' in params ? params.WarningCode : null;
4388
4607
  this.WarnCardInfos = 'WarnCardInfos' in params ? params.WarnCardInfos : null;
4608
+ this.WindowEmbeddedText = 'WindowEmbeddedText' in params ? params.WindowEmbeddedText : null;
4609
+ this.HKIDVersion = 'HKIDVersion' in params ? params.HKIDVersion : null;
4389
4610
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
4390
4611
 
4391
4612
  }
@@ -11139,6 +11360,51 @@ V2
11139
11360
  }
11140
11361
  }
11141
11362
 
11363
+ /**
11364
+ * Detected coordinate recognition information.
11365
+ * @class
11366
+ */
11367
+ class CoordsItem extends AbstractModel {
11368
+ constructor(){
11369
+ super();
11370
+
11371
+ /**
11372
+ * Coordinates of four points in the image.
11373
+ * @type {Polygon || null}
11374
+ */
11375
+ this.Polygon = null;
11376
+
11377
+ /**
11378
+ * Coordinates of two points in the image.
11379
+ * @type {ItemCoord || null}
11380
+ */
11381
+ this.Coords = null;
11382
+
11383
+ }
11384
+
11385
+ /**
11386
+ * @private
11387
+ */
11388
+ deserialize(params) {
11389
+ if (!params) {
11390
+ return;
11391
+ }
11392
+
11393
+ if (params.Polygon) {
11394
+ let obj = new Polygon();
11395
+ obj.deserialize(params.Polygon)
11396
+ this.Polygon = obj;
11397
+ }
11398
+
11399
+ if (params.Coords) {
11400
+ let obj = new ItemCoord();
11401
+ obj.deserialize(params.Coords)
11402
+ this.Coords = obj;
11403
+ }
11404
+
11405
+ }
11406
+ }
11407
+
11142
11408
  /**
11143
11409
  * VinOCR request structure.
11144
11410
  * @class
@@ -11795,90 +12061,37 @@ class RecognizeThaiPinkCardResponse extends AbstractModel {
11795
12061
  }
11796
12062
 
11797
12063
  /**
11798
- * RecognizePhilippinesDrivingLicenseOCR response structure.
12064
+ * RecognizePhilippinesUMIDOCR request structure.
11799
12065
  * @class
11800
12066
  */
11801
- class RecognizePhilippinesDrivingLicenseOCRResponse extends AbstractModel {
12067
+ class RecognizePhilippinesUMIDOCRRequest extends AbstractModel {
11802
12068
  constructor(){
11803
12069
  super();
11804
12070
 
11805
12071
  /**
11806
- * The Base64-encoded identity photo.
11807
- * @type {TextDetectionResult || null}
11808
- */
11809
- this.HeadPortrait = null;
11810
-
11811
- /**
11812
- * The full name.
11813
- * @type {TextDetectionResult || null}
11814
- */
11815
- this.Name = null;
11816
-
11817
- /**
11818
- * The last name.
11819
- * @type {TextDetectionResult || null}
11820
- */
11821
- this.LastName = null;
11822
-
11823
- /**
11824
- * The first name.
11825
- * @type {TextDetectionResult || null}
11826
- */
11827
- this.FirstName = null;
11828
-
11829
- /**
11830
- * The middle name.
11831
- * @type {TextDetectionResult || null}
11832
- */
11833
- this.MiddleName = null;
11834
-
11835
- /**
11836
- * The nationality.
11837
- * @type {TextDetectionResult || null}
11838
- */
11839
- this.Nationality = null;
11840
-
11841
- /**
11842
- * The gender.
11843
- * @type {TextDetectionResult || null}
11844
- */
11845
- this.Sex = null;
11846
-
11847
- /**
11848
- * The address.
11849
- * @type {TextDetectionResult || null}
11850
- */
11851
- this.Address = null;
11852
-
11853
- /**
11854
- * The license No.
11855
- * @type {TextDetectionResult || null}
11856
- */
11857
- this.LicenseNo = null;
11858
-
11859
- /**
11860
- * The expiration date.
11861
- * @type {TextDetectionResult || null}
11862
- */
11863
- this.ExpiresDate = null;
11864
-
11865
- /**
11866
- * The agency code.
11867
- * @type {TextDetectionResult || null}
12072
+ * The Base64-encoded value of the image.
12073
+ Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
12074
+ Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
12075
+ Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, only `ImageUrl` is used.
12076
+ * @type {string || null}
11868
12077
  */
11869
- this.AgencyCode = null;
12078
+ this.ImageBase64 = null;
11870
12079
 
11871
12080
  /**
11872
- * The date of birth.
11873
- * @type {TextDetectionResult || null}
12081
+ * The URL of the image.
12082
+ Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
12083
+ Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
12084
+ We recommend that you store the image in Tencent Cloud for higher download speed and stability.
12085
+ The download speed and stability of non-Tencent Cloud URLs may be low.
12086
+ * @type {string || null}
11874
12087
  */
11875
- this.Birthday = null;
12088
+ this.ImageUrl = null;
11876
12089
 
11877
12090
  /**
11878
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
11879
- * @type {string || null}
12091
+ * Whether to return the identity photo.
12092
+ * @type {boolean || null}
11880
12093
  */
11881
- this.RequestId = null;
12094
+ this.ReturnHeadImage = null;
11882
12095
 
11883
12096
  }
11884
12097
 
@@ -11889,79 +12102,9 @@ class RecognizePhilippinesDrivingLicenseOCRResponse extends AbstractModel {
11889
12102
  if (!params) {
11890
12103
  return;
11891
12104
  }
11892
-
11893
- if (params.HeadPortrait) {
11894
- let obj = new TextDetectionResult();
11895
- obj.deserialize(params.HeadPortrait)
11896
- this.HeadPortrait = obj;
11897
- }
11898
-
11899
- if (params.Name) {
11900
- let obj = new TextDetectionResult();
11901
- obj.deserialize(params.Name)
11902
- this.Name = obj;
11903
- }
11904
-
11905
- if (params.LastName) {
11906
- let obj = new TextDetectionResult();
11907
- obj.deserialize(params.LastName)
11908
- this.LastName = obj;
11909
- }
11910
-
11911
- if (params.FirstName) {
11912
- let obj = new TextDetectionResult();
11913
- obj.deserialize(params.FirstName)
11914
- this.FirstName = obj;
11915
- }
11916
-
11917
- if (params.MiddleName) {
11918
- let obj = new TextDetectionResult();
11919
- obj.deserialize(params.MiddleName)
11920
- this.MiddleName = obj;
11921
- }
11922
-
11923
- if (params.Nationality) {
11924
- let obj = new TextDetectionResult();
11925
- obj.deserialize(params.Nationality)
11926
- this.Nationality = obj;
11927
- }
11928
-
11929
- if (params.Sex) {
11930
- let obj = new TextDetectionResult();
11931
- obj.deserialize(params.Sex)
11932
- this.Sex = obj;
11933
- }
11934
-
11935
- if (params.Address) {
11936
- let obj = new TextDetectionResult();
11937
- obj.deserialize(params.Address)
11938
- this.Address = obj;
11939
- }
11940
-
11941
- if (params.LicenseNo) {
11942
- let obj = new TextDetectionResult();
11943
- obj.deserialize(params.LicenseNo)
11944
- this.LicenseNo = obj;
11945
- }
11946
-
11947
- if (params.ExpiresDate) {
11948
- let obj = new TextDetectionResult();
11949
- obj.deserialize(params.ExpiresDate)
11950
- this.ExpiresDate = obj;
11951
- }
11952
-
11953
- if (params.AgencyCode) {
11954
- let obj = new TextDetectionResult();
11955
- obj.deserialize(params.AgencyCode)
11956
- this.AgencyCode = obj;
11957
- }
11958
-
11959
- if (params.Birthday) {
11960
- let obj = new TextDetectionResult();
11961
- obj.deserialize(params.Birthday)
11962
- this.Birthday = obj;
11963
- }
11964
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
12105
+ this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
12106
+ this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
12107
+ this.ReturnHeadImage = 'ReturnHeadImage' in params ? params.ReturnHeadImage : null;
11965
12108
 
11966
12109
  }
11967
12110
  }
@@ -11989,6 +12132,7 @@ module.exports = {
11989
12132
  WordPolygon: WordPolygon,
11990
12133
  FlightItem: FlightItem,
11991
12134
  Value: Value,
12135
+ RecognizeDetectCardCoordsResponse: RecognizeDetectCardCoordsResponse,
11992
12136
  SealInfo: SealInfo,
11993
12137
  RecognizePhilippinesVoteIDOCRRequest: RecognizePhilippinesVoteIDOCRRequest,
11994
12138
  RecognizeKoreanDrivingLicenseOCRRequest: RecognizeKoreanDrivingLicenseOCRRequest,
@@ -11996,6 +12140,7 @@ module.exports = {
11996
12140
  OtherInvoiceItem: OtherInvoiceItem,
11997
12141
  SmartStructuralProRequest: SmartStructuralProRequest,
11998
12142
  LicensePlateOCRResponse: LicensePlateOCRResponse,
12143
+ RecognizeDetectCardCoordsRequest: RecognizeDetectCardCoordsRequest,
11999
12144
  VatInvoiceItemInfo: VatInvoiceItemInfo,
12000
12145
  MainlandPermitOCRRequest: MainlandPermitOCRRequest,
12001
12146
  RecognizeBrazilCommonOCRRequest: RecognizeBrazilCommonOCRRequest,
@@ -12014,7 +12159,7 @@ module.exports = {
12014
12159
  GeneralBasicOCRResponse: GeneralBasicOCRResponse,
12015
12160
  RecognizeThaiIDCardOCRResponse: RecognizeThaiIDCardOCRResponse,
12016
12161
  OtherInvoice: OtherInvoice,
12017
- RecognizePhilippinesUMIDOCRRequest: RecognizePhilippinesUMIDOCRRequest,
12162
+ RecognizePhilippinesDrivingLicenseOCRResponse: RecognizePhilippinesDrivingLicenseOCRResponse,
12018
12163
  BankCardOCRRequest: BankCardOCRRequest,
12019
12164
  RecognizePhilippinesSssIDOCRRequest: RecognizePhilippinesSssIDOCRRequest,
12020
12165
  Key: Key,
@@ -12088,6 +12233,7 @@ module.exports = {
12088
12233
  RecognizeBrazilDriverLicenseOCRResponse: RecognizeBrazilDriverLicenseOCRResponse,
12089
12234
  BrazilCardInfo: BrazilCardInfo,
12090
12235
  RecognizeIndonesiaIDCardOCRRequest: RecognizeIndonesiaIDCardOCRRequest,
12236
+ CoordsItem: CoordsItem,
12091
12237
  VinOCRRequest: VinOCRRequest,
12092
12238
  BrazilRNEInfo: BrazilRNEInfo,
12093
12239
  MLIDCardOCRResponse: MLIDCardOCRResponse,
@@ -12095,6 +12241,6 @@ module.exports = {
12095
12241
  RecognizeThaiPinkCardRequest: RecognizeThaiPinkCardRequest,
12096
12242
  BankCardOCRResponse: BankCardOCRResponse,
12097
12243
  RecognizeThaiPinkCardResponse: RecognizeThaiPinkCardResponse,
12098
- RecognizePhilippinesDrivingLicenseOCRResponse: RecognizePhilippinesDrivingLicenseOCRResponse,
12244
+ RecognizePhilippinesUMIDOCRRequest: RecognizePhilippinesUMIDOCRRequest,
12099
12245
 
12100
12246
  }
@@ -38,6 +38,7 @@ const HmtResidentPermitOCRResponse = models.HmtResidentPermitOCRResponse;
38
38
  const WordPolygon = models.WordPolygon;
39
39
  const FlightItem = models.FlightItem;
40
40
  const Value = models.Value;
41
+ const RecognizeDetectCardCoordsResponse = models.RecognizeDetectCardCoordsResponse;
41
42
  const SealInfo = models.SealInfo;
42
43
  const RecognizePhilippinesVoteIDOCRRequest = models.RecognizePhilippinesVoteIDOCRRequest;
43
44
  const RecognizeKoreanDrivingLicenseOCRRequest = models.RecognizeKoreanDrivingLicenseOCRRequest;
@@ -45,6 +46,7 @@ const BrazilRNMInfo = models.BrazilRNMInfo;
45
46
  const OtherInvoiceItem = models.OtherInvoiceItem;
46
47
  const SmartStructuralProRequest = models.SmartStructuralProRequest;
47
48
  const LicensePlateOCRResponse = models.LicensePlateOCRResponse;
49
+ const RecognizeDetectCardCoordsRequest = models.RecognizeDetectCardCoordsRequest;
48
50
  const VatInvoiceItemInfo = models.VatInvoiceItemInfo;
49
51
  const MainlandPermitOCRRequest = models.MainlandPermitOCRRequest;
50
52
  const RecognizeBrazilCommonOCRRequest = models.RecognizeBrazilCommonOCRRequest;
@@ -63,7 +65,7 @@ const RecognizeGeneralInvoiceRequest = models.RecognizeGeneralInvoiceRequest;
63
65
  const GeneralBasicOCRResponse = models.GeneralBasicOCRResponse;
64
66
  const RecognizeThaiIDCardOCRResponse = models.RecognizeThaiIDCardOCRResponse;
65
67
  const OtherInvoice = models.OtherInvoice;
66
- const RecognizePhilippinesUMIDOCRRequest = models.RecognizePhilippinesUMIDOCRRequest;
68
+ const RecognizePhilippinesDrivingLicenseOCRResponse = models.RecognizePhilippinesDrivingLicenseOCRResponse;
67
69
  const BankCardOCRRequest = models.BankCardOCRRequest;
68
70
  const RecognizePhilippinesSssIDOCRRequest = models.RecognizePhilippinesSssIDOCRRequest;
69
71
  const Key = models.Key;
@@ -137,6 +139,7 @@ const DetectedWordCoordPoint = models.DetectedWordCoordPoint;
137
139
  const RecognizeBrazilDriverLicenseOCRResponse = models.RecognizeBrazilDriverLicenseOCRResponse;
138
140
  const BrazilCardInfo = models.BrazilCardInfo;
139
141
  const RecognizeIndonesiaIDCardOCRRequest = models.RecognizeIndonesiaIDCardOCRRequest;
142
+ const CoordsItem = models.CoordsItem;
140
143
  const VinOCRRequest = models.VinOCRRequest;
141
144
  const BrazilRNEInfo = models.BrazilRNEInfo;
142
145
  const MLIDCardOCRResponse = models.MLIDCardOCRResponse;
@@ -144,7 +147,7 @@ const RecognizePhilippinesTinIDOCRRequest = models.RecognizePhilippinesTinIDOCRR
144
147
  const RecognizeThaiPinkCardRequest = models.RecognizeThaiPinkCardRequest;
145
148
  const BankCardOCRResponse = models.BankCardOCRResponse;
146
149
  const RecognizeThaiPinkCardResponse = models.RecognizeThaiPinkCardResponse;
147
- const RecognizePhilippinesDrivingLicenseOCRResponse = models.RecognizePhilippinesDrivingLicenseOCRResponse;
150
+ const RecognizePhilippinesUMIDOCRRequest = models.RecognizePhilippinesUMIDOCRRequest;
148
151
 
149
152
 
150
153
  /**
@@ -307,6 +310,17 @@ A maximum of 2 requests can be initiated per second for this API.
307
310
  this.request("RecognizeTableAccurateOCR", req, resp, cb);
308
311
  }
309
312
 
313
+ /**
314
+ * This API is used to recognize the coordinates of four corners of cards.
315
+ * @param {RecognizeDetectCardCoordsRequest} req
316
+ * @param {function(string, RecognizeDetectCardCoordsResponse):void} cb
317
+ * @public
318
+ */
319
+ RecognizeDetectCardCoords(req, cb) {
320
+ let resp = new RecognizeDetectCardCoordsResponse();
321
+ this.request("RecognizeDetectCardCoords", req, resp, cb);
322
+ }
323
+
310
324
  /**
311
325
  * This API is used to recognize the vehicle identification number (VIN) in an image.
312
326
  * @param {VinOCRRequest} req