tencentcloud-sdk-python-ocr 3.0.1227__tar.gz → 3.0.1229__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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/tencentcloud/ocr/v20181119/models.py +14 -6
  5. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-ocr-3.0.1229/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-ocr-3.0.1227/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/README.rst +0 -0
  9. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/tencentcloud/ocr/__init__.py +0 -0
  11. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/tencentcloud/ocr/v20181119/__init__.py +0 -0
  12. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
  14. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ocr-3.0.1227 → tencentcloud-sdk-python-ocr-3.0.1229}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.0.1227
3
+ Version: 3.0.1229
4
4
  Summary: Tencent Cloud Ocr SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -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.1227"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1229"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Ocr SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1227'
17
+ __version__ = '3.0.1229'
@@ -7829,13 +7829,9 @@ class GeneralBasicOCRRequest(AbstractModel):
7829
7829
 
7830
7830
  def __init__(self):
7831
7831
  r"""
7832
- :param _ImageBase64: 图片/PDF的 Base64 值。
7833
- 要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。
7834
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7832
+ :param _ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7835
7833
  :type ImageBase64: str
7836
- :param _ImageUrl: 图片/PDF的 Url 地址。
7837
- 要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。
7838
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
7834
+ :param _ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
7839
7835
  :type ImageUrl: str
7840
7836
  :param _Scene: 保留字段。
7841
7837
  :type Scene: str
@@ -14867,6 +14863,8 @@ class PermitOCRResponse(AbstractModel):
14867
14863
  :type Birthday: str
14868
14864
  :param _PortraitImage: 头像照片的base64
14869
14865
  :type PortraitImage: str
14866
+ :param _Type: 返回类型
14867
+ :type Type: str
14870
14868
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14871
14869
  :type RequestId: str
14872
14870
  """
@@ -14879,6 +14877,7 @@ class PermitOCRResponse(AbstractModel):
14879
14877
  self._IssueAddress = None
14880
14878
  self._Birthday = None
14881
14879
  self._PortraitImage = None
14880
+ self._Type = None
14882
14881
  self._RequestId = None
14883
14882
 
14884
14883
  @property
@@ -14953,6 +14952,14 @@ class PermitOCRResponse(AbstractModel):
14953
14952
  def PortraitImage(self, PortraitImage):
14954
14953
  self._PortraitImage = PortraitImage
14955
14954
 
14955
+ @property
14956
+ def Type(self):
14957
+ return self._Type
14958
+
14959
+ @Type.setter
14960
+ def Type(self, Type):
14961
+ self._Type = Type
14962
+
14956
14963
  @property
14957
14964
  def RequestId(self):
14958
14965
  return self._RequestId
@@ -14972,6 +14979,7 @@ class PermitOCRResponse(AbstractModel):
14972
14979
  self._IssueAddress = params.get("IssueAddress")
14973
14980
  self._Birthday = params.get("Birthday")
14974
14981
  self._PortraitImage = params.get("PortraitImage")
14982
+ self._Type = params.get("Type")
14975
14983
  self._RequestId = params.get("RequestId")
14976
14984
 
14977
14985
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.0.1227
3
+ Version: 3.0.1229
4
4
  Summary: Tencent Cloud Ocr SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1229
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1227