tencentcloud-sdk-python-ocr 3.1.162__tar.gz → 3.1.164__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 (17) hide show
  1. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/setup.py +1 -1
  3. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/tencentcloud/ocr/v20181119/models.py +17 -2
  5. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_ocr-3.1.164/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_ocr-3.1.162/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/README.rst +0 -0
  9. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/tencentcloud/ocr/__init__.py +0 -0
  11. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/tencentcloud/ocr/v20181119/__init__.py +0 -0
  12. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
  14. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/tencentcloud/ocr/v20181119/ocr_client_async.py +0 -0
  15. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_ocr-3.1.162 → tencentcloud_sdk_python_ocr-3.1.164}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.1.162
3
+ Version: 3.1.164
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.162
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.164
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1.162,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.164,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Ocr SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.162'
17
+ __version__ = '3.1.164'
@@ -4517,8 +4517,10 @@ class CropEnhanceImageOCRResponse(AbstractModel):
4517
4517
  :type CroppedWidth: int
4518
4518
  :param _CroppedHeight: <p>处理后图的高</p>
4519
4519
  :type CroppedHeight: int
4520
- :param _CroppedImage: <p>图像处理后的jpg图片,base64格式</p>
4520
+ :param _CroppedImage: <p>图像处理后的jpg图片,base64格式</p><p><strong><p><code>该字段后续不返回内容,请使用CroppedImageUrl</code></p></strong></p>
4521
4521
  :type CroppedImage: str
4522
+ :param _CroppedImageUrl: <p>图像处理后的jpg图片</p><p>参数格式:url格式</p>
4523
+ :type CroppedImageUrl: str
4522
4524
  :param _Position: <p>切图区域的4个角点坐标, 是个长度为8的数组<br>[0,1,2,3,4,5,6,7]</p><p>(0,1) 左上角坐标<br>(2,3) 右上角坐标<br>(4,5) 右下角坐标<br>(6,7) 左下角坐标</p>
4523
4525
  :type Position: list of int
4524
4526
  :param _Angle: <p>图像角度,AdjustOrientation =1时生效, 返回值如下 -1: 失败 0、90、180、270</p>
@@ -4530,6 +4532,7 @@ class CropEnhanceImageOCRResponse(AbstractModel):
4530
4532
  self._CroppedWidth = None
4531
4533
  self._CroppedHeight = None
4532
4534
  self._CroppedImage = None
4535
+ self._CroppedImageUrl = None
4533
4536
  self._Position = None
4534
4537
  self._Angle = None
4535
4538
  self._RequestId = None
@@ -4558,7 +4561,7 @@ class CropEnhanceImageOCRResponse(AbstractModel):
4558
4561
 
4559
4562
  @property
4560
4563
  def CroppedImage(self):
4561
- r"""<p>图像处理后的jpg图片,base64格式</p>
4564
+ r"""<p>图像处理后的jpg图片,base64格式</p><p><strong><p><code>该字段后续不返回内容,请使用CroppedImageUrl</code></p></strong></p>
4562
4565
  :rtype: str
4563
4566
  """
4564
4567
  return self._CroppedImage
@@ -4567,6 +4570,17 @@ class CropEnhanceImageOCRResponse(AbstractModel):
4567
4570
  def CroppedImage(self, CroppedImage):
4568
4571
  self._CroppedImage = CroppedImage
4569
4572
 
4573
+ @property
4574
+ def CroppedImageUrl(self):
4575
+ r"""<p>图像处理后的jpg图片</p><p>参数格式:url格式</p>
4576
+ :rtype: str
4577
+ """
4578
+ return self._CroppedImageUrl
4579
+
4580
+ @CroppedImageUrl.setter
4581
+ def CroppedImageUrl(self, CroppedImageUrl):
4582
+ self._CroppedImageUrl = CroppedImageUrl
4583
+
4570
4584
  @property
4571
4585
  def Position(self):
4572
4586
  r"""<p>切图区域的4个角点坐标, 是个长度为8的数组<br>[0,1,2,3,4,5,6,7]</p><p>(0,1) 左上角坐标<br>(2,3) 右上角坐标<br>(4,5) 右下角坐标<br>(6,7) 左下角坐标</p>
@@ -4606,6 +4620,7 @@ class CropEnhanceImageOCRResponse(AbstractModel):
4606
4620
  self._CroppedWidth = params.get("CroppedWidth")
4607
4621
  self._CroppedHeight = params.get("CroppedHeight")
4608
4622
  self._CroppedImage = params.get("CroppedImage")
4623
+ self._CroppedImageUrl = params.get("CroppedImageUrl")
4609
4624
  self._Position = params.get("Position")
4610
4625
  self._Angle = params.get("Angle")
4611
4626
  self._RequestId = params.get("RequestId")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.1.162
3
+ Version: 3.1.164
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.162
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.164
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.164
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.162