tencentcloud-sdk-python-intl-en 3.0.1094__py2.py3-none-any.whl → 3.0.1096__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.

@@ -1701,6 +1701,31 @@ class MpsClient(AbstractClient):
1701
1701
  raise TencentCloudSDKException(type(e).__name__, str(e))
1702
1702
 
1703
1703
 
1704
+ def ProcessImage(self, request):
1705
+ """This API is used to initiate image processing. Its features include:
1706
+ 1. Format conversion;
1707
+ 2. Image enhancement;
1708
+
1709
+ :param request: Request instance for ProcessImage.
1710
+ :type request: :class:`tencentcloud.mps.v20190612.models.ProcessImageRequest`
1711
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ProcessImageResponse`
1712
+
1713
+ """
1714
+ try:
1715
+ params = request._serialize()
1716
+ headers = request.headers
1717
+ body = self.call("ProcessImage", params, headers=headers)
1718
+ response = json.loads(body)
1719
+ model = models.ProcessImageResponse()
1720
+ model._deserialize(response["Response"])
1721
+ return model
1722
+ except Exception as e:
1723
+ if isinstance(e, TencentCloudSDKException):
1724
+ raise
1725
+ else:
1726
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1727
+
1728
+
1704
1729
  def ProcessLiveStream(self, request):
1705
1730
  """This API is used to initiate live stream processing tasks. Such tasks may include the following:
1706
1731
 
@@ -3713,17 +3713,23 @@ class MLIDCardOCRRequest(AbstractModel):
3713
3713
  Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
3714
3714
  Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
3715
3715
  :type ImageBase64: str
3716
+ :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 cannot 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.
3717
+ :type BackImageBase64: str
3716
3718
  :param _ImageUrl: The URL of an image. (This field is not available outside the Chinese mainland.)
3717
3719
  Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
3718
3720
  Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
3719
3721
  We recommend that you store the image in Tencent Cloud for higher download speed and stability.
3720
3722
  For a non-Tencent Cloud URL, the download speed and stability may be low.
3721
3723
  :type ImageUrl: str
3724
+ :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.
3725
+ :type BackImageUrl: str
3722
3726
  :param _RetImage: Whether to return an image. Default value: `false`.
3723
3727
  :type RetImage: bool
3724
3728
  """
3725
3729
  self._ImageBase64 = None
3730
+ self._BackImageBase64 = None
3726
3731
  self._ImageUrl = None
3732
+ self._BackImageUrl = None
3727
3733
  self._RetImage = None
3728
3734
 
3729
3735
  @property
@@ -3739,6 +3745,17 @@ Supported image size: The downloaded image after Base64 encoding can be up to 7
3739
3745
  def ImageBase64(self, ImageBase64):
3740
3746
  self._ImageBase64 = ImageBase64
3741
3747
 
3748
+ @property
3749
+ def BackImageBase64(self):
3750
+ """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 cannot 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.
3751
+ :rtype: str
3752
+ """
3753
+ return self._BackImageBase64
3754
+
3755
+ @BackImageBase64.setter
3756
+ def BackImageBase64(self, BackImageBase64):
3757
+ self._BackImageBase64 = BackImageBase64
3758
+
3742
3759
  @property
3743
3760
  def ImageUrl(self):
3744
3761
  """The URL of an image. (This field is not available outside the Chinese mainland.)
@@ -3754,6 +3771,17 @@ For a non-Tencent Cloud URL, the download speed and stability may be low.
3754
3771
  def ImageUrl(self, ImageUrl):
3755
3772
  self._ImageUrl = ImageUrl
3756
3773
 
3774
+ @property
3775
+ def BackImageUrl(self):
3776
+ """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.
3777
+ :rtype: str
3778
+ """
3779
+ return self._BackImageUrl
3780
+
3781
+ @BackImageUrl.setter
3782
+ def BackImageUrl(self, BackImageUrl):
3783
+ self._BackImageUrl = BackImageUrl
3784
+
3757
3785
  @property
3758
3786
  def RetImage(self):
3759
3787
  """Whether to return an image. Default value: `false`.
@@ -3768,7 +3796,9 @@ For a non-Tencent Cloud URL, the download speed and stability may be low.
3768
3796
 
3769
3797
  def _deserialize(self, params):
3770
3798
  self._ImageBase64 = params.get("ImageBase64")
3799
+ self._BackImageBase64 = params.get("BackImageBase64")
3771
3800
  self._ImageUrl = params.get("ImageUrl")
3801
+ self._BackImageUrl = params.get("BackImageUrl")
3772
3802
  self._RetImage = params.get("RetImage")
3773
3803
  memeber_set = set(params.keys())
3774
3804
  for name, value in vars(self).items():
@@ -3822,6 +3852,8 @@ MyKid Kid card
3822
3852
  :type Type: str
3823
3853
  :param _Birthday: Date of birth. This field is available only for work permits (i-Kad) and ID cards (MyKad).
3824
3854
  :type Birthday: str
