tencentcloud-sdk-python-intl-en 3.0.1137__py2.py3-none-any.whl → 3.0.1139__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/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +610 -0
- tencentcloud/mps/v20190612/models.py +60 -0
- tencentcloud/ocr/v20181119/models.py +364 -0
- tencentcloud/ocr/v20181119/ocr_client.py +23 -0
- tencentcloud/teo/v20220901/errorcodes.py +4 -1
- tencentcloud/teo/v20220901/models.py +6527 -498
- tencentcloud/teo/v20220901/teo_client.py +243 -13
- {tencentcloud_sdk_python_intl_en-3.0.1137.dist-info → tencentcloud_sdk_python_intl_en-3.0.1139.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1137.dist-info → tencentcloud_sdk_python_intl_en-3.0.1139.dist-info}/RECORD +13 -13
- {tencentcloud_sdk_python_intl_en-3.0.1137.dist-info → tencentcloud_sdk_python_intl_en-3.0.1139.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1137.dist-info → tencentcloud_sdk_python_intl_en-3.0.1139.dist-info}/top_level.txt +0 -0
|
@@ -4316,6 +4316,10 @@ class AiParagraphInfo(AbstractModel):
|
|
|
4316
4316
|
:param _Summary: Segment summary.
|
|
4317
4317
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4318
4318
|
:type Summary: str
|
|
4319
|
+
:param _Title: Segment title.
|
|
4320
|
+
:type Title: str
|
|
4321
|
+
:param _Keywords: Segment keywords.
|
|
4322
|
+
:type Keywords: list of str
|
|
4319
4323
|
:param _StartTimeOffset: Segmentation start time point, in seconds.
|
|
4320
4324
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4321
4325
|
:type StartTimeOffset: float
|
|
@@ -4324,6 +4328,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4324
4328
|
:type EndTimeOffset: float
|
|
4325
4329
|
"""
|
|
4326
4330
|
self._Summary = None
|
|
4331
|
+
self._Title = None
|
|
4332
|
+
self._Keywords = None
|
|
4327
4333
|
self._StartTimeOffset = None
|
|
4328
4334
|
self._EndTimeOffset = None
|
|
4329
4335
|
|
|
@@ -4339,6 +4345,28 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4339
4345
|
def Summary(self, Summary):
|
|
4340
4346
|
self._Summary = Summary
|
|
4341
4347
|
|
|
4348
|
+
@property
|
|
4349
|
+
def Title(self):
|
|
4350
|
+
"""Segment title.
|
|
4351
|
+
:rtype: str
|
|
4352
|
+
"""
|
|
4353
|
+
return self._Title
|
|
4354
|
+
|
|
4355
|
+
@Title.setter
|
|
4356
|
+
def Title(self, Title):
|
|
4357
|
+
self._Title = Title
|
|
4358
|
+
|
|
4359
|
+
@property
|
|
4360
|
+
def Keywords(self):
|
|
4361
|
+
"""Segment keywords.
|
|
4362
|
+
:rtype: list of str
|
|
4363
|
+
"""
|
|
4364
|
+
return self._Keywords
|
|
4365
|
+
|
|
4366
|
+
@Keywords.setter
|
|
4367
|
+
def Keywords(self, Keywords):
|
|
4368
|
+
self._Keywords = Keywords
|
|
4369
|
+
|
|
4342
4370
|
@property
|
|
4343
4371
|
def StartTimeOffset(self):
|
|
4344
4372
|
"""Segmentation start time point, in seconds.
|
|
@@ -4366,6 +4394,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4366
4394
|
|
|
4367
4395
|
def _deserialize(self, params):
|
|
4368
4396
|
self._Summary = params.get("Summary")
|
|
4397
|
+
self._Title = params.get("Title")
|
|
4398
|
+
self._Keywords = params.get("Keywords")
|
|
4369
4399
|
self._StartTimeOffset = params.get("StartTimeOffset")
|
|
4370
4400
|
self._EndTimeOffset = params.get("EndTimeOffset")
|
|
4371
4401
|
memeber_set = set(params.keys())
|
|
@@ -28237,12 +28267,18 @@ class MediaAiAnalysisDescriptionItem(AbstractModel):
|
|
|
28237
28267
|
:type Description: str
|
|
28238
28268
|
:param _Confidence: Confidence of the intelligent description, with a value range from 0 to 100.
|
|
28239
28269
|
:type Confidence: float
|
|
28270
|
+
:param _Title: Intelligent description title.
|
|
28271
|
+
:type Title: str
|
|
28272
|
+
:param _Keywords: Intelligent description keywords.
|
|
28273
|
+
:type Keywords: list of str
|
|
28240
28274
|
:param _Paragraphs: Segmentation result.
|
|
28241
28275
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
28242
28276
|
:type Paragraphs: list of AiParagraphInfo
|
|
28243
28277
|
"""
|
|
28244
28278
|
self._Description = None
|
|
28245
28279
|
self._Confidence = None
|
|
28280
|
+
self._Title = None
|
|
28281
|
+
self._Keywords = None
|
|
28246
28282
|
self._Paragraphs = None
|
|
28247
28283
|
|
|
28248
28284
|
@property
|
|
@@ -28267,6 +28303,28 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
28267
28303
|
def Confidence(self, Confidence):
|
|
28268
28304
|
self._Confidence = Confidence
|
|
28269
28305
|
|
|
28306
|
+
@property
|
|
28307
|
+
def Title(self):
|
|
28308
|
+
"""Intelligent description title.
|
|
28309
|
+
:rtype: str
|
|
28310
|
+
"""
|
|
28311
|
+
return self._Title
|
|
28312
|
+
|
|
28313
|
+
@Title.setter
|
|
28314
|
+
def Title(self, Title):
|
|
28315
|
+
self._Title = Title
|
|
28316
|
+
|
|
28317
|
+
@property
|
|
28318
|
+
def Keywords(self):
|
|
28319
|
+
"""Intelligent description keywords.
|
|
28320
|
+
:rtype: list of str
|
|
28321
|
+
"""
|
|
28322
|
+
return self._Keywords
|
|
28323
|
+
|
|
28324
|
+
@Keywords.setter
|
|
28325
|
+
def Keywords(self, Keywords):
|
|
28326
|
+
self._Keywords = Keywords
|
|
28327
|
+
|
|
28270
28328
|
@property
|
|
28271
28329
|
def Paragraphs(self):
|
|
28272
28330
|
"""Segmentation result.
|
|
@@ -28283,6 +28341,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
28283
28341
|
def _deserialize(self, params):
|
|
28284
28342
|
self._Description = params.get("Description")
|
|
28285
28343
|
self._Confidence = params.get("Confidence")
|
|
28344
|
+
self._Title = params.get("Title")
|
|
28345
|
+
self._Keywords = params.get("Keywords")
|
|
28286
28346
|
if params.get("Paragraphs") is not None:
|
|
28287
28347
|
self._Paragraphs = []
|
|
28288
28348
|
for item in params.get("Paragraphs"):
|
|
@@ -7506,6 +7506,370 @@ class QuotaInvoice(AbstractModel):
|
|
|
7506
7506
|
|
|
7507
7507
|
|
|
7508
7508
|
|
|
7509
|
+
class RecognizeBrazilDriverLicenseOCRRequest(AbstractModel):
|
|
7510
|
+
"""RecognizeBrazilDriverLicenseOCR request structure.
|
|
7511
|
+
|
|
7512
|
+
"""
|
|
7513
|
+
|
|
7514
|
+
def __init__(self):
|
|
7515
|
+
r"""
|
|
7516
|
+
:param _ImageBase64: The Base64 value of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
7517
|
+
:type ImageBase64: str
|
|
7518
|
+
:param _BackImageBase64: The Base64 value of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
7519
|
+
:type BackImageBase64: str
|
|
7520
|
+
:param _ImageUrl: The URL address of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. It is recommended that images be stored in Tencent Cloud to ensure higher download speed and stability.
|
|
7521
|
+
:type ImageUrl: str
|
|
7522
|
+
:param _BackImageUrl: The URL address of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. It is recommended that images be stored in Tencent Cloud to ensure higher download speed and stability.
|
|
7523
|
+
:type BackImageUrl: str
|
|
7524
|
+
:param _CropPortrait: Picture switch. The default is false, and the base64 encoding of the avatar photo is not returned. When set to true, the base64 encoding of the portrait photo is returned.
|
|
7525
|
+
:type CropPortrait: bool
|
|
7526
|
+
"""
|
|
7527
|
+
self._ImageBase64 = None
|
|
7528
|
+
self._BackImageBase64 = None
|
|
7529
|
+
self._ImageUrl = None
|
|
7530
|
+
self._BackImageUrl = None
|
|
7531
|
+
self._CropPortrait = None
|
|
7532
|
+
|
|
7533
|
+
@property
|
|
7534
|
+
def ImageBase64(self):
|
|
7535
|
+
"""The Base64 value of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
7536
|
+
:rtype: str
|
|
7537
|
+
"""
|
|
7538
|
+
return self._ImageBase64
|
|
7539
|
+
|
|
7540
|
+
@ImageBase64.setter
|
|
7541
|
+
def ImageBase64(self, ImageBase64):
|
|
7542
|
+
self._ImageBase64 = ImageBase64
|
|
7543
|
+
|
|
7544
|
+
@property
|
|
7545
|
+
def BackImageBase64(self):
|
|
7546
|
+
"""The Base64 value of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
7547
|
+
:rtype: str
|
|
7548
|
+
"""
|
|
7549
|
+
return self._BackImageBase64
|
|
7550
|
+
|
|
7551
|
+
@BackImageBase64.setter
|
|
7552
|
+
def BackImageBase64(self, BackImageBase64):
|
|
7553
|
+
self._BackImageBase64 = BackImageBase64
|
|
7554
|
+
|
|
7555
|
+
@property
|
|
7556
|
+
def ImageUrl(self):
|
|
7557
|
+
"""The URL address of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. It is recommended that images be stored in Tencent Cloud to ensure higher download speed and stability.
|
|
7558
|
+
:rtype: str
|
|
7559
|
+
"""
|
|
7560
|
+
return self._ImageUrl
|
|
7561
|
+
|
|
7562
|
+
@ImageUrl.setter
|
|
7563
|
+
def ImageUrl(self, ImageUrl):
|
|
7564
|
+
self._ImageUrl = ImageUrl
|
|
7565
|
+
|
|
7566
|
+
@property
|
|
7567
|
+
def BackImageUrl(self):
|
|
7568
|
+
"""The URL address of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. It is recommended that images be stored in Tencent Cloud to ensure higher download speed and stability.
|
|
7569
|
+
:rtype: str
|
|
7570
|
+
"""
|
|
7571
|
+
return self._BackImageUrl
|
|
7572
|
+
|
|
7573
|
+
@BackImageUrl.setter
|
|
7574
|
+
def BackImageUrl(self, BackImageUrl):
|
|
7575
|
+
self._BackImageUrl = BackImageUrl
|
|
7576
|
+
|
|
7577
|
+
@property
|
|
7578
|
+
def CropPortrait(self):
|
|
7579
|
+
"""Picture switch. The default is false, and the base64 encoding of the avatar photo is not returned. When set to true, the base64 encoding of the portrait photo is returned.
|
|
7580
|
+
:rtype: bool
|
|
7581
|
+
"""
|
|
7582
|
+
return self._CropPortrait
|
|
7583
|
+
|
|
7584
|
+
@CropPortrait.setter
|
|
7585
|
+
def CropPortrait(self, CropPortrait):
|
|
7586
|
+
self._CropPortrait = CropPortrait
|
|
7587
|
+
|
|
7588
|
+
|
|
7589
|
+
def _deserialize(self, params):
|
|
7590
|
+
self._ImageBase64 = params.get("ImageBase64")
|
|
7591
|
+
self._BackImageBase64 = params.get("BackImageBase64")
|
|
7592
|
+
self._ImageUrl = params.get("ImageUrl")
|
|
7593
|
+
self._BackImageUrl = params.get("BackImageUrl")
|
|
7594
|
+
self._CropPortrait = params.get("CropPortrait")
|
|
7595
|
+
memeber_set = set(params.keys())
|
|
7596
|
+
for name, value in vars(self).items():
|
|
7597
|
+
property_name = name[1:]
|
|
7598
|
+
if property_name in memeber_set:
|
|
7599
|
+
memeber_set.remove(property_name)
|
|
7600
|
+
if len(memeber_set) > 0:
|
|
7601
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7602
|
+
|
|
7603
|
+
|
|
7604
|
+
|
|
7605
|
+
class RecognizeBrazilDriverLicenseOCRResponse(AbstractModel):
|
|
7606
|
+
"""RecognizeBrazilDriverLicenseOCR response structure.
|
|
7607
|
+
|
|
7608
|
+
"""
|
|
7609
|
+
|
|
7610
|
+
def __init__(self):
|
|
7611
|
+
r"""
|
|
7612
|
+
:param _NOME: Name
|
|
7613
|
+
:type NOME: str
|
|
7614
|
+
:param _CatHab: Driving license type
|
|
7615
|
+
:type CatHab: str
|
|
7616
|
+
:param _CNHNumber: CNH number
|
|
7617
|
+
:type CNHNumber: str
|
|
7618
|
+
:param _VALIDADE: Valid date
|
|
7619
|
+
:type VALIDADE: str
|
|
7620
|
+
:param _QUALIFICATION: Qualification
|
|
7621
|
+
:type QUALIFICATION: str
|
|
7622
|
+
:param _IDENTIDADE: ID number
|
|
7623
|
+
:type IDENTIDADE: str
|
|
7624
|
+
:param _CPF: CPF
|
|
7625
|
+
:type CPF: str
|
|
7626
|
+
:param _NASCIMENTO: Birthday
|
|
7627
|
+
:type NASCIMENTO: str
|
|
7628
|
+
:param _MEMBERSHIP: Membership
|
|
7629
|
+
:type MEMBERSHIP: str
|
|
7630
|
+
:param _REGISTRO: Registration number
|
|
7631
|
+
:type REGISTRO: str
|
|
7632
|
+
:param _OBSERVATIONS: Remark
|
|
7633
|
+
:type OBSERVATIONS: str
|
|
7634
|
+
:param _IssueDate: Issue date
|
|
7635
|
+
:type IssueDate: str
|
|
7636
|
+
:param _LOCAL: Issue location
|
|
7637
|
+
:type LOCAL: str
|
|
7638
|
+
:param _BackNumber: Number in the back of the card
|
|
7639
|
+
:type BackNumber: str
|
|
7640
|
+
:param _AdvancedInfo: Field confidence
|
|
7641
|
+
:type AdvancedInfo: str
|
|
7642
|
+
:param _PortraitImage: PortraitImage base64
|
|
7643
|
+
:type PortraitImage: str
|
|
7644
|
+
: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.
|
|
7645
|
+
:type RequestId: str
|
|
7646
|
+
"""
|
|
7647
|
+
self._NOME = None
|
|
7648
|
+
self._CatHab = None
|
|
7649
|
+
self._CNHNumber = None
|
|
7650
|
+
self._VALIDADE = None
|
|
7651
|
+
self._QUALIFICATION = None
|
|
7652
|
+
self._IDENTIDADE = None
|
|
7653
|
+
self._CPF = None
|
|
7654
|
+
self._NASCIMENTO = None
|
|
7655
|
+
self._MEMBERSHIP = None
|
|
7656
|
+
self._REGISTRO = None
|
|
7657
|
+
self._OBSERVATIONS = None
|
|
7658
|
+
self._IssueDate = None
|
|
7659
|
+
self._LOCAL = None
|
|
7660
|
+
self._BackNumber = None
|
|
7661
|
+
self._AdvancedInfo = None
|
|
7662
|
+
self._PortraitImage = None
|
|
7663
|
+
self._RequestId = None
|
|
7664
|
+
|
|
7665
|
+
@property
|
|
7666
|
+
def NOME(self):
|
|
7667
|
+
"""Name
|
|
7668
|
+
:rtype: str
|
|
7669
|
+
"""
|
|
7670
|
+
return self._NOME
|
|
7671
|
+
|
|
7672
|
+
@NOME.setter
|
|
7673
|
+
def NOME(self, NOME):
|
|
7674
|
+
self._NOME = NOME
|
|
7675
|
+
|
|
7676
|
+
@property
|
|
7677
|
+
def CatHab(self):
|
|
7678
|
+
"""Driving license type
|
|
7679
|
+
:rtype: str
|
|
7680
|
+
"""
|
|
7681
|
+
return self._CatHab
|
|
7682
|
+
|
|
7683
|
+
@CatHab.setter
|
|
7684
|
+
def CatHab(self, CatHab):
|
|
7685
|
+
self._CatHab = CatHab
|
|
7686
|
+
|
|
7687
|
+
@property
|
|
7688
|
+
def CNHNumber(self):
|
|
7689
|
+
"""CNH number
|
|
7690
|
+
:rtype: str
|
|
7691
|
+
"""
|
|
7692
|
+
return self._CNHNumber
|
|
7693
|
+
|
|
7694
|
+
@CNHNumber.setter
|
|
7695
|
+
def CNHNumber(self, CNHNumber):
|
|
7696
|
+
self._CNHNumber = CNHNumber
|
|
7697
|
+
|
|
7698
|
+
@property
|
|
7699
|
+
def VALIDADE(self):
|
|
7700
|
+
"""Valid date
|
|
7701
|
+
:rtype: str
|
|
7702
|
+
"""
|
|
7703
|
+
return self._VALIDADE
|
|
7704
|
+
|
|
7705
|
+
@VALIDADE.setter
|
|
7706
|
+
def VALIDADE(self, VALIDADE):
|
|
7707
|
+
self._VALIDADE = VALIDADE
|
|
7708
|
+
|
|
7709
|
+
@property
|
|
7710
|
+
def QUALIFICATION(self):
|
|
7711
|
+
"""Qualification
|
|
7712
|
+
:rtype: str
|
|
7713
|
+
"""
|
|
7714
|
+
return self._QUALIFICATION
|
|
7715
|
+
|
|
7716
|
+
@QUALIFICATION.setter
|
|
7717
|
+
def QUALIFICATION(self, QUALIFICATION):
|
|
7718
|
+
self._QUALIFICATION = QUALIFICATION
|
|
7719
|
+
|
|
7720
|
+
@property
|
|
7721
|
+
def IDENTIDADE(self):
|
|
7722
|
+
"""ID number
|
|
7723
|
+
:rtype: str
|
|
7724
|
+
"""
|
|
7725
|
+
return self._IDENTIDADE
|
|
7726
|
+
|
|
7727
|
+
@IDENTIDADE.setter
|
|
7728
|
+
def IDENTIDADE(self, IDENTIDADE):
|
|
7729
|
+
self._IDENTIDADE = IDENTIDADE
|
|
7730
|
+
|
|
7731
|
+
@property
|
|
7732
|
+
def CPF(self):
|
|
7733
|
+
"""CPF
|
|
7734
|
+
:rtype: str
|
|
7735
|
+
"""
|
|
7736
|
+
return self._CPF
|
|
7737
|
+
|
|
7738
|
+
@CPF.setter
|
|
7739
|
+
def CPF(self, CPF):
|
|
7740
|
+
self._CPF = CPF
|
|
7741
|
+
|
|
7742
|
+
@property
|
|
7743
|
+
def NASCIMENTO(self):
|
|
7744
|
+
"""Birthday
|
|
7745
|
+
:rtype: str
|
|
7746
|
+
"""
|
|
7747
|
+
return self._NASCIMENTO
|
|
7748
|
+
|
|
7749
|
+
@NASCIMENTO.setter
|
|
7750
|
+
def NASCIMENTO(self, NASCIMENTO):
|
|
7751
|
+
self._NASCIMENTO = NASCIMENTO
|
|
7752
|
+
|
|
7753
|
+
@property
|
|
7754
|
+
def MEMBERSHIP(self):
|
|
7755
|
+
"""Membership
|
|
7756
|
+
:rtype: str
|
|
7757
|
+
"""
|
|
7758
|
+
return self._MEMBERSHIP
|
|
7759
|
+
|
|
7760
|
+
@MEMBERSHIP.setter
|
|
7761
|
+
def MEMBERSHIP(self, MEMBERSHIP):
|
|
7762
|
+
self._MEMBERSHIP = MEMBERSHIP
|
|
7763
|
+
|
|
7764
|
+
@property
|
|
7765
|
+
def REGISTRO(self):
|
|
7766
|
+
"""Registration number
|
|
7767
|
+
:rtype: str
|
|
7768
|
+
"""
|
|
7769
|
+
return self._REGISTRO
|
|
7770
|
+
|
|
7771
|
+
@REGISTRO.setter
|
|
7772
|
+
def REGISTRO(self, REGISTRO):
|
|
7773
|
+
self._REGISTRO = REGISTRO
|
|
7774
|
+
|
|
7775
|
+
@property
|
|
7776
|
+
def OBSERVATIONS(self):
|
|
7777
|
+
"""Remark
|
|
7778
|
+
:rtype: str
|
|
7779
|
+
"""
|
|
7780
|
+
return self._OBSERVATIONS
|
|
7781
|
+
|
|
7782
|
+
@OBSERVATIONS.setter
|
|
7783
|
+
def OBSERVATIONS(self, OBSERVATIONS):
|
|
7784
|
+
self._OBSERVATIONS = OBSERVATIONS
|
|
7785
|
+
|
|
7786
|
+
@property
|
|
7787
|
+
def IssueDate(self):
|
|
7788
|
+
"""Issue date
|
|
7789
|
+
:rtype: str
|
|
7790
|
+
"""
|
|
7791
|
+
return self._IssueDate
|
|
7792
|
+
|
|
7793
|
+
@IssueDate.setter
|
|
7794
|
+
def IssueDate(self, IssueDate):
|
|
7795
|
+
self._IssueDate = IssueDate
|
|
7796
|
+
|
|
7797
|
+
@property
|
|
7798
|
+
def LOCAL(self):
|
|
7799
|
+
"""Issue location
|
|
7800
|
+
:rtype: str
|
|
7801
|
+
"""
|
|
7802
|
+
return self._LOCAL
|
|
7803
|
+
|
|
7804
|
+
@LOCAL.setter
|
|
7805
|
+
def LOCAL(self, LOCAL):
|
|
7806
|
+
self._LOCAL = LOCAL
|
|
7807
|
+
|
|
7808
|
+
@property
|
|
7809
|
+
def BackNumber(self):
|
|
7810
|
+
"""Number in the back of the card
|
|
7811
|
+
:rtype: str
|
|
7812
|
+
"""
|
|
7813
|
+
return self._BackNumber
|
|
7814
|
+
|
|
7815
|
+
@BackNumber.setter
|
|
7816
|
+
def BackNumber(self, BackNumber):
|
|
7817
|
+
self._BackNumber = BackNumber
|
|
7818
|
+
|
|
7819
|
+
@property
|
|
7820
|
+
def AdvancedInfo(self):
|
|
7821
|
+
"""Field confidence
|
|
7822
|
+
:rtype: str
|
|
7823
|
+
"""
|
|
7824
|
+
return self._AdvancedInfo
|
|
7825
|
+
|
|
7826
|
+
@AdvancedInfo.setter
|
|
7827
|
+
def AdvancedInfo(self, AdvancedInfo):
|
|
7828
|
+
self._AdvancedInfo = AdvancedInfo
|
|
7829
|
+
|
|
7830
|
+
@property
|
|
7831
|
+
def PortraitImage(self):
|
|
7832
|
+
"""PortraitImage base64
|
|
7833
|
+
:rtype: str
|
|
7834
|
+
"""
|
|
7835
|
+
return self._PortraitImage
|
|
7836
|
+
|
|
7837
|
+
@PortraitImage.setter
|
|
7838
|
+
def PortraitImage(self, PortraitImage):
|
|
7839
|
+
self._PortraitImage = PortraitImage
|
|
7840
|
+
|
|
7841
|
+
@property
|
|
7842
|
+
def RequestId(self):
|
|
7843
|
+
"""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.
|
|
7844
|
+
:rtype: str
|
|
7845
|
+
"""
|
|
7846
|
+
return self._RequestId
|
|
7847
|
+
|
|
7848
|
+
@RequestId.setter
|
|
7849
|
+
def RequestId(self, RequestId):
|
|
7850
|
+
self._RequestId = RequestId
|
|
7851
|
+
|
|
7852
|
+
|
|
7853
|
+
def _deserialize(self, params):
|
|
7854
|
+
self._NOME = params.get("NOME")
|
|
7855
|
+
self._CatHab = params.get("CatHab")
|
|
7856
|
+
self._CNHNumber = params.get("CNHNumber")
|
|
7857
|
+
self._VALIDADE = params.get("VALIDADE")
|
|
7858
|
+
self._QUALIFICATION = params.get("QUALIFICATION")
|
|
7859
|
+
self._IDENTIDADE = params.get("IDENTIDADE")
|
|
7860
|
+
self._CPF = params.get("CPF")
|
|
7861
|
+
self._NASCIMENTO = params.get("NASCIMENTO")
|
|
7862
|
+
self._MEMBERSHIP = params.get("MEMBERSHIP")
|
|
7863
|
+
self._REGISTRO = params.get("REGISTRO")
|
|
7864
|
+
self._OBSERVATIONS = params.get("OBSERVATIONS")
|
|
7865
|
+
self._IssueDate = params.get("IssueDate")
|
|
7866
|
+
self._LOCAL = params.get("LOCAL")
|
|
7867
|
+
self._BackNumber = params.get("BackNumber")
|
|
7868
|
+
self._AdvancedInfo = params.get("AdvancedInfo")
|
|
7869
|
+
self._PortraitImage = params.get("PortraitImage")
|
|
7870
|
+
self._RequestId = params.get("RequestId")
|
|
7871
|
+
|
|
7872
|
+
|
|
7509
7873
|
class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
7510
7874
|
"""RecognizeGeneralInvoice request structure.
|
|
7511
7875
|
|
|
@@ -353,6 +353,29 @@ class OcrClient(AbstractClient):
|
|
|
353
353
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
354
354
|
|
|
355
355
|
|
|
356
|
+
def RecognizeBrazilDriverLicenseOCR(self, request):
|
|
357
|
+
"""This interface supports identification of the front and back of Brazilian driver's license. The identification fields include name, driver's license category, number, validity period, etc.
|
|
358
|
+
|
|
359
|
+
:param request: Request instance for RecognizeBrazilDriverLicenseOCR.
|
|
360
|
+
:type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeBrazilDriverLicenseOCRRequest`
|
|
361
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeBrazilDriverLicenseOCRResponse`
|
|
362
|
+
|
|
363
|
+
"""
|
|
364
|
+
try:
|
|
365
|
+
params = request._serialize()
|
|
366
|
+
headers = request.headers
|
|
367
|
+
body = self.call("RecognizeBrazilDriverLicenseOCR", params, headers=headers)
|
|
368
|
+
response = json.loads(body)
|
|
369
|
+
model = models.RecognizeBrazilDriverLicenseOCRResponse()
|
|
370
|
+
model._deserialize(response["Response"])
|
|
371
|
+
return model
|
|
372
|
+
except Exception as e:
|
|
373
|
+
if isinstance(e, TencentCloudSDKException):
|
|
374
|
+
raise
|
|
375
|
+
else:
|
|
376
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
377
|
+
|
|
378
|
+
|
|
356
379
|
def RecognizeGeneralInvoice(self, request):
|
|
357
380
|
"""This API is used to recognize various types of invoices or tickets in an image or PDF file. You can also specify a type. 14 types of standard expense reimbursement invoices are supported, including value-added tax (VAT) invoice (special, general, roll, blockchain, and toll), fully digitalized electronic invoice (special and general), non-tax revenue invoice (general receipt and general payment voucher), quota invoice, general machine-printed invoice, car sales invoice (motor vehicle sales invoice and used car invoice), train ticket, taxi receipt, itinerary/receipt of e-ticket for air transportation, bus ticket, ship ticket, toll receipt, and medical invoice (inpatient and outpatient). This API can also be used for intelligent recognition of other types of invoices. To try now, click [here](https://intl.cloud.tencent.com/product/ocr?from_cn_redirect=1).
|
|
358
381
|
|
|
@@ -65,7 +65,7 @@ FAILEDOPERATION_CREATELOGTOPICTASKAUTHFAILURE = 'FailedOperation.CreateLogTopicT
|
|
|
65
65
|
# The edge client certificate has expired. It is not supported to issue expired certificates for the time being.
|
|
66
66
|
FAILEDOPERATION_EDGECLIENTCERTIFICATEHASEXPIRED = 'FailedOperation.EdgeClientCertificateHasExpired'
|
|
67
67
|
|
|
68
|
-
#
|
|
68
|
+
# Failed to call dnspod. please try again later. if the issue persists, please contact the intelligent customer service or submit a ticket.
|
|
69
69
|
FAILEDOPERATION_FAILEDTOCALLDNSPOD = 'FailedOperation.FailedToCallDNSPod'
|
|
70
70
|
|
|
71
71
|
# Another task is being deployed. Please try again later.
|
|
@@ -860,6 +860,9 @@ INVALIDPARAMETERVALUE_SHAREDCNAMEPREFIXNOTMATCH = 'InvalidParameterValue.SharedC
|
|
|
860
860
|
# The current domain suffix is not supported for access. Please contact us if you need to use it.
|
|
861
861
|
INVALIDPARAMETERVALUE_TOPLEVELDOMAINNOTSUPPORT = 'InvalidParameterValue.TopLevelDomainNotSupport'
|
|
862
862
|
|
|
863
|
+
# Referencing is not allowed on the custom page of the trial plan.
|
|
864
|
+
INVALIDPARAMETERVALUE_TRIALPLANRESPONSEPAGE = 'InvalidParameterValue.TrialPlanResponsePage'
|
|
865
|
+
|
|
863
866
|
# Configuration item error.
|
|
864
867
|
INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = 'InvalidParameterValue.UnrecognizableValue'
|
|
865
868
|
|