tencentcloud-sdk-python-ocr 3.1.209__tar.gz → 3.1.212__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.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/setup.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/tencentcloud/ocr/v20181119/models.py +19 -4
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ocr-3.1.212/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ocr-3.1.209/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/README.rst +0 -0
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/tencentcloud/ocr/v20181119/ocr_client_async.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.209 → tencentcloud_sdk_python_ocr-3.1.212}/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.
|
|
3
|
+
Version: 3.1.212
|
|
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.212
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.212,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ocr SDK for Python',
|
|
@@ -23486,7 +23486,7 @@ class QuestionInfo(AbstractModel):
|
|
|
23486
23486
|
:type ImageBase64: str
|
|
23487
23487
|
:param _ReturnImageUrl: <p>预处理后的图片URL,如果开启了图像切边矫正,后续的坐标都是基于当前图片返回的坐标</p>
|
|
23488
23488
|
:type ReturnImageUrl: str
|
|
23489
|
-
:param _ClassName: <p>【批改 API 专属特性】图片类型预判别(常规作业 / 非作业图片 / 无作答痕迹),仅 ModelType = yuanbao_correction_model
|
|
23489
|
+
:param _ClassName: <p>【批改 API 专属特性】图片类型预判别(常规作业 / 非作业图片 / 无作答痕迹),仅 ModelType = yuanbao_correction_model 且快速模式下生效。其他模型类型不支持该能力。</p>
|
|
23490
23490
|
:type ClassName: str
|
|
23491
23491
|
:param _PageIndex: <p>文档所在页</p>
|
|
23492
23492
|
:type PageIndex: int
|
|
@@ -23593,7 +23593,7 @@ class QuestionInfo(AbstractModel):
|
|
|
23593
23593
|
|
|
23594
23594
|
@property
|
|
23595
23595
|
def ClassName(self):
|
|
23596
|
-
r"""<p>【批改 API 专属特性】图片类型预判别(常规作业 / 非作业图片 / 无作答痕迹),仅 ModelType = yuanbao_correction_model
|
|
23596
|
+
r"""<p>【批改 API 专属特性】图片类型预判别(常规作业 / 非作业图片 / 无作答痕迹),仅 ModelType = yuanbao_correction_model 且快速模式下生效。其他模型类型不支持该能力。</p>
|
|
23597
23597
|
:rtype: str
|
|
23598
23598
|
"""
|
|
23599
23599
|
return self._ClassName
|
|
@@ -28821,10 +28821,12 @@ class ResultList(AbstractModel):
|
|
|
28821
28821
|
:type Subject: str
|
|
28822
28822
|
:param _KnowledgePoints: <p>返回题目的知识点内容</p>
|
|
28823
28823
|
:type KnowledgePoints: list of str
|
|
28824
|
-
:param _AnswerAnalysis: <p>【批改 API
|
|
28824
|
+
:param _AnswerAnalysis: <p>【批改 API 专属特性】</p><ol><li>当ModelType= yuanbao_correction_model 且快速模式下,通过该字段返回题目维度的答案解析</li><li>其他批改配置参数情况,该字段返回空,通过AnswerElement. AnswerAnalysis返回答案维度答案解析</li></ol>
|
|
28825
28825
|
:type AnswerAnalysis: str
|
|
28826
28826
|
:param _Grade: <p>年级:小学/初中/高中</p>
|
|
28827
28827
|
:type Grade: str
|
|
28828
|
+
:param _Confidence: <p>【批改 API专属特性】返回题目维度的批改置信度(0-100)值越高表示答案准确度越高<br>备注:仅有ModelType=youtu_correction_model模型且非快速模式支持返回。</p>
|
|
28829
|
+
:type Confidence: int
|
|
28828
28830
|
"""
|
|
28829
28831
|
self._Question = None
|
|
28830
28832
|
self._Option = None
|
|
@@ -28839,6 +28841,7 @@ class ResultList(AbstractModel):
|
|
|
28839
28841
|
self._KnowledgePoints = None
|
|
28840
28842
|
self._AnswerAnalysis = None
|
|
28841
28843
|
self._Grade = None
|
|
28844
|
+
self._Confidence = None
|
|
28842
28845
|
|
|
28843
28846
|
@property
|
|
28844
28847
|
def Question(self):
|
|
@@ -28969,7 +28972,7 @@ class ResultList(AbstractModel):
|
|
|
28969
28972
|
|
|
28970
28973
|
@property
|
|
28971
28974
|
def AnswerAnalysis(self):
|
|
28972
|
-
r"""<p>【批改 API
|
|
28975
|
+
r"""<p>【批改 API 专属特性】</p><ol><li>当ModelType= yuanbao_correction_model 且快速模式下,通过该字段返回题目维度的答案解析</li><li>其他批改配置参数情况,该字段返回空,通过AnswerElement. AnswerAnalysis返回答案维度答案解析</li></ol>
|
|
28973
28976
|
:rtype: str
|
|
28974
28977
|
"""
|
|
28975
28978
|
return self._AnswerAnalysis
|
|
@@ -28989,6 +28992,17 @@ class ResultList(AbstractModel):
|
|
|
28989
28992
|
def Grade(self, Grade):
|
|
28990
28993
|
self._Grade = Grade
|
|
28991
28994
|
|
|
28995
|
+
@property
|
|
28996
|
+
def Confidence(self):
|
|
28997
|
+
r"""<p>【批改 API专属特性】返回题目维度的批改置信度(0-100)值越高表示答案准确度越高<br>备注:仅有ModelType=youtu_correction_model模型且非快速模式支持返回。</p>
|
|
28998
|
+
:rtype: int
|
|
28999
|
+
"""
|
|
29000
|
+
return self._Confidence
|
|
29001
|
+
|
|
29002
|
+
@Confidence.setter
|
|
29003
|
+
def Confidence(self, Confidence):
|
|
29004
|
+
self._Confidence = Confidence
|
|
29005
|
+
|
|
28992
29006
|
|
|
28993
29007
|
def _deserialize(self, params):
|
|
28994
29008
|
if params.get("Question") is not None:
|
|
@@ -29039,6 +29053,7 @@ class ResultList(AbstractModel):
|
|
|
29039
29053
|
self._KnowledgePoints = params.get("KnowledgePoints")
|
|
29040
29054
|
self._AnswerAnalysis = params.get("AnswerAnalysis")
|
|
29041
29055
|
self._Grade = params.get("Grade")
|
|
29056
|
+
self._Confidence = params.get("Confidence")
|
|
29042
29057
|
memeber_set = set(params.keys())
|
|
29043
29058
|
for name, value in vars(self).items():
|
|
29044
29059
|
property_name = name[1:]
|
|
@@ -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.212
|
|
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.212
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.212
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.209
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|