tencentcloud-sdk-python-ocr 3.1.44__tar.gz → 3.1.45__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-ocr might be problematic. Click here for more details.
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/setup.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/tencentcloud/ocr/v20181119/models.py +575 -0
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/tencentcloud/ocr/v20181119/ocr_client.py +50 -0
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/tencentcloud/ocr/v20181119/ocr_client_async.py +40 -0
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ocr-3.1.45/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ocr-3.1.44/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/README.rst +0 -0
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.44 → tencentcloud_sdk_python_ocr-3.1.45}/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.45
|
|
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.45
|
|
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.45,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ocr SDK for Python',
|
|
@@ -1114,6 +1114,145 @@ class AirTransport(AbstractModel):
|
|
|
1114
1114
|
|
|
1115
1115
|
|
|
1116
1116
|
|
|
1117
|
+
class AnswerInfo(AbstractModel):
|
|
1118
|
+
r"""单题所有答案区域批改信息
|
|
1119
|
+
|
|
1120
|
+
"""
|
|
1121
|
+
|
|
1122
|
+
def __init__(self):
|
|
1123
|
+
r"""
|
|
1124
|
+
:param _HandwriteInfo: 手写答案内容,比如选择题的手写的选项、填空题的手写内容
|
|
1125
|
+
:type HandwriteInfo: str
|
|
1126
|
+
:param _IsCorrect: 答案是否正确
|
|
1127
|
+
:type IsCorrect: bool
|
|
1128
|
+
:param _AnswerAnalysis: 答案分析结果
|
|
1129
|
+
|
|
1130
|
+
:type AnswerAnalysis: str
|
|
1131
|
+
:param _HandwriteInfoPositions: 答案区域的4个角点坐标, 是个长度为8的数组
|
|
1132
|
+
|
|
1133
|
+
[0,1,2,3,4,5,6,7]
|
|
1134
|
+
|
|
1135
|
+
(0,1) 左上角坐标
|
|
1136
|
+
(2,3) 右上角坐标
|
|
1137
|
+
(4,5) 右下角坐标
|
|
1138
|
+
(6,7) 左下角坐标
|
|
1139
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1140
|
+
:type HandwriteInfoPositions: list of int
|
|
1141
|
+
:param _RightAnswer: 返回正确答案内容
|
|
1142
|
+
|
|
1143
|
+
QuestionConfigMap配置了(“TrueAnswer”:1)才生效返回
|
|
1144
|
+
:type RightAnswer: str
|
|
1145
|
+
:param _KnowledgePoints: 返回题目的知识点内容
|
|
1146
|
+
|
|
1147
|
+
QuestionConfigMap配置了(“KnowledgePoints”:1)才生效返回
|
|
1148
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1149
|
+
:type KnowledgePoints: list of str
|
|
1150
|
+
"""
|
|
1151
|
+
self._HandwriteInfo = None
|
|
1152
|
+
self._IsCorrect = None
|
|
1153
|
+
self._AnswerAnalysis = None
|
|
1154
|
+
self._HandwriteInfoPositions = None
|
|
1155
|
+
self._RightAnswer = None
|
|
1156
|
+
self._KnowledgePoints = None
|
|
1157
|
+
|
|
1158
|
+
@property
|
|
1159
|
+
def HandwriteInfo(self):
|
|
1160
|
+
r"""手写答案内容,比如选择题的手写的选项、填空题的手写内容
|
|
1161
|
+
:rtype: str
|
|
1162
|
+
"""
|
|
1163
|
+
return self._HandwriteInfo
|
|
1164
|
+
|
|
1165
|
+
@HandwriteInfo.setter
|
|
1166
|
+
def HandwriteInfo(self, HandwriteInfo):
|
|
1167
|
+
self._HandwriteInfo = HandwriteInfo
|
|
1168
|
+
|
|
1169
|
+
@property
|
|
1170
|
+
def IsCorrect(self):
|
|
1171
|
+
r"""答案是否正确
|
|
1172
|
+
:rtype: bool
|
|
1173
|
+
"""
|
|
1174
|
+
return self._IsCorrect
|
|
1175
|
+
|
|
1176
|
+
@IsCorrect.setter
|
|
1177
|
+
def IsCorrect(self, IsCorrect):
|
|
1178
|
+
self._IsCorrect = IsCorrect
|
|
1179
|
+
|
|
1180
|
+
@property
|
|
1181
|
+
def AnswerAnalysis(self):
|
|
1182
|
+
r"""答案分析结果
|
|
1183
|
+
|
|
1184
|
+
:rtype: str
|
|
1185
|
+
"""
|
|
1186
|
+
return self._AnswerAnalysis
|
|
1187
|
+
|
|
1188
|
+
@AnswerAnalysis.setter
|
|
1189
|
+
def AnswerAnalysis(self, AnswerAnalysis):
|
|
1190
|
+
self._AnswerAnalysis = AnswerAnalysis
|
|
1191
|
+
|
|
1192
|
+
@property
|
|
1193
|
+
def HandwriteInfoPositions(self):
|
|
1194
|
+
r"""答案区域的4个角点坐标, 是个长度为8的数组
|
|
1195
|
+
|
|
1196
|
+
[0,1,2,3,4,5,6,7]
|
|
1197
|
+
|
|
1198
|
+
(0,1) 左上角坐标
|
|
1199
|
+
(2,3) 右上角坐标
|
|
1200
|
+
(4,5) 右下角坐标
|
|
1201
|
+
(6,7) 左下角坐标
|
|
1202
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1203
|
+
:rtype: list of int
|
|
1204
|
+
"""
|
|
1205
|
+
return self._HandwriteInfoPositions
|
|
1206
|
+
|
|
1207
|
+
@HandwriteInfoPositions.setter
|
|
1208
|
+
def HandwriteInfoPositions(self, HandwriteInfoPositions):
|
|
1209
|
+
self._HandwriteInfoPositions = HandwriteInfoPositions
|
|
1210
|
+
|
|
1211
|
+
@property
|
|
1212
|
+
def RightAnswer(self):
|
|
1213
|
+
r"""返回正确答案内容
|
|
1214
|
+
|
|
1215
|
+
QuestionConfigMap配置了(“TrueAnswer”:1)才生效返回
|
|
1216
|
+
:rtype: str
|
|
1217
|
+
"""
|
|
1218
|
+
return self._RightAnswer
|
|
1219
|
+
|
|
1220
|
+
@RightAnswer.setter
|
|
1221
|
+
def RightAnswer(self, RightAnswer):
|
|
1222
|
+
self._RightAnswer = RightAnswer
|
|
1223
|
+
|
|
1224
|
+
@property
|
|
1225
|
+
def KnowledgePoints(self):
|
|
1226
|
+
r"""返回题目的知识点内容
|
|
1227
|
+
|
|
1228
|
+
QuestionConfigMap配置了(“KnowledgePoints”:1)才生效返回
|
|
1229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1230
|
+
:rtype: list of str
|
|
1231
|
+
"""
|
|
1232
|
+
return self._KnowledgePoints
|
|
1233
|
+
|
|
1234
|
+
@KnowledgePoints.setter
|
|
1235
|
+
def KnowledgePoints(self, KnowledgePoints):
|
|
1236
|
+
self._KnowledgePoints = KnowledgePoints
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
def _deserialize(self, params):
|
|
1240
|
+
self._HandwriteInfo = params.get("HandwriteInfo")
|
|
1241
|
+
self._IsCorrect = params.get("IsCorrect")
|
|
1242
|
+
self._AnswerAnalysis = params.get("AnswerAnalysis")
|
|
1243
|
+
self._HandwriteInfoPositions = params.get("HandwriteInfoPositions")
|
|
1244
|
+
self._RightAnswer = params.get("RightAnswer")
|
|
1245
|
+
self._KnowledgePoints = params.get("KnowledgePoints")
|
|
1246
|
+
memeber_set = set(params.keys())
|
|
1247
|
+
for name, value in vars(self).items():
|
|
1248
|
+
property_name = name[1:]
|
|
1249
|
+
if property_name in memeber_set:
|
|
1250
|
+
memeber_set.remove(property_name)
|
|
1251
|
+
if len(memeber_set) > 0:
|
|
1252
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
|
|
1117
1256
|
class ArithmeticOCRRequest(AbstractModel):
|
|
1118
1257
|
r"""ArithmeticOCR请求参数结构体
|
|
1119
1258
|
|
|
@@ -4637,6 +4776,150 @@ class DescribeExtractDocAgentJobResponse(AbstractModel):
|
|
|
4637
4776
|
self._RequestId = params.get("RequestId")
|
|
4638
4777
|
|
|
4639
4778
|
|
|
4779
|
+
class DescribeQuestionMarkAgentJobRequest(AbstractModel):
|
|
4780
|
+
r"""DescribeQuestionMarkAgentJob请求参数结构体
|
|
4781
|
+
|
|
4782
|
+
"""
|
|
4783
|
+
|
|
4784
|
+
def __init__(self):
|
|
4785
|
+
r"""
|
|
4786
|
+
:param _JobId: 任务唯一ID。由服务端生成。
|
|
4787
|
+
:type JobId: str
|
|
4788
|
+
"""
|
|
4789
|
+
self._JobId = None
|
|
4790
|
+
|
|
4791
|
+
@property
|
|
4792
|
+
def JobId(self):
|
|
4793
|
+
r"""任务唯一ID。由服务端生成。
|
|
4794
|
+
:rtype: str
|
|
4795
|
+
"""
|
|
4796
|
+
return self._JobId
|
|
4797
|
+
|
|
4798
|
+
@JobId.setter
|
|
4799
|
+
def JobId(self, JobId):
|
|
4800
|
+
self._JobId = JobId
|
|
4801
|
+
|
|
4802
|
+
|
|
4803
|
+
def _deserialize(self, params):
|
|
4804
|
+
self._JobId = params.get("JobId")
|
|
4805
|
+
memeber_set = set(params.keys())
|
|
4806
|
+
for name, value in vars(self).items():
|
|
4807
|
+
property_name = name[1:]
|
|
4808
|
+
if property_name in memeber_set:
|
|
4809
|
+
memeber_set.remove(property_name)
|
|
4810
|
+
if len(memeber_set) > 0:
|
|
4811
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4812
|
+
|
|
4813
|
+
|
|
4814
|
+
|
|
4815
|
+
class DescribeQuestionMarkAgentJobResponse(AbstractModel):
|
|
4816
|
+
r"""DescribeQuestionMarkAgentJob返回参数结构体
|
|
4817
|
+
|
|
4818
|
+
"""
|
|
4819
|
+
|
|
4820
|
+
def __init__(self):
|
|
4821
|
+
r"""
|
|
4822
|
+
:param _ErrorCode: 任务执行错误码。当任务状态不为 FAIL 时,该值为""。
|
|
4823
|
+
:type ErrorCode: str
|
|
4824
|
+
:param _ErrorMessage: 任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
|
|
4825
|
+
:type ErrorMessage: str
|
|
4826
|
+
:param _JobStatus: 任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
|
|
4827
|
+
:type JobStatus: str
|
|
4828
|
+
:param _Angle: 图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。
|
|
4829
|
+
:type Angle: float
|
|
4830
|
+
:param _MarkInfos: 试题批改信息
|
|
4831
|
+
:type MarkInfos: list of MarkInfo
|
|
4832
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4833
|
+
:type RequestId: str
|
|
4834
|
+
"""
|
|
4835
|
+
self._ErrorCode = None
|
|
4836
|
+
self._ErrorMessage = None
|
|
4837
|
+
self._JobStatus = None
|
|
4838
|
+
self._Angle = None
|
|
4839
|
+
self._MarkInfos = None
|
|
4840
|
+
self._RequestId = None
|
|
4841
|
+
|
|
4842
|
+
@property
|
|
4843
|
+
def ErrorCode(self):
|
|
4844
|
+
r"""任务执行错误码。当任务状态不为 FAIL 时,该值为""。
|
|
4845
|
+
:rtype: str
|
|
4846
|
+
"""
|
|
4847
|
+
return self._ErrorCode
|
|
4848
|
+
|
|
4849
|
+
@ErrorCode.setter
|
|
4850
|
+
def ErrorCode(self, ErrorCode):
|
|
4851
|
+
self._ErrorCode = ErrorCode
|
|
4852
|
+
|
|
4853
|
+
@property
|
|
4854
|
+
def ErrorMessage(self):
|
|
4855
|
+
r"""任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
|
|
4856
|
+
:rtype: str
|
|
4857
|
+
"""
|
|
4858
|
+
return self._ErrorMessage
|
|
4859
|
+
|
|
4860
|
+
@ErrorMessage.setter
|
|
4861
|
+
def ErrorMessage(self, ErrorMessage):
|
|
4862
|
+
self._ErrorMessage = ErrorMessage
|
|
4863
|
+
|
|
4864
|
+
@property
|
|
4865
|
+
def JobStatus(self):
|
|
4866
|
+
r"""任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
|
|
4867
|
+
:rtype: str
|
|
4868
|
+
"""
|
|
4869
|
+
return self._JobStatus
|
|
4870
|
+
|
|
4871
|
+
@JobStatus.setter
|
|
4872
|
+
def JobStatus(self, JobStatus):
|
|
4873
|
+
self._JobStatus = JobStatus
|
|
4874
|
+
|
|
4875
|
+
@property
|
|
4876
|
+
def Angle(self):
|
|
4877
|
+
r"""图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。
|
|
4878
|
+
:rtype: float
|
|
4879
|
+
"""
|
|
4880
|
+
return self._Angle
|
|
4881
|
+
|
|
4882
|
+
@Angle.setter
|
|
4883
|
+
def Angle(self, Angle):
|
|
4884
|
+
self._Angle = Angle
|
|
4885
|
+
|
|
4886
|
+
@property
|
|
4887
|
+
def MarkInfos(self):
|
|
4888
|
+
r"""试题批改信息
|
|
4889
|
+
:rtype: list of MarkInfo
|
|
4890
|
+
"""
|
|
4891
|
+
return self._MarkInfos
|
|
4892
|
+
|
|
4893
|
+
@MarkInfos.setter
|
|
4894
|
+
def MarkInfos(self, MarkInfos):
|
|
4895
|
+
self._MarkInfos = MarkInfos
|
|
4896
|
+
|
|
4897
|
+
@property
|
|
4898
|
+
def RequestId(self):
|
|
4899
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4900
|
+
:rtype: str
|
|
4901
|
+
"""
|
|
4902
|
+
return self._RequestId
|
|
4903
|
+
|
|
4904
|
+
@RequestId.setter
|
|
4905
|
+
def RequestId(self, RequestId):
|
|
4906
|
+
self._RequestId = RequestId
|
|
4907
|
+
|
|
4908
|
+
|
|
4909
|
+
def _deserialize(self, params):
|
|
4910
|
+
self._ErrorCode = params.get("ErrorCode")
|
|
4911
|
+
self._ErrorMessage = params.get("ErrorMessage")
|
|
4912
|
+
self._JobStatus = params.get("JobStatus")
|
|
4913
|
+
self._Angle = params.get("Angle")
|
|
4914
|
+
if params.get("MarkInfos") is not None:
|
|
4915
|
+
self._MarkInfos = []
|
|
4916
|
+
for item in params.get("MarkInfos"):
|
|
4917
|
+
obj = MarkInfo()
|
|
4918
|
+
obj._deserialize(item)
|
|
4919
|
+
self._MarkInfos.append(obj)
|
|
4920
|
+
self._RequestId = params.get("RequestId")
|
|
4921
|
+
|
|
4922
|
+
|
|
4640
4923
|
class DetailInformationOfAirTicketTupleList(AbstractModel):
|
|
4641
4924
|
r"""机票详细信息元组
|
|
4642
4925
|
|
|
@@ -18112,6 +18395,86 @@ class MainlandTravelPermitBackInfos(AbstractModel):
|
|
|
18112
18395
|
|
|
18113
18396
|
|
|
18114
18397
|
|
|
18398
|
+
class MarkInfo(AbstractModel):
|
|
18399
|
+
r"""整张试卷所有题目批改信息
|
|
18400
|
+
|
|
18401
|
+
"""
|
|
18402
|
+
|
|
18403
|
+
def __init__(self):
|
|
18404
|
+
r"""
|
|
18405
|
+
:param _MarkItemTitle: 题目的题干信息
|
|
18406
|
+
|
|
18407
|
+
|
|
18408
|
+
:type MarkItemTitle: str
|
|
18409
|
+
:param _AnswerInfos: 批改答案列表(每个小题存在多个答案,比如多个填空区域答案,循序按照从左到右,从上到下排列)
|
|
18410
|
+
:type AnswerInfos: list of AnswerInfo
|
|
18411
|
+
:param _MarkInfos: 嵌套题目结构(如果有多层嵌套则会返回子题信息,如果没有嵌套题目则返回空)
|
|
18412
|
+
:type MarkInfos: list of MarkInfo
|
|
18413
|
+
"""
|
|
18414
|
+
self._MarkItemTitle = None
|
|
18415
|
+
self._AnswerInfos = None
|
|
18416
|
+
self._MarkInfos = None
|
|
18417
|
+
|
|
18418
|
+
@property
|
|
18419
|
+
def MarkItemTitle(self):
|
|
18420
|
+
r"""题目的题干信息
|
|
18421
|
+
|
|
18422
|
+
|
|
18423
|
+
:rtype: str
|
|
18424
|
+
"""
|
|
18425
|
+
return self._MarkItemTitle
|
|
18426
|
+
|
|
18427
|
+
@MarkItemTitle.setter
|
|
18428
|
+
def MarkItemTitle(self, MarkItemTitle):
|
|
18429
|
+
self._MarkItemTitle = MarkItemTitle
|
|
18430
|
+
|
|
18431
|
+
@property
|
|
18432
|
+
def AnswerInfos(self):
|
|
18433
|
+
r"""批改答案列表(每个小题存在多个答案,比如多个填空区域答案,循序按照从左到右,从上到下排列)
|
|
18434
|
+
:rtype: list of AnswerInfo
|
|
18435
|
+
"""
|
|
18436
|
+
return self._AnswerInfos
|
|
18437
|
+
|
|
18438
|
+
@AnswerInfos.setter
|
|
18439
|
+
def AnswerInfos(self, AnswerInfos):
|
|
18440
|
+
self._AnswerInfos = AnswerInfos
|
|
18441
|
+
|
|
18442
|
+
@property
|
|
18443
|
+
def MarkInfos(self):
|
|
18444
|
+
r"""嵌套题目结构(如果有多层嵌套则会返回子题信息,如果没有嵌套题目则返回空)
|
|
18445
|
+
:rtype: list of MarkInfo
|
|
18446
|
+
"""
|
|
18447
|
+
return self._MarkInfos
|
|
18448
|
+
|
|
18449
|
+
@MarkInfos.setter
|
|
18450
|
+
def MarkInfos(self, MarkInfos):
|
|
18451
|
+
self._MarkInfos = MarkInfos
|
|
18452
|
+
|
|
18453
|
+
|
|
18454
|
+
def _deserialize(self, params):
|
|
18455
|
+
self._MarkItemTitle = params.get("MarkItemTitle")
|
|
18456
|
+
if params.get("AnswerInfos") is not None:
|
|
18457
|
+
self._AnswerInfos = []
|
|
18458
|
+
for item in params.get("AnswerInfos"):
|
|
18459
|
+
obj = AnswerInfo()
|
|
18460
|
+
obj._deserialize(item)
|
|
18461
|
+
self._AnswerInfos.append(obj)
|
|
18462
|
+
if params.get("MarkInfos") is not None:
|
|
18463
|
+
self._MarkInfos = []
|
|
18464
|
+
for item in params.get("MarkInfos"):
|
|
18465
|
+
obj = MarkInfo()
|
|
18466
|
+
obj._deserialize(item)
|
|
18467
|
+
self._MarkInfos.append(obj)
|
|
18468
|
+
memeber_set = set(params.keys())
|
|
18469
|
+
for name, value in vars(self).items():
|
|
18470
|
+
property_name = name[1:]
|
|
18471
|
+
if property_name in memeber_set:
|
|
18472
|
+
memeber_set.remove(property_name)
|
|
18473
|
+
if len(memeber_set) > 0:
|
|
18474
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18475
|
+
|
|
18476
|
+
|
|
18477
|
+
|
|
18115
18478
|
class MedicalInvoice(AbstractModel):
|
|
18116
18479
|
r"""医疗票据信息
|
|
18117
18480
|
|
|
@@ -31069,6 +31432,218 @@ class SubmitExtractDocAgentJobResponse(AbstractModel):
|
|
|
31069
31432
|
self._RequestId = params.get("RequestId")
|
|
31070
31433
|
|
|
31071
31434
|
|
|
31435
|
+
class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
31436
|
+
r"""SubmitQuestionMarkAgentJob请求参数结构体
|
|
31437
|
+
|
|
31438
|
+
"""
|
|
31439
|
+
|
|
31440
|
+
def __init__(self):
|
|
31441
|
+
r"""
|
|
31442
|
+
:param _ImageBase64: 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==
|
|
31443
|
+
:type ImageBase64: str
|
|
31444
|
+
:param _ImageUrl: 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg
|
|
31445
|
+
:type ImageUrl: str
|
|
31446
|
+
:param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。
|
|
31447
|
+
:type PdfPageNumber: int
|
|
31448
|
+
:param _BoolSingleQuestion: 表示整张试卷批改需要先切题,默认为false
|
|
31449
|
+
:type BoolSingleQuestion: bool
|
|
31450
|
+
:param _EnableDeepThink: 默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢
|
|
31451
|
+
:type EnableDeepThink: bool
|
|
31452
|
+
:param _QuestionConfigMap: 题目信息输出配置,当key对应为true表示开启配置开关。 当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;当key为TrueAnswer value为true 表示输出每道题的正确答案 ;当key为ReturnAnswerPosition value为false表示不输出手写答案坐标(降低处理耗时,按需输出); 设置方式参考 {"KnowledgePoints":true,"TrueAnswer":true}
|
|
31453
|
+
:type QuestionConfigMap: str
|
|
31454
|
+
:param _ReferenceAnswer: 仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中
|
|
31455
|
+
:type ReferenceAnswer: str
|
|
31456
|
+
"""
|
|
31457
|
+
self._ImageBase64 = None
|
|
31458
|
+
self._ImageUrl = None
|
|
31459
|
+
self._PdfPageNumber = None
|
|
31460
|
+
self._BoolSingleQuestion = None
|
|
31461
|
+
self._EnableDeepThink = None
|
|
31462
|
+
self._QuestionConfigMap = None
|
|
31463
|
+
self._ReferenceAnswer = None
|
|
31464
|
+
|
|
31465
|
+
@property
|
|
31466
|
+
def ImageBase64(self):
|
|
31467
|
+
r"""图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==
|
|
31468
|
+
:rtype: str
|
|
31469
|
+
"""
|
|
31470
|
+
return self._ImageBase64
|
|
31471
|
+
|
|
31472
|
+
@ImageBase64.setter
|
|
31473
|
+
def ImageBase64(self, ImageBase64):
|
|
31474
|
+
self._ImageBase64 = ImageBase64
|
|
31475
|
+
|
|
31476
|
+
@property
|
|
31477
|
+
def ImageUrl(self):
|
|
31478
|
+
r"""图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg
|
|
31479
|
+
:rtype: str
|
|
31480
|
+
"""
|
|
31481
|
+
return self._ImageUrl
|
|
31482
|
+
|
|
31483
|
+
@ImageUrl.setter
|
|
31484
|
+
def ImageUrl(self, ImageUrl):
|
|
31485
|
+
self._ImageUrl = ImageUrl
|
|
31486
|
+
|
|
31487
|
+
@property
|
|
31488
|
+
def PdfPageNumber(self):
|
|
31489
|
+
r"""需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。
|
|
31490
|
+
:rtype: int
|
|
31491
|
+
"""
|
|
31492
|
+
return self._PdfPageNumber
|
|
31493
|
+
|
|
31494
|
+
@PdfPageNumber.setter
|
|
31495
|
+
def PdfPageNumber(self, PdfPageNumber):
|
|
31496
|
+
self._PdfPageNumber = PdfPageNumber
|
|
31497
|
+
|
|
31498
|
+
@property
|
|
31499
|
+
def BoolSingleQuestion(self):
|
|
31500
|
+
warnings.warn("parameter `BoolSingleQuestion` is deprecated", DeprecationWarning)
|
|
31501
|
+
|
|
31502
|
+
r"""表示整张试卷批改需要先切题,默认为false
|
|
31503
|
+
:rtype: bool
|
|
31504
|
+
"""
|
|
31505
|
+
return self._BoolSingleQuestion
|
|
31506
|
+
|
|
31507
|
+
@BoolSingleQuestion.setter
|
|
31508
|
+
def BoolSingleQuestion(self, BoolSingleQuestion):
|
|
31509
|
+
warnings.warn("parameter `BoolSingleQuestion` is deprecated", DeprecationWarning)
|
|
31510
|
+
|
|
31511
|
+
self._BoolSingleQuestion = BoolSingleQuestion
|
|
31512
|
+
|
|
31513
|
+
@property
|
|
31514
|
+
def EnableDeepThink(self):
|
|
31515
|
+
warnings.warn("parameter `EnableDeepThink` is deprecated", DeprecationWarning)
|
|
31516
|
+
|
|
31517
|
+
r"""默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢
|
|
31518
|
+
:rtype: bool
|
|
31519
|
+
"""
|
|
31520
|
+
return self._EnableDeepThink
|
|
31521
|
+
|
|
31522
|
+
@EnableDeepThink.setter
|
|
31523
|
+
def EnableDeepThink(self, EnableDeepThink):
|
|
31524
|
+
warnings.warn("parameter `EnableDeepThink` is deprecated", DeprecationWarning)
|
|
31525
|
+
|
|
31526
|
+
self._EnableDeepThink = EnableDeepThink
|
|
31527
|
+
|
|
31528
|
+
@property
|
|
31529
|
+
def QuestionConfigMap(self):
|
|
31530
|
+
r"""题目信息输出配置,当key对应为true表示开启配置开关。 当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;当key为TrueAnswer value为true 表示输出每道题的正确答案 ;当key为ReturnAnswerPosition value为false表示不输出手写答案坐标(降低处理耗时,按需输出); 设置方式参考 {"KnowledgePoints":true,"TrueAnswer":true}
|
|
31531
|
+
:rtype: str
|
|
31532
|
+
"""
|
|
31533
|
+
return self._QuestionConfigMap
|
|
31534
|
+
|
|
31535
|
+
@QuestionConfigMap.setter
|
|
31536
|
+
def QuestionConfigMap(self, QuestionConfigMap):
|
|
31537
|
+
self._QuestionConfigMap = QuestionConfigMap
|
|
31538
|
+
|
|
31539
|
+
@property
|
|
31540
|
+
def ReferenceAnswer(self):
|
|
31541
|
+
r"""仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中
|
|
31542
|
+
:rtype: str
|
|
31543
|
+
"""
|
|
31544
|
+
return self._ReferenceAnswer
|
|
31545
|
+
|
|
31546
|
+
@ReferenceAnswer.setter
|
|
31547
|
+
def ReferenceAnswer(self, ReferenceAnswer):
|
|
31548
|
+
self._ReferenceAnswer = ReferenceAnswer
|
|
31549
|
+
|
|
31550
|
+
|
|
31551
|
+
def _deserialize(self, params):
|
|
31552
|
+
self._ImageBase64 = params.get("ImageBase64")
|
|
31553
|
+
self._ImageUrl = params.get("ImageUrl")
|
|
31554
|
+
self._PdfPageNumber = params.get("PdfPageNumber")
|
|
31555
|
+
self._BoolSingleQuestion = params.get("BoolSingleQuestion")
|
|
31556
|
+
self._EnableDeepThink = params.get("EnableDeepThink")
|
|
31557
|
+
self._QuestionConfigMap = params.get("QuestionConfigMap")
|
|
31558
|
+
self._ReferenceAnswer = params.get("ReferenceAnswer")
|
|
31559
|
+
memeber_set = set(params.keys())
|
|
31560
|
+
for name, value in vars(self).items():
|
|
31561
|
+
property_name = name[1:]
|
|
31562
|
+
if property_name in memeber_set:
|
|
31563
|
+
memeber_set.remove(property_name)
|
|
31564
|
+
if len(memeber_set) > 0:
|
|
31565
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
31566
|
+
|
|
31567
|
+
|
|
31568
|
+
|
|
31569
|
+
class SubmitQuestionMarkAgentJobResponse(AbstractModel):
|
|
31570
|
+
r"""SubmitQuestionMarkAgentJob返回参数结构体
|
|
31571
|
+
|
|
31572
|
+
"""
|
|
31573
|
+
|
|
31574
|
+
def __init__(self):
|
|
31575
|
+
r"""
|
|
31576
|
+
:param _JobId: 任务唯一ID。由服务端生成.
|
|
31577
|
+
:type JobId: str
|
|
31578
|
+
:param _QuestionInfo: 切题题目边框坐标列表 (如果BoolSingleQuestion为true则返回空)
|
|
31579
|
+
:type QuestionInfo: list of QuestionInfo
|
|
31580
|
+
:param _QuestionCount: 题目切题数量,作为计费题目数总量
|
|
31581
|
+
:type QuestionCount: str
|
|
31582
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
31583
|
+
:type RequestId: str
|
|
31584
|
+
"""
|
|
31585
|
+
self._JobId = None
|
|
31586
|
+
self._QuestionInfo = None
|
|
31587
|
+
self._QuestionCount = None
|
|
31588
|
+
self._RequestId = None
|
|
31589
|
+
|
|
31590
|
+
@property
|
|
31591
|
+
def JobId(self):
|
|
31592
|
+
r"""任务唯一ID。由服务端生成.
|
|
31593
|
+
:rtype: str
|
|
31594
|
+
"""
|
|
31595
|
+
return self._JobId
|
|
31596
|
+
|
|
31597
|
+
@JobId.setter
|
|
31598
|
+
def JobId(self, JobId):
|
|
31599
|
+
self._JobId = JobId
|
|
31600
|
+
|
|
31601
|
+
@property
|
|
31602
|
+
def QuestionInfo(self):
|
|
31603
|
+
r"""切题题目边框坐标列表 (如果BoolSingleQuestion为true则返回空)
|
|
31604
|
+
:rtype: list of QuestionInfo
|
|
31605
|
+
"""
|
|
31606
|
+
return self._QuestionInfo
|
|
31607
|
+
|
|
31608
|
+
@QuestionInfo.setter
|
|
31609
|
+
def QuestionInfo(self, QuestionInfo):
|
|
31610
|
+
self._QuestionInfo = QuestionInfo
|
|
31611
|
+
|
|
31612
|
+
@property
|
|
31613
|
+
def QuestionCount(self):
|
|
31614
|
+
r"""题目切题数量,作为计费题目数总量
|
|
31615
|
+
:rtype: str
|
|
31616
|
+
"""
|
|
31617
|
+
return self._QuestionCount
|
|
31618
|
+
|
|
31619
|
+
@QuestionCount.setter
|
|
31620
|
+
def QuestionCount(self, QuestionCount):
|
|
31621
|
+
self._QuestionCount = QuestionCount
|
|
31622
|
+
|
|
31623
|
+
@property
|
|
31624
|
+
def RequestId(self):
|
|
31625
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
31626
|
+
:rtype: str
|
|
31627
|
+
"""
|
|
31628
|
+
return self._RequestId
|
|
31629
|
+
|
|
31630
|
+
@RequestId.setter
|
|
31631
|
+
def RequestId(self, RequestId):
|
|
31632
|
+
self._RequestId = RequestId
|
|
31633
|
+
|
|
31634
|
+
|
|
31635
|
+
def _deserialize(self, params):
|
|
31636
|
+
self._JobId = params.get("JobId")
|
|
31637
|
+
if params.get("QuestionInfo") is not None:
|
|
31638
|
+
self._QuestionInfo = []
|
|
31639
|
+
for item in params.get("QuestionInfo"):
|
|
31640
|
+
obj = QuestionInfo()
|
|
31641
|
+
obj._deserialize(item)
|
|
31642
|
+
self._QuestionInfo.append(obj)
|
|
31643
|
+
self._QuestionCount = params.get("QuestionCount")
|
|
31644
|
+
self._RequestId = params.get("RequestId")
|
|
31645
|
+
|
|
31646
|
+
|
|
31072
31647
|
class TableCell(AbstractModel):
|
|
31073
31648
|
r"""单元格数据
|
|
31074
31649
|
|
|
@@ -299,6 +299,31 @@ class OcrClient(AbstractClient):
|
|
|
299
299
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
300
300
|
|
|
301
301
|
|
|
302
|
+
def DescribeQuestionMarkAgentJob(self, request):
|
|
303
|
+
r"""用于试题批改Agent查询任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
|
|
304
|
+
|
|
305
|
+
默认接口请求并发限制:10题/分钟。
|
|
306
|
+
|
|
307
|
+
:param request: Request instance for DescribeQuestionMarkAgentJob.
|
|
308
|
+
:type request: :class:`tencentcloud.ocr.v20181119.models.DescribeQuestionMarkAgentJobRequest`
|
|
309
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.DescribeQuestionMarkAgentJobResponse`
|
|
310
|
+
|
|
311
|
+
"""
|
|
312
|
+
try:
|
|
313
|
+
params = request._serialize()
|
|
314
|
+
headers = request.headers
|
|
315
|
+
body = self.call("DescribeQuestionMarkAgentJob", params, headers=headers)
|
|
316
|
+
response = json.loads(body)
|
|
317
|
+
model = models.DescribeQuestionMarkAgentJobResponse()
|
|
318
|
+
model._deserialize(response["Response"])
|
|
319
|
+
return model
|
|
320
|
+
except Exception as e:
|
|
321
|
+
if isinstance(e, TencentCloudSDKException):
|
|
322
|
+
raise
|
|
323
|
+
else:
|
|
324
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
325
|
+
|
|
326
|
+
|
|
302
327
|
def DriverLicenseOCR(self, request):
|
|
303
328
|
r"""本接口支持驾驶证主页和副页所有字段的自动定位与识别,重点字段的识别准确度达到99%以上。
|
|
304
329
|
|
|
@@ -2356,6 +2381,31 @@ class OcrClient(AbstractClient):
|
|
|
2356
2381
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2357
2382
|
|
|
2358
2383
|
|
|
2384
|
+
def SubmitQuestionMarkAgentJob(self, request):
|
|
2385
|
+
r"""用于试题批改Agent提交任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
|
|
2386
|
+
|
|
2387
|
+
默认接口请求并发限制:10题/分钟。
|
|
2388
|
+
|
|
2389
|
+
:param request: Request instance for SubmitQuestionMarkAgentJob.
|
|
2390
|
+
:type request: :class:`tencentcloud.ocr.v20181119.models.SubmitQuestionMarkAgentJobRequest`
|
|
2391
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.SubmitQuestionMarkAgentJobResponse`
|
|
2392
|
+
|
|
2393
|
+
"""
|
|
2394
|
+
try:
|
|
2395
|
+
params = request._serialize()
|
|
2396
|
+
headers = request.headers
|
|
2397
|
+
body = self.call("SubmitQuestionMarkAgentJob", params, headers=headers)
|
|
2398
|
+
response = json.loads(body)
|
|
2399
|
+
model = models.SubmitQuestionMarkAgentJobResponse()
|
|
2400
|
+
model._deserialize(response["Response"])
|
|
2401
|
+
return model
|
|
2402
|
+
except Exception as e:
|
|
2403
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2404
|
+
raise
|
|
2405
|
+
else:
|
|
2406
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2407
|
+
|
|
2408
|
+
|
|
2359
2409
|
def TableOCR(self, request):
|
|
2360
2410
|
r"""<b>此接口为表格识别的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/49525">新版表格识别</a>。</b>
|
|
2361
2411
|
|
|
@@ -243,6 +243,26 @@ class OcrClient(AbstractClient):
|
|
|
243
243
|
|
|
244
244
|
return await self.call_and_deserialize(**kwargs)
|
|
245
245
|
|
|
246
|
+
async def DescribeQuestionMarkAgentJob(
|
|
247
|
+
self,
|
|
248
|
+
request: models.DescribeQuestionMarkAgentJobRequest,
|
|
249
|
+
opts: Dict = None,
|
|
250
|
+
) -> models.DescribeQuestionMarkAgentJobResponse:
|
|
251
|
+
"""
|
|
252
|
+
用于试题批改Agent查询任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
|
|
253
|
+
|
|
254
|
+
默认接口请求并发限制:10题/分钟。
|
|
255
|
+
"""
|
|
256
|
+
|
|
257
|
+
kwargs = {}
|
|
258
|
+
kwargs["action"] = "DescribeQuestionMarkAgentJob"
|
|
259
|
+
kwargs["params"] = request._serialize()
|
|
260
|
+
kwargs["resp_cls"] = models.DescribeQuestionMarkAgentJobResponse
|
|
261
|
+
kwargs["headers"] = request.headers
|
|
262
|
+
kwargs["opts"] = opts or {}
|
|
263
|
+
|
|
264
|
+
return await self.call_and_deserialize(**kwargs)
|
|
265
|
+
|
|
246
266
|
async def DriverLicenseOCR(
|
|
247
267
|
self,
|
|
248
268
|
request: models.DriverLicenseOCRRequest,
|
|
@@ -1985,6 +2005,26 @@ class OcrClient(AbstractClient):
|
|
|
1985
2005
|
|
|
1986
2006
|
return await self.call_and_deserialize(**kwargs)
|
|
1987
2007
|
|
|
2008
|
+
async def SubmitQuestionMarkAgentJob(
|
|
2009
|
+
self,
|
|
2010
|
+
request: models.SubmitQuestionMarkAgentJobRequest,
|
|
2011
|
+
opts: Dict = None,
|
|
2012
|
+
) -> models.SubmitQuestionMarkAgentJobResponse:
|
|
2013
|
+
"""
|
|
2014
|
+
用于试题批改Agent提交任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
|
|
2015
|
+
|
|
2016
|
+
默认接口请求并发限制:10题/分钟。
|
|
2017
|
+
"""
|
|
2018
|
+
|
|
2019
|
+
kwargs = {}
|
|
2020
|
+
kwargs["action"] = "SubmitQuestionMarkAgentJob"
|
|
2021
|
+
kwargs["params"] = request._serialize()
|
|
2022
|
+
kwargs["resp_cls"] = models.SubmitQuestionMarkAgentJobResponse
|
|
2023
|
+
kwargs["headers"] = request.headers
|
|
2024
|
+
kwargs["opts"] = opts or {}
|
|
2025
|
+
|
|
2026
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2027
|
+
|
|
1988
2028
|
async def TableOCR(
|
|
1989
2029
|
self,
|
|
1990
2030
|
request: models.TableOCRRequest,
|
|
@@ -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.45
|
|
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.45
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.45
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.44
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|