tencentcloud-sdk-python-intl-en 3.0.1121__py2.py3-none-any.whl → 3.0.1122__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/ocr/v20181119/models.py +45 -0
- tencentcloud/teo/v20220901/models.py +2 -2
- {tencentcloud_sdk_python_intl_en-3.0.1121.dist-info → tencentcloud_sdk_python_intl_en-3.0.1122.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1121.dist-info → tencentcloud_sdk_python_intl_en-3.0.1122.dist-info}/RECORD +7 -7
- {tencentcloud_sdk_python_intl_en-3.0.1121.dist-info → tencentcloud_sdk_python_intl_en-3.0.1122.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1121.dist-info → tencentcloud_sdk_python_intl_en-3.0.1122.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -11115,15 +11115,21 @@ class RecognizeThaiIDCardOCRRequest(AbstractModel):
|
|
|
11115
11115
|
: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.
|
|
11116
11116
|
Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are provided, `ImageUrl` is used.
|
|
11117
11117
|
:type ImageBase64: str
|
|
11118
|
+
:param _BackImageBase64: Base64 value of the image on the back of the card. Supported image formats: PNG, JPG, JPEG. GIF format is not supported yet. Supported image size: The downloaded image does not exceed 7M after Base64 encoding. The image download takes no more than 3 seconds. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
11119
|
+
:type BackImageBase64: str
|
|
11118
11120
|
: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.
|
|
11119
11121
|
We recommend that you store the image in Tencent Cloud for higher download speed and stability.
|
|
11120
11122
|
:type ImageUrl: str
|
|
11123
|
+
:param _BackImageUrl: The URL address of the image on the back of the card. Supported image formats: PNG, JPG, JPEG. GIF format is not supported yet. Supported image size: The downloaded image does not exceed 7M after Base64 encoding. The image download takes no more than 3 seconds. Storing images in Tencent Cloud URLs can ensure higher download speed and stability. It is recommended that images be stored in Tencent Cloud. The URL speed and stability of non-Tencent cloud storage may be affected to a certain extent.
|
|
11124
|
+
:type BackImageUrl: str
|
|
11121
11125
|
: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.
|
|
11122
11126
|
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.
|
|
11123
11127
|
:type CropPortrait: bool
|
|
11124
11128
|
"""
|
|
11125
11129
|
self._ImageBase64 = None
|
|
11130
|
+
self._BackImageBase64 = None
|
|
11126
11131
|
self._ImageUrl = None
|
|
11132
|
+
self._BackImageUrl = None
|
|
11127
11133
|
self._CropPortrait = None
|
|
11128
11134
|
|
|
11129
11135
|
@property
|
|
@@ -11138,6 +11144,17 @@ Either `ImageUrl` or `ImageBase64` of the image must be provided. If both are pr
|
|
|
11138
11144
|
def ImageBase64(self, ImageBase64):
|
|
11139
11145
|
self._ImageBase64 = ImageBase64
|
|
11140
11146
|
|
|
11147
|
+
@property
|
|
11148
|
+
def BackImageBase64(self):
|
|
11149
|
+
"""Base64 value of the image on the back of the card. Supported image formats: PNG, JPG, JPEG. GIF format is not supported yet. Supported image size: The downloaded image does not exceed 7M after Base64 encoding. The image download takes no more than 3 seconds. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
11150
|
+
:rtype: str
|
|
11151
|
+
"""
|
|
11152
|
+
return self._BackImageBase64
|
|
11153
|
+
|
|
11154
|
+
@BackImageBase64.setter
|
|
11155
|
+
def BackImageBase64(self, BackImageBase64):
|
|
11156
|
+
self._BackImageBase64 = BackImageBase64
|
|
11157
|
+
|
|
11141
11158
|
@property
|
|
11142
11159
|
def ImageUrl(self):
|
|
11143
11160
|
"""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.
|
|
@@ -11150,6 +11167,17 @@ We recommend that you store the image in Tencent Cloud for higher download speed
|
|
|
11150
11167
|
def ImageUrl(self, ImageUrl):
|
|
11151
11168
|
self._ImageUrl = ImageUrl
|
|
11152
11169
|
|
|
11170
|
+
@property
|
|
11171
|
+
def BackImageUrl(self):
|
|
11172
|
+
"""The URL address of the image on the back of the card. Supported image formats: PNG, JPG, JPEG. GIF format is not supported yet. Supported image size: The downloaded image does not exceed 7M after Base64 encoding. The image download takes no more than 3 seconds. Storing images in Tencent Cloud URLs can ensure higher download speed and stability. It is recommended that images be stored in Tencent Cloud. The URL speed and stability of non-Tencent cloud storage may be affected to a certain extent.
|
|
11173
|
+
:rtype: str
|
|
11174
|
+
"""
|
|
11175
|
+
return self._BackImageUrl
|
|
11176
|
+
|
|
11177
|
+
@BackImageUrl.setter
|
|
11178
|
+
def BackImageUrl(self, BackImageUrl):
|
|
11179
|
+
self._BackImageUrl = BackImageUrl
|
|
11180
|
+
|
|
11153
11181
|
@property
|
|
11154
11182
|
def CropPortrait(self):
|
|
11155
11183
|
"""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.
|
|
@@ -11165,7 +11193,9 @@ When this parameter is set to `true`, the Base64-encoded value of the profile ph
|
|
|
11165
11193
|
|
|
11166
11194
|
def _deserialize(self, params):
|
|
11167
11195
|
self._ImageBase64 = params.get("ImageBase64")
|
|
11196
|
+
self._BackImageBase64 = params.get("BackImageBase64")
|
|
11168
11197
|
self._ImageUrl = params.get("ImageUrl")
|
|
11198
|
+
self._BackImageUrl = params.get("BackImageUrl")
|
|
11169
11199
|
self._CropPortrait = params.get("CropPortrait")
|
|
11170
11200
|
memeber_set = set(params.keys())
|
|
11171
11201
|
for name, value in vars(self).items():
|
|
@@ -11210,6 +11240,8 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
11210
11240
|
:type SerialNumber: str
|
|
11211
11241
|
:param _Address: Address
|
|
11212
11242
|
:type Address: str
|
|
11243
|
+
:param _LaserID: LaserID in the back of the card.
|
|
11244
|
+
:type LaserID: str
|
|
11213
11245
|
:param _PortraitImage: Identity photo
|
|
11214
11246
|
:type PortraitImage: str
|
|
11215
11247
|
:param _WarnCardInfos: Card Warning Information
|
|
@@ -11240,6 +11272,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
11240
11272
|
self._Religion = None
|
|
11241
11273
|
self._SerialNumber = None
|
|
11242
11274
|
self._Address = None
|
|
11275
|
+
self._LaserID = None
|
|
11243
11276
|
self._PortraitImage = None
|
|
11244
11277
|
self._WarnCardInfos = None
|
|
11245
11278
|
self._AdvancedInfo = None
|
|
@@ -11388,6 +11421,17 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
11388
11421
|
def Address(self, Address):
|
|
11389
11422
|
self._Address = Address
|
|
11390
11423
|
|
|
11424
|
+
@property
|
|
11425
|
+
def LaserID(self):
|
|
11426
|
+
"""LaserID in the back of the card.
|
|
11427
|
+
:rtype: str
|
|
11428
|
+
"""
|
|
11429
|
+
return self._LaserID
|
|
11430
|
+
|
|
11431
|
+
@LaserID.setter
|
|
11432
|
+
def LaserID(self, LaserID):
|
|
11433
|
+
self._LaserID = LaserID
|
|
11434
|
+
|
|
11391
11435
|
@property
|
|
11392
11436
|
def PortraitImage(self):
|
|
11393
11437
|
"""Identity photo
|
|
@@ -11455,6 +11499,7 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
11455
11499
|
self._Religion = params.get("Religion")
|
|
11456
11500
|
self._SerialNumber = params.get("SerialNumber")
|
|
11457
11501
|
self._Address = params.get("Address")
|
|
11502
|
+
self._LaserID = params.get("LaserID")
|
|
11458
11503
|
self._PortraitImage = params.get("PortraitImage")
|
|
11459
11504
|
self._WarnCardInfos = params.get("WarnCardInfos")
|
|
11460
11505
|
self._AdvancedInfo = params.get("AdvancedInfo")
|
|
@@ -33140,7 +33140,7 @@ class RuleCondition(AbstractModel):
|
|
|
33140
33140
|
def __init__(self):
|
|
33141
33141
|
r"""
|
|
33142
33142
|
:param _Operator: Operator. Valid values:
|
|
33143
|
-
<li>`
|
|
33143
|
+
<li>`equal`: Equal</li>
|
|
33144
33144
|
<li>`notEquals`: Does not equal</li>
|
|
33145
33145
|
<li>`exist`: Exists</li>
|
|
33146
33146
|
<li>`notexist`: Does not exist</li>
|
|
@@ -33181,7 +33181,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
33181
33181
|
@property
|
|
33182
33182
|
def Operator(self):
|
|
33183
33183
|
"""Operator. Valid values:
|
|
33184
|
-
<li>`
|
|
33184
|
+
<li>`equal`: Equal</li>
|
|
33185
33185
|
<li>`notEquals`: Does not equal</li>
|
|
33186
33186
|
<li>`exist`: Exists</li>
|
|
33187
33187
|
<li>`notexist`: Does not exist</li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=hq8JO8_bmRlPo7gzV0JibIlQCmVUawJK6YmqzqqSfgA,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
|
|
@@ -398,7 +398,7 @@ tencentcloud/msp/v20180319/msp_client.py,sha256=XkSbJuPDAeY7elyJ5ByR2wNL0HiFO6Xa
|
|
|
398
398
|
tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
399
399
|
tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
400
400
|
tencentcloud/ocr/v20181119/errorcodes.py,sha256=4bl4FoPZOHDUIks9THo8XOHYqWBU_oFslKTHUZe011w,3852
|
|
401
|
-
tencentcloud/ocr/v20181119/models.py,sha256=
|
|
401
|
+
tencentcloud/ocr/v20181119/models.py,sha256=RqWhuCSxczs8wwceqSLyt13zLeXY0Yw7H-Jb2anOqhc,528247
|
|
402
402
|
tencentcloud/ocr/v20181119/ocr_client.py,sha256=1abm7UU8ME_lhHcUb3YQ7wQfbZtuAdr7NbtQTXfoHi4,45079
|
|
403
403
|
tencentcloud/omics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
404
404
|
tencentcloud/omics/v20221128/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -539,7 +539,7 @@ tencentcloud/teo/v20220106/models.py,sha256=O7LYEZTTKjloNI2BuDHcaBdEpxjHezVYck_x
|
|
|
539
539
|
tencentcloud/teo/v20220106/teo_client.py,sha256=xFgjEY9outkMEOonYeYfLL18TRUxVSRdE7Q3m6ACyWM,82902
|
|
540
540
|
tencentcloud/teo/v20220901/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
541
541
|
tencentcloud/teo/v20220901/errorcodes.py,sha256=0M6y1aD2cE4xAZkl7kdvi10eC4-K2fnK_wBZG6IkqJc,60296
|
|
542
|
-
tencentcloud/teo/v20220901/models.py,sha256=
|
|
542
|
+
tencentcloud/teo/v20220901/models.py,sha256=B9auY_0K4od2JYKH5bdBWvveqAdUOpKKqtN9VDpldaQ,1325647
|
|
543
543
|
tencentcloud/teo/v20220901/teo_client.py,sha256=fn3JnE1Hash0frWd-y_BCvOnGt5Y9Qne2FQtKSOWzHc,135776
|
|
544
544
|
tencentcloud/tiw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
545
545
|
tencentcloud/tiw/v20190919/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -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.1122.dist-info/METADATA,sha256=mRbSyVwUhpzz5Qp1h39ErVqgQG9bxTm8WqWTg2lU4wg,1628
|
|
618
|
+
tencentcloud_sdk_python_intl_en-3.0.1122.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
619
|
+
tencentcloud_sdk_python_intl_en-3.0.1122.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
620
|
+
tencentcloud_sdk_python_intl_en-3.0.1122.dist-info/RECORD,,
|
|
File without changes
|