3855
+ :param _MyKadNumber: Number on the back of Malaysia ID card
3856
+ :type MyKadNumber: str
3825
3857
  :param _WarnCardInfos: Card Warning Information
3826
3858
 
3827
3859
  -9101 Alarm for covered certificate,
@@ -3844,6 +3876,7 @@ MyKid Kid card
3844
3876
  self._AdvancedInfo = None
3845
3877
  self._Type = None
3846
3878
  self._Birthday = None
3879
+ self._MyKadNumber = None
3847
3880
  self._WarnCardInfos = None
3848
3881
  self._RequestId = None
3849
3882
 
@@ -3967,6 +4000,17 @@ MyKid Kid card
3967
4000
  def Birthday(self, Birthday):
3968
4001
  self._Birthday = Birthday
3969
4002
 
4003
+ @property
4004
+ def MyKadNumber(self):
4005
+ """Number on the back of Malaysia ID card
4006
+ :rtype: str
4007
+ """
4008
+ return self._MyKadNumber
4009
+
4010
+ @MyKadNumber.setter
4011
+ def MyKadNumber(self, MyKadNumber):
4012
+ self._MyKadNumber = MyKadNumber
4013
+
3970
4014
  @property
3971
4015
  def WarnCardInfos(self):
3972
4016
  """Card Warning Information
@@ -4008,6 +4052,7 @@ MyKid Kid card
4008
4052
  self._AdvancedInfo = params.get("AdvancedInfo")
4009
4053
  self._Type = params.get("Type")
4010
4054
  self._Birthday = params.get("Birthday")
4055
+ self._MyKadNumber = params.get("MyKadNumber")
4011
4056
  self._WarnCardInfos = params.get("WarnCardInfos")
4012
4057
  self._RequestId = params.get("RequestId")
4013
4058
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1094
3
+ Version: 3.0.1096
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=gB1CsThRm-owiqxJDUJQZBbTaAbYQaUEXJhZiD9gr2U,630
1
+ tencentcloud/__init__.py,sha256=uwKVbQLiIYnDXbSffgtgkIQTB0ktywjkziRGuiLzFoY,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
@@ -24,6 +24,11 @@ tencentcloud/apigateway/v20180808/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
24
24
  tencentcloud/apigateway/v20180808/apigateway_client.py,sha256=3yPwDHTK-flhQOOcw1BopENHHmiFQc36-1jKozyEJiI,90265
25
25
  tencentcloud/apigateway/v20180808/errorcodes.py,sha256=0T0u1gze7_0UL5PGy0yOYWJOuI17GixRzh6_wngXJ74,23820
26
26
  tencentcloud/apigateway/v20180808/models.py,sha256=pUqn0cKzBu5gactwPqHpm20F8kggBFMTVyL6IPWM3sE,792181
27
+ tencentcloud/asr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
+ tencentcloud/asr/v20190614/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
+ tencentcloud/asr/v20190614/asr_client.py,sha256=r4qEn2LB-YgWklBIiAUfpxCOI2ypetHuoJz2HqAm-Cg,6446
30
+ tencentcloud/asr/v20190614/errorcodes.py,sha256=y8eFeNb2JQvBLARMuU472FUDJKvqKxnInyG_y4wJLcQ,2423
31
+ tencentcloud/asr/v20190614/models.py,sha256=C9wN0sIcnBhCyHGUFxDdJgKaIXuHStoomOocpbB2Qko,59798
27
32
  tencentcloud/autoscaling/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
33
  tencentcloud/autoscaling/v20180419/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
34
  tencentcloud/autoscaling/v20180419/autoscaling_client.py,sha256=Ba6ZLeBwEZuI0GHNDENQM6beLjxgZScO-cDOZ-yyIzo,73443
@@ -233,11 +238,11 @@ tencentcloud/domain/v20180808/errorcodes.py,sha256=X-SvWJpBjEiFEwk2FxjdirGDP_jqu
233
238
  tencentcloud/domain/v20180808/models.py,sha256=HrD5bt7Cz4zP6TaXb2n0h1naXftB1-gQ2WUqn_fEBSU,153617
234
239
  tencentcloud/dts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
235
240
  tencentcloud/dts/v20180330/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
236
- tencentcloud/dts/v20180330/dts_client.py,sha256=m7vxAwGbbpfe0WoB4w8x-v6gHoyJmj4B1Kck2JrxWDE,24261
237
- tencentcloud/dts/v20180330/errorcodes.py,sha256=UgbHN4kN-MBIPAEhXvmybwCevxs99rwD3TUvxNpdWBc,3722
238
- tencentcloud/dts/v20180330/models.py,sha256=RrOFzQQNqd-9K4jII9wJPzMQk3MPIsdU0G-dKs2ZfMw,156651
241
+ tencentcloud/dts/v20180330/dts_client.py,sha256=4MNOjlVHJlgL43_WRTqN58J83CC0-SYmPBdeaTsWsc8,23332
242
+ tencentcloud/dts/v20180330/errorcodes.py,sha256=E_saA3BXBzv2XQnM7dluG1gZINM5ZZ7z_kfEYDFMHAY,6069
243
+ tencentcloud/dts/v20180330/models.py,sha256=gsGqZdObrsU0b9L61c628jihy1JgRwYwXMfCah3p0rw,156619
239
244
  tencentcloud/dts/v20211206/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
240
- tencentcloud/dts/v20211206/dts_client.py,sha256=nurNPzyoEc7CWsC8CS0UrfEZ2cvax8MFySYXxNiLjYg,73504
245
+ tencentcloud/dts/v20211206/dts_client.py,sha256=4KCGr9Tsa3i86pS1oMHq9hZm2cks5s00_RaKGm020wA,73505
241
246
  tencentcloud/dts/v20211206/errorcodes.py,sha256=y1Rb1IChTWXlNcCk9V36fUVdiTu6aX0KJweKe-ePx14,7970
242
247
  tencentcloud/dts/v20211206/models.py,sha256=D0U_EkOtV0eSe7126DeND1pVrgl-yHlAt_VRa9jkUEI,678016
243
248
  tencentcloud/eb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -382,9 +387,9 @@ tencentcloud/monitor/v20180724/models.py,sha256=1WZbPJq0hBZwiqomGOXosSWbWg_R6lyl
382
387
  tencentcloud/monitor/v20180724/monitor_client.py,sha256=hrQeKcXUL7MmNd_VeJAxLups9W0MOkyX4XDhUX1uecc,142921
383
388
  tencentcloud/mps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
384
389
  tencentcloud/mps/v20190612/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
385
- tencentcloud/mps/v20190612/errorcodes.py,sha256=HVXLi5TrbeI6X4l8TdM7Yaqvu0DRrwnqwG2Ultfjml8,21719
386
- tencentcloud/mps/v20190612/models.py,sha256=6F3Ic_htEIOCgSRFnD4FwMnQP7YAvxz1RgHfqDfIDQg,1675640
387
- tencentcloud/mps/v20190612/mps_client.py,sha256=1T3c33T8ZPAwvZbC3aO8z8yEnVi28QgtwgFuaN-Xe5o,78834
390
+ tencentcloud/mps/v20190612/errorcodes.py,sha256=32AjW4KHmhgtgFPA9f36f3HTU9gR0orelCbhHwJhbYM,13235
391
+ tencentcloud/mps/v20190612/models.py,sha256=AacGpP3ms20buwgDe-fK6rzDEfdWLPQ3FnEsC7j3Kuk,1714098
392
+ tencentcloud/mps/v20190612/mps_client.py,sha256=1YmpVXU51Qcg_McAtJMyF5fpEbss08yTlX9FJA8Ote4,79783
388
393
  tencentcloud/msp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
389
394
  tencentcloud/msp/v20180319/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
390
395
  tencentcloud/msp/v20180319/errorcodes.py,sha256=m7TqnT1KqSLNt0trBqZV5xL7aJtce_53v7OwSaOoOQI,806
@@ -393,7 +398,7 @@ tencentcloud/msp/v20180319/msp_client.py,sha256=XkSbJuPDAeY7elyJ5ByR2wNL0HiFO6Xa
393
398
  tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
394
399
  tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
395
400
  tencentcloud/ocr/v20181119/errorcodes.py,sha256=4bl4FoPZOHDUIks9THo8XOHYqWBU_oFslKTHUZe011w,3852
396
- tencentcloud/ocr/v20181119/models.py,sha256=KsflAzLkHRfcpUdwoGt9DbPaPSiqEnjNYUCQzxUe6Jg,513188
401
+ tencentcloud/ocr/v20181119/models.py,sha256=F6pL5PF8hwK9BbFBfWK7uEG1gQXonn4tpriOtN-Y32M,516176
397
402
  tencentcloud/ocr/v20181119/ocr_client.py,sha256=6md0GYyWPbbna3K1H7YHJ7djXy71m2NovSh9HIMBvhs,43894
398
403
  tencentcloud/omics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
399
404
  tencentcloud/omics/v20221128/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -604,7 +609,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
604
609
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
605
610
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
606
611
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
607
- tencentcloud_sdk_python_intl_en-3.0.1094.dist-info/METADATA,sha256=I23NIiW4D-DRcOReBYSPNciI8-igPGf78dIJ0v8hfaM,1628
608
- tencentcloud_sdk_python_intl_en-3.0.1094.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
609
- tencentcloud_sdk_python_intl_en-3.0.1094.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
610
- tencentcloud_sdk_python_intl_en-3.0.1094.dist-info/RECORD,,
612
+ tencentcloud_sdk_python_intl_en-3.0.1096.dist-info/METADATA,sha256=8uaNS9hhrk5OlI5wL_1BDdNr1uefSZUMgOa_t37VeXo,1628
613
+ tencentcloud_sdk_python_intl_en-3.0.1096.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
614
+ tencentcloud_sdk_python_intl_en-3.0.1096.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
615
+ tencentcloud_sdk_python_intl_en-3.0.1096.dist-info/RECORD,,