tencentcloud-sdk-python-ocr 3.0.1121__tar.gz → 3.0.1123__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.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/tencentcloud/ocr/v20181119/models.py +13 -0
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1123/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1121/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1121 → tencentcloud-sdk-python-ocr-3.0.1123}/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.1123"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -3291,6 +3291,9 @@ class DocumentElement(AbstractModel):
|
|
|
3291
3291
|
:param _Level: 元素层级
|
|
3292
3292
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3293
3293
|
:type Level: int
|
|
3294
|
+
:param _InsetImageName: 入参开启EnableInsetImage后返回,表示在InsetImagePackage中的内嵌图片名称
|
|
3295
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3296
|
+
:type InsetImageName: str
|
|
3294
3297
|
:param _Elements: 嵌套的文档元素信息,一般包含的是文档内嵌入图片的文字识别结果
|
|
3295
3298
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3296
3299
|
:type Elements: list of DocumentElement
|
|
@@ -3300,6 +3303,7 @@ class DocumentElement(AbstractModel):
|
|
|
3300
3303
|
self._Text = None
|
|
3301
3304
|
self._Polygon = None
|
|
3302
3305
|
self._Level = None
|
|
3306
|
+
self._InsetImageName = None
|
|
3303
3307
|
self._Elements = None
|
|
3304
3308
|
|
|
3305
3309
|
@property
|
|
@@ -3342,6 +3346,14 @@ class DocumentElement(AbstractModel):
|
|
|
3342
3346
|
def Level(self, Level):
|
|
3343
3347
|
self._Level = Level
|
|
3344
3348
|
|
|
3349
|
+
@property
|
|
3350
|
+
def InsetImageName(self):
|
|
3351
|
+
return self._InsetImageName
|
|
3352
|
+
|
|
3353
|
+
@InsetImageName.setter
|
|
3354
|
+
def InsetImageName(self, InsetImageName):
|
|
3355
|
+
self._InsetImageName = InsetImageName
|
|
3356
|
+
|
|
3345
3357
|
@property
|
|
3346
3358
|
def Elements(self):
|
|
3347
3359
|
return self._Elements
|
|
@@ -3359,6 +3371,7 @@ class DocumentElement(AbstractModel):
|
|
|
3359
3371
|
self._Polygon = Polygon()
|
|
3360
3372
|
self._Polygon._deserialize(params.get("Polygon"))
|
|
3361
3373
|
self._Level = params.get("Level")
|
|
3374
|
+
self._InsetImageName = params.get("InsetImageName")
|
|
3362
3375
|
if params.get("Elements") is not None:
|
|
3363
3376
|
self._Elements = []
|
|
3364
3377
|
for item in params.get("Elements"):
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1123
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1121
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|