tencentcloud-sdk-python-ocr 3.1.212__tar.gz → 3.1.213__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.212 → tencentcloud_sdk_python_ocr-3.1.213}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/setup.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/tencentcloud/ocr/v20181119/models.py +6 -6
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ocr-3.1.213/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ocr-3.1.212/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/README.rst +0 -0
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/tencentcloud/ocr/v20181119/ocr_client_async.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.212 → tencentcloud_sdk_python_ocr-3.1.213}/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.213
|
|
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.213
|
|
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.213,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ocr SDK for Python',
|
|
@@ -32104,7 +32104,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32104
32104
|
:type BoolSingleQuestion: bool
|
|
32105
32105
|
:param _EnableDeepThink: <p>默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢</p>
|
|
32106
32106
|
:type EnableDeepThink: bool
|
|
32107
|
-
:param _QuestionConfigMap: <p>题目信息输出配置(默认快速模式只输出题目外层题目边框坐标、批改答案、手写答案坐标、答案分析、正确答案)</p><p>当key为QuickGradingEnabled value为false
|
|
32107
|
+
:param _QuestionConfigMap: <p>题目信息输出配置(默认快速模式只输出题目外层题目边框坐标、批改答案、手写答案坐标、答案分析、正确答案)</p><p>当key为QuickGradingEnabled value为false表示关闭快速模式(速度会变慢),新增输出手写作答、题干、插图坐标、知识点<br>当key为StepCorrection value为true表示启用步骤级批改(速度会变慢);</p><p><em>备注:可通过ModelType切换模型体验不同模型的<strong>快速模式</strong>,速度都是8s左右,效果各有优劣</em></p>
|
|
32108
32108
|
:type QuestionConfigMap: str
|
|
32109
32109
|
:param _ReferenceAnswer: <p>【废弃字段】</p>
|
|
32110
32110
|
:type ReferenceAnswer: str
|
|
@@ -32112,13 +32112,13 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32112
32112
|
:type ImageBase64List: list of str
|
|
32113
32113
|
:param _ImageUrlList: <p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N 来输入含正确解析试卷,最多1张</li><li>当AssistMarkType为1时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
|
|
32114
32114
|
:type ImageUrlList: list of str
|
|
32115
|
-
:param _AssistMarkType: <p
|
|
32115
|
+
:param _AssistMarkType: <p>辅助批改类型,默认0</p><p>枚举值:</p><ul><li>0: 无辅助批改,直接模型批改</li><li>1: 单题文本辅助批改,配合AnswerAssistMap使用</li><li>2: 整页辅助批改,待批改试卷使用ImageUrl/ImageBase64,答案部分使用ImageBase64List.N/ImageUrlList.N</li></ul>
|
|
32116
32116
|
:type AssistMarkType: int
|
|
32117
32117
|
:param _AnswerAssistMap: <p>单题辅助批改文本内容列表,当AssistMarkType为1时生效,用于提供题目相关的辅助文本信息。</p><ol><li>当key为ReferenceAnswer,value可以输入单题的辅助答案文本。</li><li>当key为QuestionAuxStem,value可以输入单题的辅助题干。</li></ol>
|
|
32118
32118
|
:type AnswerAssistMap: str
|
|
32119
32119
|
:param _EnableImageCrop: <p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-> ReturnImageUrl中,默认为false不开启</p>
|
|
32120
32120
|
:type EnableImageCrop: bool
|
|
32121
|
-
:param _ModelType: <p
|
|
32121
|
+
:param _ModelType: <p>批改模型选择,默认:yuanbao_correction_model</p><p>枚举值:</p><ul><li>yuanbao_correction_model: 快速批改模型平均耗时8s。针对单题跨栏、多栏(≥2栏)排版及子题数超过 30 道的复杂算式场景,耗时约为快速批改模式的 2 倍+。</li><li>youtu_correction_model: 深度批改模型平均耗时12-30s。全场景支持,<strong>精度更高,并且支持题目级置信度返回</strong>。</li></ul>
|
|
32122
32122
|
:type ModelType: str
|
|
32123
32123
|
"""
|
|
32124
32124
|
self._ImageBase64 = None
|
|
@@ -32200,7 +32200,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32200
32200
|
|
|
32201
32201
|
@property
|
|
32202
32202
|
def QuestionConfigMap(self):
|
|
32203
|
-
r"""<p>题目信息输出配置(默认快速模式只输出题目外层题目边框坐标、批改答案、手写答案坐标、答案分析、正确答案)</p><p>当key为QuickGradingEnabled value为false
|
|
32203
|
+
r"""<p>题目信息输出配置(默认快速模式只输出题目外层题目边框坐标、批改答案、手写答案坐标、答案分析、正确答案)</p><p>当key为QuickGradingEnabled value为false表示关闭快速模式(速度会变慢),新增输出手写作答、题干、插图坐标、知识点<br>当key为StepCorrection value为true表示启用步骤级批改(速度会变慢);</p><p><em>备注:可通过ModelType切换模型体验不同模型的<strong>快速模式</strong>,速度都是8s左右,效果各有优劣</em></p>
|
|
32204
32204
|
:rtype: str
|
|
32205
32205
|
"""
|
|
32206
32206
|
return self._QuestionConfigMap
|
|
@@ -32248,7 +32248,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32248
32248
|
|
|
32249
32249
|
@property
|
|
32250
32250
|
def AssistMarkType(self):
|
|
32251
|
-
r"""<p
|
|
32251
|
+
r"""<p>辅助批改类型,默认0</p><p>枚举值:</p><ul><li>0: 无辅助批改,直接模型批改</li><li>1: 单题文本辅助批改,配合AnswerAssistMap使用</li><li>2: 整页辅助批改,待批改试卷使用ImageUrl/ImageBase64,答案部分使用ImageBase64List.N/ImageUrlList.N</li></ul>
|
|
32252
32252
|
:rtype: int
|
|
32253
32253
|
"""
|
|
32254
32254
|
return self._AssistMarkType
|
|
@@ -32281,7 +32281,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32281
32281
|
|
|
32282
32282
|
@property
|
|
32283
32283
|
def ModelType(self):
|
|
32284
|
-
r"""<p
|
|
32284
|
+
r"""<p>批改模型选择,默认:yuanbao_correction_model</p><p>枚举值:</p><ul><li>yuanbao_correction_model: 快速批改模型平均耗时8s。针对单题跨栏、多栏(≥2栏)排版及子题数超过 30 道的复杂算式场景,耗时约为快速批改模式的 2 倍+。</li><li>youtu_correction_model: 深度批改模型平均耗时12-30s。全场景支持,<strong>精度更高,并且支持题目级置信度返回</strong>。</li></ul>
|
|
32285
32285
|
:rtype: str
|
|
32286
32286
|
"""
|
|
32287
32287
|
return self._ModelType
|
|
@@ -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.213
|
|
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.213
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.213
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.212
|
|
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
|