tencentcloud-sdk-python-ocr 3.1.162__py2.py3-none-any.whl → 3.1.164__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ocr/v20181119/models.py +17 -2
- {tencentcloud_sdk_python_ocr-3.1.162.dist-info → tencentcloud_sdk_python_ocr-3.1.164.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_ocr-3.1.162.dist-info → tencentcloud_sdk_python_ocr-3.1.164.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_ocr-3.1.162.dist-info → tencentcloud_sdk_python_ocr-3.1.164.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_ocr-3.1.162.dist-info → tencentcloud_sdk_python_ocr-3.1.164.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -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.
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.164
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=uU7__J_ZHKBf7DZFIXDR1_Yv2gZauhGaLmrahoeetO0,630
|
|
2
2
|
tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/ocr/v20181119/errorcodes.py,sha256=JIZv0T7mSsIMfQKdQjHDSsF8oW-b9rJTZovBM5qM9xU,7187
|
|
5
|
-
tencentcloud/ocr/v20181119/models.py,sha256=
|
|
5
|
+
tencentcloud/ocr/v20181119/models.py,sha256=mguSYq84Y7HuwD9jMPQNyL8oELKzXC20qJJxQWan698,1369536
|
|
6
6
|
tencentcloud/ocr/v20181119/ocr_client.py,sha256=ZabsztKSo-Wr7q92zk0c73F9LZI-1Aa--SZ1KPQb37Y,115772
|
|
7
7
|
tencentcloud/ocr/v20181119/ocr_client_async.py,sha256=t3sEKg7Mebi8piK1TTcVDnNQxVnp0YRil-tPvmtctJ0,92353
|
|
8
|
-
tencentcloud_sdk_python_ocr-3.1.
|
|
9
|
-
tencentcloud_sdk_python_ocr-3.1.
|
|
10
|
-
tencentcloud_sdk_python_ocr-3.1.
|
|
11
|
-
tencentcloud_sdk_python_ocr-3.1.
|
|
8
|
+
tencentcloud_sdk_python_ocr-3.1.164.dist-info/METADATA,sha256=0BZebwyZlcfyarMrZVDzUa6NKQLu55TE4fJeE8IOcfk,1497
|
|
9
|
+
tencentcloud_sdk_python_ocr-3.1.164.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_ocr-3.1.164.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_ocr-3.1.164.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|