tencentcloud-sdk-python-ocr 3.0.1196__tar.gz → 3.0.1198__tar.gz
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.
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/tencentcloud/ocr/v20181119/models.py +24 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1198/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1196/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1198}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ocr',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1198"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -14690,9 +14690,12 @@ class PermitOCRRequest(AbstractModel):
|
|
|
14690
14690
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
14691
14691
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
14692
14692
|
:type ImageUrl: str
|
|
14693
|
+
:param _CropPortrait: 是否返回头像照片,默认为 false
|
|
14694
|
+
:type CropPortrait: bool
|
|
14693
14695
|
"""
|
|
14694
14696
|
self._ImageBase64 = None
|
|
14695
14697
|
self._ImageUrl = None
|
|
14698
|
+
self._CropPortrait = None
|
|
14696
14699
|
|
|
14697
14700
|
@property
|
|
14698
14701
|
def ImageBase64(self):
|
|
@@ -14710,10 +14713,19 @@ class PermitOCRRequest(AbstractModel):
|
|
|
14710
14713
|
def ImageUrl(self, ImageUrl):
|
|
14711
14714
|
self._ImageUrl = ImageUrl
|
|
14712
14715
|
|
|
14716
|
+
@property
|
|
14717
|
+
def CropPortrait(self):
|
|
14718
|
+
return self._CropPortrait
|
|
14719
|
+
|
|
14720
|
+
@CropPortrait.setter
|
|
14721
|
+
def CropPortrait(self, CropPortrait):
|
|
14722
|
+
self._CropPortrait = CropPortrait
|
|
14723
|
+
|
|
14713
14724
|
|
|
14714
14725
|
def _deserialize(self, params):
|
|
14715
14726
|
self._ImageBase64 = params.get("ImageBase64")
|
|
14716
14727
|
self._ImageUrl = params.get("ImageUrl")
|
|
14728
|
+
self._CropPortrait = params.get("CropPortrait")
|
|
14717
14729
|
memeber_set = set(params.keys())
|
|
14718
14730
|
for name, value in vars(self).items():
|
|
14719
14731
|
property_name = name[1:]
|
|
@@ -14747,6 +14759,8 @@ class PermitOCRResponse(AbstractModel):
|
|
|
14747
14759
|
:type IssueAddress: str
|
|
14748
14760
|
:param _Birthday: 出生日期
|
|
14749
14761
|
:type Birthday: str
|
|
14762
|
+
:param _PortraitImage: 头像照片的base64
|
|
14763
|
+
:type PortraitImage: str
|
|
14750
14764
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14751
14765
|
:type RequestId: str
|
|
14752
14766
|
"""
|
|
@@ -14758,6 +14772,7 @@ class PermitOCRResponse(AbstractModel):
|
|
|
14758
14772
|
self._IssueAuthority = None
|
|
14759
14773
|
self._IssueAddress = None
|
|
14760
14774
|
self._Birthday = None
|
|
14775
|
+
self._PortraitImage = None
|
|
14761
14776
|
self._RequestId = None
|
|
14762
14777
|
|
|
14763
14778
|
@property
|
|
@@ -14824,6 +14839,14 @@ class PermitOCRResponse(AbstractModel):
|
|
|
14824
14839
|
def Birthday(self, Birthday):
|
|
14825
14840
|
self._Birthday = Birthday
|
|
14826
14841
|
|
|
14842
|
+
@property
|
|
14843
|
+
def PortraitImage(self):
|
|
14844
|
+
return self._PortraitImage
|
|
14845
|
+
|
|
14846
|
+
@PortraitImage.setter
|
|
14847
|
+
def PortraitImage(self, PortraitImage):
|
|
14848
|
+
self._PortraitImage = PortraitImage
|
|
14849
|
+
|
|
14827
14850
|
@property
|
|
14828
14851
|
def RequestId(self):
|
|
14829
14852
|
return self._RequestId
|
|
@@ -14842,6 +14865,7 @@ class PermitOCRResponse(AbstractModel):
|
|
|
14842
14865
|
self._IssueAuthority = params.get("IssueAuthority")
|
|
14843
14866
|
self._IssueAddress = params.get("IssueAddress")
|
|
14844
14867
|
self._Birthday = params.get("Birthday")
|
|
14868
|
+
self._PortraitImage = params.get("PortraitImage")
|
|
14845
14869
|
self._RequestId = params.get("RequestId")
|
|
14846
14870
|
|
|
14847
14871
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1198
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1196
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|