tencentcloud-sdk-python-intl-en 3.0.1123__py2.py3-none-any.whl → 3.0.1124__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/faceid/v20180301/models.py +15 -0
- tencentcloud/ocr/v20181119/errorcodes.py +3 -0
- tencentcloud/ocr/v20181119/models.py +342 -0
- tencentcloud/ocr/v20181119/ocr_client.py +26 -0
- {tencentcloud_sdk_python_intl_en-3.0.1123.dist-info → tencentcloud_sdk_python_intl_en-3.0.1124.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1123.dist-info → tencentcloud_sdk_python_intl_en-3.0.1124.dist-info}/RECORD +9 -9
- {tencentcloud_sdk_python_intl_en-3.0.1123.dist-info → tencentcloud_sdk_python_intl_en-3.0.1124.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1123.dist-info → tencentcloud_sdk_python_intl_en-3.0.1124.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -10630,6 +10630,8 @@ Single action example: "blink"
|
|
|
10630
10630
|
Multiple action example: "blink,mouth"
|
|
10631
10631
|
The default value is blink. The different action types passed in this parameter take effect only when the SecurityLevel is 2, 4, or 5; otherwise, the interface reports an error.
|
|
10632
10632
|
:type ActionList: str
|
|
10633
|
+
:param _LivenessRetryLimit: Control liveness retry number.The value range is 1-99.
|
|
10634
|
+
:type LivenessRetryLimit: int
|
|
10633
10635
|
"""
|
|
10634
10636
|
self._AutoSkipStartPage = None
|
|
10635
10637
|
self._AutoSkip = None
|
|
@@ -10643,6 +10645,7 @@ The default value is blink. The different action types passed in this parameter
|
|
|
10643
10645
|
self._Language = None
|
|
10644
10646
|
self._AutoDowngrade = None
|
|
10645
10647
|
self._ActionList = None
|
|
10648
|
+
self._LivenessRetryLimit = None
|
|
10646
10649
|
|
|
10647
10650
|
@property
|
|
10648
10651
|
def AutoSkipStartPage(self):
|
|
@@ -10813,6 +10816,17 @@ The default value is blink. The different action types passed in this parameter
|
|
|
10813
10816
|
def ActionList(self, ActionList):
|
|
10814
10817
|
self._ActionList = ActionList
|
|
10815
10818
|
|
|
10819
|
+
@property
|
|
10820
|
+
def LivenessRetryLimit(self):
|
|
10821
|
+
"""Control liveness retry number.The value range is 1-99.
|
|
10822
|
+
:rtype: int
|
|
10823
|
+
"""
|
|
10824
|
+
return self._LivenessRetryLimit
|
|
10825
|
+
|
|
10826
|
+
@LivenessRetryLimit.setter
|
|
10827
|
+
def LivenessRetryLimit(self, LivenessRetryLimit):
|
|
10828
|
+
self._LivenessRetryLimit = LivenessRetryLimit
|
|
10829
|
+
|
|
10816
10830
|
|
|
10817
10831
|
def _deserialize(self, params):
|
|
10818
10832
|
self._AutoSkipStartPage = params.get("AutoSkipStartPage")
|
|
@@ -10827,6 +10841,7 @@ The default value is blink. The different action types passed in this parameter
|
|
|
10827
10841
|
self._Language = params.get("Language")
|
|
10828
10842
|
self._AutoDowngrade = params.get("AutoDowngrade")
|
|
10829
10843
|
self._ActionList = params.get("ActionList")
|
|
10844
|
+
self._LivenessRetryLimit = params.get("LivenessRetryLimit")
|
|
10830
10845
|
memeber_set = set(params.keys())
|
|
10831
10846
|
for name, value in vars(self).items():
|
|
10832
10847
|
property_name = name[1:]
|
|
@@ -11506,6 +11506,348 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
11506
11506
|
self._RequestId = params.get("RequestId")
|
|
11507
11507
|
|
|
11508
11508
|
|
|
11509
|
+
class RecognizeThaiPinkCardRequest(AbstractModel):
|
|
11510
|
+
"""RecognizeThaiPinkCard request structure.
|
|
11511
|
+
|
|
11512
|
+
"""
|
|
11513
|
+
|
|
11514
|
+
def __init__(self):
|
|
11515
|
+
r"""
|
|
11516
|
+
:param _ImageBase64: The Base64-encoded value of an image. The image cannot exceed 7 MB after being Base64-encoded. A resolution above 500 x 800 is recommended. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupy more than 2/3 area of the image.
|
|
11517
|
+
Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, `ImageUrl` is used.
|
|
11518
|
+
:type ImageBase64: str
|
|
11519
|
+
:param _ImageUrl: The URL of the image. The image cannot exceed 7 MB after being Base64-encoded. A resolution above 500 x 800 is recommended. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupy more than 2/3 area of the image.
|
|
11520
|
+
We recommend that you store the image in Tencent Cloud for higher download speed and stability.
|
|
11521
|
+
:type ImageUrl: str
|
|
11522
|
+
:param _CropPortrait: Whether to crop the profile photo. The default value is `false`, meaning not to return the Base64-encoded value of the profile photo on the Thai identity card.
|
|
11523
|
+
When this parameter is set to `true`, the Base64-encoded value of the profile photo on the Thai identity card after rotation correction is returned.
|
|
11524
|
+
:type CropPortrait: bool
|
|
11525
|
+
"""
|
|
11526
|
+
self._ImageBase64 = None
|
|
11527
|
+
self._ImageUrl = None
|
|
11528
|
+
self._CropPortrait = None
|
|
11529
|
+
|
|
11530
|
+
@property
|
|
11531
|
+
def ImageBase64(self):
|
|
11532
|
+
"""The Base64-encoded value of an image. The image cannot exceed 7 MB after being Base64-encoded. A resolution above 500 x 800 is recommended. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupy more than 2/3 area of the image.
|
|
11533
|
+
Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, `ImageUrl` is used.
|
|
11534
|
+
:rtype: str
|
|
11535
|
+
"""
|
|
11536
|
+
return self._ImageBase64
|
|
11537
|
+
|
|
11538
|
+
@ImageBase64.setter
|
|
11539
|
+
def ImageBase64(self, ImageBase64):
|
|
11540
|
+
self._ImageBase64 = ImageBase64
|
|
11541
|
+
|
|
11542
|
+
@property
|
|
11543
|
+
def ImageUrl(self):
|
|
11544
|
+
"""The URL of the image. The image cannot exceed 7 MB after being Base64-encoded. A resolution above 500 x 800 is recommended. PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupy more than 2/3 area of the image.
|
|
11545
|
+
We recommend that you store the image in Tencent Cloud for higher download speed and stability.
|
|
11546
|
+
:rtype: str
|
|
11547
|
+
"""
|
|
11548
|
+
return self._ImageUrl
|
|
11549
|
+
|
|
11550
|
+
@ImageUrl.setter
|
|
11551
|
+
def ImageUrl(self, ImageUrl):
|
|
11552
|
+
self._ImageUrl = ImageUrl
|
|
11553
|
+
|
|
11554
|
+
@property
|
|
11555
|
+
def CropPortrait(self):
|
|
11556
|
+
"""Whether to crop the profile photo. The default value is `false`, meaning not to return the Base64-encoded value of the profile photo on the Thai identity card.
|
|
11557
|
+
When this parameter is set to `true`, the Base64-encoded value of the profile photo on the Thai identity card after rotation correction is returned.
|
|
11558
|
+
:rtype: bool
|
|
11559
|
+
"""
|
|
11560
|
+
return self._CropPortrait
|
|
11561
|
+
|
|
11562
|
+
@CropPortrait.setter
|
|
11563
|
+
def CropPortrait(self, CropPortrait):
|
|
11564
|
+
self._CropPortrait = CropPortrait
|
|
11565
|
+
|
|
11566
|
+
|
|
11567
|
+
def _deserialize(self, params):
|
|
11568
|
+
self._ImageBase64 = params.get("ImageBase64")
|
|
11569
|
+
self._ImageUrl = params.get("ImageUrl")
|
|
11570
|
+
self._CropPortrait = params.get("CropPortrait")
|
|
11571
|
+
memeber_set = set(params.keys())
|
|
11572
|
+
for name, value in vars(self).items():
|
|
11573
|
+
property_name = name[1:]
|
|
11574
|
+
if property_name in memeber_set:
|
|
11575
|
+
memeber_set.remove(property_name)
|
|
11576
|
+
if len(memeber_set) > 0:
|
|
11577
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11578
|
+
|
|
11579
|
+
|
|
11580
|
+
|
|
11581
|
+
class RecognizeThaiPinkCardResponse(AbstractModel):
|
|
11582
|
+
"""RecognizeThaiPinkCard response structure.
|
|
11583
|
+
|
|
11584
|
+
"""
|
|
11585
|
+
|
|
11586
|
+
def __init__(self):
|
|
11587
|
+
r"""
|
|
11588
|
+
:param _Country: Country
|
|
11589
|
+
:type Country: str
|
|
11590
|
+
:param _IDNumber: ID number
|
|
11591
|
+
:type IDNumber: str
|
|
11592
|
+
:param _ThaiName: Name in Thai
|
|
11593
|
+
:type ThaiName: str
|
|
11594
|
+
:param _EnName: Name in English
|
|
11595
|
+
:type EnName: str
|
|
11596
|
+
:param _ThaiDOB: Date of birth in Thai
|
|
11597
|
+
:type ThaiDOB: str
|
|
11598
|
+
:param _EnDOB: Date of birth in English
|
|
11599
|
+
:type EnDOB: str
|
|
11600
|
+
:param _PhotoNumber: Photo number
|
|
11601
|
+
:type PhotoNumber: str
|
|
11602
|
+
:param _ThaiAddress: Address in Thai
|
|
11603
|
+
:type ThaiAddress: str
|
|
11604
|
+
:param _ThaiDateOfIssue: Date of issue in Thai
|
|
11605
|
+
:type ThaiDateOfIssue: str
|
|
11606
|
+
:param _DateOfIssue: Date of issue in English
|
|
11607
|
+
:type DateOfIssue: str
|
|
11608
|
+
:param _ThaiDateOfExpiry: Expiration date in Thai
|
|
11609
|
+
:type ThaiDateOfExpiry: str
|
|
11610
|
+
:param _DateOfExpiry: Expiration date in English
|
|
11611
|
+
:type DateOfExpiry: str
|
|
11612
|
+
:param _IssuingAgency: Issuing agency
|
|
11613
|
+
:type IssuingAgency: str
|
|
11614
|
+
:param _RefNumber: Ref number
|
|
11615
|
+
:type RefNumber: str
|
|
11616
|
+
:param _AdvancedInfo: Field confidence:
|
|
11617
|
+
{ "ID": { "Confidence": 0.9999 }, "ThaiName": { "Confidence": 0.9996 } }
|
|
11618
|
+
:type AdvancedInfo: str
|
|
11619
|
+
:param _PortraitImage: Identity photo
|
|
11620
|
+
:type PortraitImage: str
|
|
11621
|
+
:param _RequestId: 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.
|
|
11622
|
+
:type RequestId: str
|
|
11623
|
+
"""
|
|
11624
|
+
self._Country = None
|
|
11625
|
+
self._IDNumber = None
|
|
11626
|
+
self._ThaiName = None
|
|
11627
|
+
self._EnName = None
|
|
11628
|
+
self._ThaiDOB = None
|
|
11629
|
+
self._EnDOB = None
|
|
11630
|
+
self._PhotoNumber = None
|
|
11631
|
+
self._ThaiAddress = None
|
|
11632
|
+
self._ThaiDateOfIssue = None
|
|
11633
|
+
self._DateOfIssue = None
|
|
11634
|
+
self._ThaiDateOfExpiry = None
|
|
11635
|
+
self._DateOfExpiry = None
|
|
11636
|
+
self._IssuingAgency = None
|
|
11637
|
+
self._RefNumber = None
|
|
11638
|
+
self._AdvancedInfo = None
|
|
11639
|
+
self._PortraitImage = None
|
|
11640
|
+
self._RequestId = None
|
|
11641
|
+
|
|
11642
|
+
@property
|
|
11643
|
+
def Country(self):
|
|
11644
|
+
"""Country
|
|
11645
|
+
:rtype: str
|
|
11646
|
+
"""
|
|
11647
|
+
return self._Country
|
|
11648
|
+
|
|
11649
|
+
@Country.setter
|
|
11650
|
+
def Country(self, Country):
|
|
11651
|
+
self._Country = Country
|
|
11652
|
+
|
|
11653
|
+
@property
|
|
11654
|
+
def IDNumber(self):
|
|
11655
|
+
"""ID number
|
|
11656
|
+
:rtype: str
|
|
11657
|
+
"""
|
|
11658
|
+
return self._IDNumber
|
|
11659
|
+
|
|
11660
|
+
@IDNumber.setter
|
|
11661
|
+
def IDNumber(self, IDNumber):
|
|
11662
|
+
self._IDNumber = IDNumber
|
|
11663
|
+
|
|
11664
|
+
@property
|
|
11665
|
+
def ThaiName(self):
|
|
11666
|
+
"""Name in Thai
|
|
11667
|
+
:rtype: str
|
|
11668
|
+
"""
|
|
11669
|
+
return self._ThaiName
|
|
11670
|
+
|
|
11671
|
+
@ThaiName.setter
|
|
11672
|
+
def ThaiName(self, ThaiName):
|
|
11673
|
+
self._ThaiName = ThaiName
|
|
11674
|
+
|
|
11675
|
+
@property
|
|
11676
|
+
def EnName(self):
|
|
11677
|
+
"""Name in English
|
|
11678
|
+
:rtype: str
|
|
11679
|
+
"""
|
|
11680
|
+
return self._EnName
|
|
11681
|
+
|
|
11682
|
+
@EnName.setter
|
|
11683
|
+
def EnName(self, EnName):
|
|
11684
|
+
self._EnName = EnName
|
|
11685
|
+
|
|
11686
|
+
@property
|
|
11687
|
+
def ThaiDOB(self):
|
|
11688
|
+
"""Date of birth in Thai
|
|
11689
|
+
:rtype: str
|
|
11690
|
+
"""
|
|
11691
|
+
return self._ThaiDOB
|
|
11692
|
+
|
|
11693
|
+
@ThaiDOB.setter
|
|
11694
|
+
def ThaiDOB(self, ThaiDOB):
|
|
11695
|
+
self._ThaiDOB = ThaiDOB
|
|
11696
|
+
|
|
11697
|
+
@property
|
|
11698
|
+
def EnDOB(self):
|
|
11699
|
+
"""Date of birth in English
|
|
11700
|
+
:rtype: str
|
|
11701
|
+
"""
|
|
11702
|
+
return self._EnDOB
|
|
11703
|
+
|
|
11704
|
+
@EnDOB.setter
|
|
11705
|
+
def EnDOB(self, EnDOB):
|
|
11706
|
+
self._EnDOB = EnDOB
|
|
11707
|
+
|
|
11708
|
+
@property
|
|
11709
|
+
def PhotoNumber(self):
|
|
11710
|
+
"""Photo number
|
|
11711
|
+
:rtype: str
|
|
11712
|
+
"""
|
|
11713
|
+
return self._PhotoNumber
|
|
11714
|
+
|
|
11715
|
+
@PhotoNumber.setter
|
|
11716
|
+
def PhotoNumber(self, PhotoNumber):
|
|
11717
|
+
self._PhotoNumber = PhotoNumber
|
|
11718
|
+
|
|
11719
|
+
@property
|
|
11720
|
+
def ThaiAddress(self):
|
|
11721
|
+
"""Address in Thai
|
|
11722
|
+
:rtype: str
|
|
11723
|
+
"""
|
|
11724
|
+
return self._ThaiAddress
|
|
11725
|
+
|
|
11726
|
+
@ThaiAddress.setter
|
|
11727
|
+
def ThaiAddress(self, ThaiAddress):
|
|
11728
|
+
self._ThaiAddress = ThaiAddress
|
|
11729
|
+
|
|
11730
|
+
@property
|
|
11731
|
+
def ThaiDateOfIssue(self):
|
|
11732
|
+
"""Date of issue in Thai
|
|
11733
|
+
:rtype: str
|
|
11734
|
+
"""
|
|
11735
|
+
return self._ThaiDateOfIssue
|
|
11736
|
+
|
|
11737
|
+
@ThaiDateOfIssue.setter
|
|
11738
|
+
def ThaiDateOfIssue(self, ThaiDateOfIssue):
|
|
11739
|
+
self._ThaiDateOfIssue = ThaiDateOfIssue
|
|
11740
|
+
|
|
11741
|
+
@property
|
|
11742
|
+
def DateOfIssue(self):
|
|
11743
|
+
"""Date of issue in English
|
|
11744
|
+
:rtype: str
|
|
11745
|
+
"""
|
|
11746
|
+
return self._DateOfIssue
|
|
11747
|
+
|
|
11748
|
+
@DateOfIssue.setter
|
|
11749
|
+
def DateOfIssue(self, DateOfIssue):
|
|
11750
|
+
self._DateOfIssue = DateOfIssue
|
|
11751
|
+
|
|
11752
|
+
@property
|
|
11753
|
+
def ThaiDateOfExpiry(self):
|
|
11754
|
+
"""Expiration date in Thai
|
|
11755
|
+
:rtype: str
|
|
11756
|
+
"""
|
|
11757
|
+
return self._ThaiDateOfExpiry
|
|
11758
|
+
|
|
11759
|
+
@ThaiDateOfExpiry.setter
|
|
11760
|
+
def ThaiDateOfExpiry(self, ThaiDateOfExpiry):
|
|
11761
|
+
self._ThaiDateOfExpiry = ThaiDateOfExpiry
|
|
11762
|
+
|
|
11763
|
+
@property
|
|
11764
|
+
def DateOfExpiry(self):
|
|
11765
|
+
"""Expiration date in English
|
|
11766
|
+
:rtype: str
|
|
11767
|
+
"""
|
|
11768
|
+
return self._DateOfExpiry
|
|
11769
|
+
|
|
11770
|
+
@DateOfExpiry.setter
|
|
11771
|
+
def DateOfExpiry(self, DateOfExpiry):
|
|
11772
|
+
self._DateOfExpiry = DateOfExpiry
|
|
11773
|
+
|
|
11774
|
+
@property
|
|
11775
|
+
def IssuingAgency(self):
|
|
11776
|
+
"""Issuing agency
|
|
11777
|
+
:rtype: str
|
|
11778
|
+
"""
|
|
11779
|
+
return self._IssuingAgency
|
|
11780
|
+
|
|
11781
|
+
@IssuingAgency.setter
|
|
11782
|
+
def IssuingAgency(self, IssuingAgency):
|
|
11783
|
+
self._IssuingAgency = IssuingAgency
|
|
11784
|
+
|
|
11785
|
+
@property
|
|
11786
|
+
def RefNumber(self):
|
|
11787
|
+
"""Ref number
|
|
11788
|
+
:rtype: str
|
|
11789
|
+
"""
|
|
11790
|
+
return self._RefNumber
|
|
11791
|
+
|
|
11792
|
+
@RefNumber.setter
|
|
11793
|
+
def RefNumber(self, RefNumber):
|
|
11794
|
+
self._RefNumber = RefNumber
|
|
11795
|
+
|
|
11796
|
+
@property
|
|
11797
|
+
def AdvancedInfo(self):
|
|
11798
|
+
"""Field confidence:
|
|
11799
|
+
{ "ID": { "Confidence": 0.9999 }, "ThaiName": { "Confidence": 0.9996 } }
|
|
11800
|
+
:rtype: str
|
|
11801
|
+
"""
|
|
11802
|
+
return self._AdvancedInfo
|
|
11803
|
+
|
|
11804
|
+
@AdvancedInfo.setter
|
|
11805
|
+
def AdvancedInfo(self, AdvancedInfo):
|
|
11806
|
+
self._AdvancedInfo = AdvancedInfo
|
|
11807
|
+
|
|
11808
|
+
@property
|
|
11809
|
+
def PortraitImage(self):
|
|
11810
|
+
"""Identity photo
|
|
11811
|
+
:rtype: str
|
|
11812
|
+
"""
|
|
11813
|
+
return self._PortraitImage
|
|
11814
|
+
|
|
11815
|
+
@PortraitImage.setter
|
|
11816
|
+
def PortraitImage(self, PortraitImage):
|
|
11817
|
+
self._PortraitImage = PortraitImage
|
|
11818
|
+
|
|
11819
|
+
@property
|
|
11820
|
+
def RequestId(self):
|
|
11821
|
+
"""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.
|
|
11822
|
+
:rtype: str
|
|
11823
|
+
"""
|
|
11824
|
+
return self._RequestId
|
|
11825
|
+
|
|
11826
|
+
@RequestId.setter
|
|
11827
|
+
def RequestId(self, RequestId):
|
|
11828
|
+
self._RequestId = RequestId
|
|
11829
|
+
|
|
11830
|
+
|
|
11831
|
+
def _deserialize(self, params):
|
|
11832
|
+
self._Country = params.get("Country")
|
|
11833
|
+
self._IDNumber = params.get("IDNumber")
|
|
11834
|
+
self._ThaiName = params.get("ThaiName")
|
|
11835
|
+
self._EnName = params.get("EnName")
|
|
11836
|
+
self._ThaiDOB = params.get("ThaiDOB")
|
|
11837
|
+
self._EnDOB = params.get("EnDOB")
|
|
11838
|
+
self._PhotoNumber = params.get("PhotoNumber")
|
|
11839
|
+
self._ThaiAddress = params.get("ThaiAddress")
|
|
11840
|
+
self._ThaiDateOfIssue = params.get("ThaiDateOfIssue")
|
|
11841
|
+
self._DateOfIssue = params.get("DateOfIssue")
|
|
11842
|
+
self._ThaiDateOfExpiry = params.get("ThaiDateOfExpiry")
|
|
11843
|
+
self._DateOfExpiry = params.get("DateOfExpiry")
|
|
11844
|
+
self._IssuingAgency = params.get("IssuingAgency")
|
|
11845
|
+
self._RefNumber = params.get("RefNumber")
|
|
11846
|
+
self._AdvancedInfo = params.get("AdvancedInfo")
|
|
11847
|
+
self._PortraitImage = params.get("PortraitImage")
|
|
11848
|
+
self._RequestId = params.get("RequestId")
|
|
11849
|
+
|
|
11850
|
+
|
|
11509
11851
|
class Rect(AbstractModel):
|
|
11510
11852
|
"""Coordinates
|
|
11511
11853
|
|
|
@@ -814,6 +814,32 @@ class OcrClient(AbstractClient):
|
|
|
814
814
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
815
815
|
|
|
816
816
|
|
|
817
|
+
def RecognizeThaiPinkCard(self, request):
|
|
818
|
+
"""This API is used to recognize the fields on a Thai identity card, including name in Thai, name in English, address, date of birth, identification number, date of issue, and date of expiry.
|
|
819
|
+
Currently, this API is not generally available. For more information, please [contact your sales rep](https://intl.cloud.tencent.com/about/connect?from_cn_redirect=1).
|
|
820
|
+
|
|
821
|
+
A maximum of 5 requests can be initiated per second for this API.
|
|
822
|
+
|
|
823
|
+
:param request: Request instance for RecognizeThaiPinkCard.
|
|
824
|
+
:type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeThaiPinkCardRequest`
|
|
825
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeThaiPinkCardResponse`
|
|
826
|
+
|
|
827
|
+
"""
|
|
828
|
+
try:
|
|
829
|
+
params = request._serialize()
|
|
830
|
+
headers = request.headers
|
|
831
|
+
body = self.call("RecognizeThaiPinkCard", params, headers=headers)
|
|
832
|
+
response = json.loads(body)
|
|
833
|
+
model = models.RecognizeThaiPinkCardResponse()
|
|
834
|
+
model._deserialize(response["Response"])
|
|
835
|
+
return model
|
|
836
|
+
except Exception as e:
|
|
837
|
+
if isinstance(e, TencentCloudSDKException):
|
|
838
|
+
raise
|
|
839
|
+
else:
|
|
840
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
841
|
+
|
|
842
|
+
|
|
817
843
|
def SealOCR(self, request):
|
|
818
844
|
"""This API is used to recognize various types of seals, including invoice seals and finance seals. It is suitable for scenarios such as official document and invoice/ticket OCR.
|
|
819
845
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=Qf08A1fmXDokWv37QqEd-Iu9dFn6GxVkVYftyJMmeh4,630
|
|
2
2
|
tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/advisor/v20200721/advisor_client.py,sha256=b5pLP_oF5HZHo4xbn-hI4dkpnirhcHB2rNDWvGf4q1Y,2919
|
|
@@ -284,7 +284,7 @@ tencentcloud/faceid/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
|
284
284
|
tencentcloud/faceid/v20180301/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
285
285
|
tencentcloud/faceid/v20180301/errorcodes.py,sha256=if59ahLlNuG4TVb3s0bhJCMW1xLyzLjogKgDud_YkTA,9962
|
|
286
286
|
tencentcloud/faceid/v20180301/faceid_client.py,sha256=Zto1akPPCqRbpysgrABFKtz3f-x0Rb-G8pfnPe15RtU,24130
|
|
287
|
-
tencentcloud/faceid/v20180301/models.py,sha256=
|
|
287
|
+
tencentcloud/faceid/v20180301/models.py,sha256=pCTKImFG_FWvmB11QJyuIGnhuQfSnZG6nzQzv8xNhgI,382932
|
|
288
288
|
tencentcloud/gaap/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
289
289
|
tencentcloud/gaap/v20180529/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
290
290
|
tencentcloud/gaap/v20180529/errorcodes.py,sha256=hco_fu2P-boFi-3-kcpWCYfaay9RrwmhwHLqzvry2xM,11142
|
|
@@ -397,9 +397,9 @@ tencentcloud/msp/v20180319/models.py,sha256=z_2vqu4CEbs0hnqwi0VkGgLg66FmcwqaZgLt
|
|
|
397
397
|
tencentcloud/msp/v20180319/msp_client.py,sha256=XkSbJuPDAeY7elyJ5ByR2wNL0HiFO6Xa9hqgMT-5sCU,7596
|
|
398
398
|
tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
399
399
|
tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
400
|
-
tencentcloud/ocr/v20181119/errorcodes.py,sha256=
|
|
401
|
-
tencentcloud/ocr/v20181119/models.py,sha256=
|
|
402
|
-
tencentcloud/ocr/v20181119/ocr_client.py,sha256=
|
|
400
|
+
tencentcloud/ocr/v20181119/errorcodes.py,sha256=nWA-KbovxQzbkbnNsCXMUl11aLX1fFKD3flp-u-GBrA,3894
|
|
401
|
+
tencentcloud/ocr/v20181119/models.py,sha256=1PBDuHbIIG_sTDMC2mf1cS9NigIZD_MeRlthcmseuXk,539415
|
|
402
|
+
tencentcloud/ocr/v20181119/ocr_client.py,sha256=Ik0sPPU_DNwq6A_0Kiu5myuT7briEymxSFyFSsvXBpA,46393
|
|
403
403
|
tencentcloud/omics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
404
404
|
tencentcloud/omics/v20221128/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
405
405
|
tencentcloud/omics/v20221128/errorcodes.py,sha256=VEkh5arAi4YIbf5y4krDS23zC6KcL6WnOxhpPLsiCGc,4862
|
|
@@ -614,7 +614,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
614
614
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
|
|
615
615
|
tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
|
|
616
616
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
|
|
617
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
618
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
619
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
620
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
617
|
+
tencentcloud_sdk_python_intl_en-3.0.1124.dist-info/METADATA,sha256=aIazeUZmUHOmG5C-PfIKX1yaTzMw2lKByv8BJA7nmyc,1628
|
|
618
|
+
tencentcloud_sdk_python_intl_en-3.0.1124.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
619
|
+
tencentcloud_sdk_python_intl_en-3.0.1124.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
620
|
+
tencentcloud_sdk_python_intl_en-3.0.1124.dist-info/RECORD,,
|
|
File without changes
|