tencentcloud-sdk-python-ocr 3.0.1373__tar.gz → 3.0.1375__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.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/tencentcloud/ocr/v20181119/models.py +20 -2
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1375/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1373/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1373 → tencentcloud-sdk-python-ocr-3.0.1375}/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.1375"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -12672,7 +12672,6 @@ Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:
|
|
|
12672
12672
|
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
|
12673
12673
|
|
|
12674
12674
|
WarnInfos,告警信息,Code 告警码列表和释义:
|
|
12675
|
-
-9100 身份证有效日期不合法告警,
|
|
12676
12675
|
-9101 身份证边框不完整告警,
|
|
12677
12676
|
|
|
12678
12677
|
-9102 身份证复印件告警(黑白及彩色复印件),
|
|
@@ -12799,7 +12798,6 @@ Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:
|
|
|
12799
12798
|
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
|
12800
12799
|
|
|
12801
12800
|
WarnInfos,告警信息,Code 告警码列表和释义:
|
|
12802
|
-
-9100 身份证有效日期不合法告警,
|
|
12803
12801
|
-9101 身份证边框不完整告警,
|
|
12804
12802
|
|
|
12805
12803
|
-9102 身份证复印件告警(黑白及彩色复印件),
|
|
@@ -27082,6 +27080,8 @@ class ResultList(AbstractModel):
|
|
|
27082
27080
|
:param _Answer: 答案
|
|
27083
27081
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
27084
27082
|
:type Answer: list of Element
|
|
27083
|
+
:param _Parse: 解析
|
|
27084
|
+
:type Parse: list of Element
|
|
27085
27085
|
:param _Coord: 整题的坐标
|
|
27086
27086
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
27087
27087
|
:type Coord: list of Polygon
|
|
@@ -27091,6 +27091,7 @@ class ResultList(AbstractModel):
|
|
|
27091
27091
|
self._Figure = None
|
|
27092
27092
|
self._Table = None
|
|
27093
27093
|
self._Answer = None
|
|
27094
|
+
self._Parse = None
|
|
27094
27095
|
self._Coord = None
|
|
27095
27096
|
|
|
27096
27097
|
@property
|
|
@@ -27153,6 +27154,17 @@ class ResultList(AbstractModel):
|
|
|
27153
27154
|
def Answer(self, Answer):
|
|
27154
27155
|
self._Answer = Answer
|
|
27155
27156
|
|
|
27157
|
+
@property
|
|
27158
|
+
def Parse(self):
|
|
27159
|
+
"""解析
|
|
27160
|
+
:rtype: list of Element
|
|
27161
|
+
"""
|
|
27162
|
+
return self._Parse
|
|
27163
|
+
|
|
27164
|
+
@Parse.setter
|
|
27165
|
+
def Parse(self, Parse):
|
|
27166
|
+
self._Parse = Parse
|
|
27167
|
+
|
|
27156
27168
|
@property
|
|
27157
27169
|
def Coord(self):
|
|
27158
27170
|
"""整题的坐标
|
|
@@ -27197,6 +27209,12 @@ class ResultList(AbstractModel):
|
|
|
27197
27209
|
obj = Element()
|
|
27198
27210
|
obj._deserialize(item)
|
|
27199
27211
|
self._Answer.append(obj)
|
|
27212
|
+
if params.get("Parse") is not None:
|
|
27213
|
+
self._Parse = []
|
|
27214
|
+
for item in params.get("Parse"):
|
|
27215
|
+
obj = Element()
|
|
27216
|
+
obj._deserialize(item)
|
|
27217
|
+
self._Parse.append(obj)
|
|
27200
27218
|
if params.get("Coord") is not None:
|
|
27201
27219
|
self._Coord = []
|
|
27202
27220
|
for item in params.get("Coord"):
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1375
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1373
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|