tencentcloud-sdk-python-ocr 3.1.73__tar.gz → 3.1.76__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/setup.py +1 -1
  3. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/tencentcloud/ocr/v20181119/models.py +106 -30
  5. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/tencentcloud/ocr/v20181119/ocr_client.py +6 -0
  6. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/tencentcloud/ocr/v20181119/ocr_client_async.py +6 -0
  7. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_ocr-3.1.76/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_ocr-3.1.73/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/README.rst +0 -0
  11. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/tencentcloud/ocr/__init__.py +0 -0
  13. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/tencentcloud/ocr/v20181119/__init__.py +0 -0
  14. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_ocr-3.1.73 → tencentcloud_sdk_python_ocr-3.1.76}/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.73
3
+ Version: 3.1.76
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.73
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.76
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.73,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.76,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Ocr SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.73'
17
+ __version__ = '3.1.76'
@@ -19107,24 +19107,29 @@ class MarkInfo(AbstractModel):
19107
19107
 
19108
19108
  def __init__(self):
19109
19109
  r"""
19110
- :param _MarkItemTitle: 题目的题干信息
19111
-
19112
-
19110
+ :param _MarkItemTitle: <p>题目的题干信息</p>
19113
19111
  :type MarkItemTitle: str
19114
- :param _AnswerInfos: 批改答案列表(每个小题存在多个答案,比如多个填空区域答案,循序按照从左到右,从上到下排列)
19112
+ :param _AnswerInfos: <p>批改答案列表(每个小题存在多个答案,比如多个填空区域答案,循序按照从左到右,从上到下排列)</p>
19115
19113
  :type AnswerInfos: list of AnswerInfo
19116
- :param _MarkInfos: 嵌套题目结构(如果有多层嵌套则会返回子题信息,如果没有嵌套题目则返回空)
19114
+ :param _MarkInfos: <p>嵌套题目结构(如果有多层嵌套则会返回子题信息,如果没有嵌套题目则返回空)</p>
19117
19115
  :type MarkInfos: list of MarkInfo
19116
+ :param _QuestionPositions: <p>题干坐标</p><p>单位:px</p>
19117
+ :type QuestionPositions: list of int
19118
+ :param _QuestionImagePositions: <p>题干插图坐标列表,每个元素包含一张插图的4个角点坐标</p>
19119
+ :type QuestionImagePositions: list of Positions
19120
+ :param _RightAnswer: <p>题目级正确答案(步骤批改时使用,包含完整解题步骤)</p>
19121
+ :type RightAnswer: str
19118
19122
  """
19119
19123
  self._MarkItemTitle = None
19120
19124
  self._AnswerInfos = None
19121
19125
  self._MarkInfos = None
19126
+ self._QuestionPositions = None
19127
+ self._QuestionImagePositions = None
19128
+ self._RightAnswer = None
19122
19129
 
19123
19130
  @property
19124
19131
  def MarkItemTitle(self):
19125
- r"""题目的题干信息
19126
-
19127
-
19132
+ r"""<p>题目的题干信息</p>
19128
19133
  :rtype: str
19129
19134
  """
19130
19135
  return self._MarkItemTitle
@@ -19135,7 +19140,7 @@ class MarkInfo(AbstractModel):
19135
19140
 
19136
19141
  @property
19137
19142
  def AnswerInfos(self):
19138
- r"""批改答案列表(每个小题存在多个答案,比如多个填空区域答案,循序按照从左到右,从上到下排列)
19143
+ r"""<p>批改答案列表(每个小题存在多个答案,比如多个填空区域答案,循序按照从左到右,从上到下排列)</p>
19139
19144
  :rtype: list of AnswerInfo
19140
19145
  """
19141
19146
  return self._AnswerInfos
@@ -19146,7 +19151,7 @@ class MarkInfo(AbstractModel):
19146
19151
 
19147
19152
  @property
19148
19153
  def MarkInfos(self):
19149
- r"""嵌套题目结构(如果有多层嵌套则会返回子题信息,如果没有嵌套题目则返回空)
19154
+ r"""<p>嵌套题目结构(如果有多层嵌套则会返回子题信息,如果没有嵌套题目则返回空)</p>
19150
19155
  :rtype: list of MarkInfo
19151
19156
  """
19152
19157
  return self._MarkInfos
@@ -19155,6 +19160,39 @@ class MarkInfo(AbstractModel):
19155
19160
  def MarkInfos(self, MarkInfos):
19156
19161
  self._MarkInfos = MarkInfos
19157
19162
 
19163
+ @property
19164
+ def QuestionPositions(self):
19165
+ r"""<p>题干坐标</p><p>单位:px</p>
19166
+ :rtype: list of int
19167
+ """
19168
+ return self._QuestionPositions
19169
+
19170
+ @QuestionPositions.setter
19171
+ def QuestionPositions(self, QuestionPositions):
19172
+ self._QuestionPositions = QuestionPositions
19173
+
19174
+ @property
19175
+ def QuestionImagePositions(self):
19176
+ r"""<p>题干插图坐标列表,每个元素包含一张插图的4个角点坐标</p>
19177
+ :rtype: list of Positions
19178
+ """
19179
+ return self._QuestionImagePositions
19180
+
19181
+ @QuestionImagePositions.setter
19182
+ def QuestionImagePositions(self, QuestionImagePositions):
19183
+ self._QuestionImagePositions = QuestionImagePositions
19184
+
19185
+ @property
19186
+ def RightAnswer(self):
19187
+ r"""<p>题目级正确答案(步骤批改时使用,包含完整解题步骤)</p>
19188
+ :rtype: str
19189
+ """
19190
+ return self._RightAnswer
19191
+
19192
+ @RightAnswer.setter
19193
+ def RightAnswer(self, RightAnswer):
19194
+ self._RightAnswer = RightAnswer
19195
+
19158
19196
 
19159
19197
  def _deserialize(self, params):
19160
19198
  self._MarkItemTitle = params.get("MarkItemTitle")
@@ -19170,6 +19208,14 @@ class MarkInfo(AbstractModel):
19170
19208
  obj = MarkInfo()
19171
19209
  obj._deserialize(item)
19172
19210
  self._MarkInfos.append(obj)
19211
+ self._QuestionPositions = params.get("QuestionPositions")
19212
+ if params.get("QuestionImagePositions") is not None:
19213
+ self._QuestionImagePositions = []
19214
+ for item in params.get("QuestionImagePositions"):
19215
+ obj = Positions()
19216
+ obj._deserialize(item)
19217
+ self._QuestionImagePositions.append(obj)
19218
+ self._RightAnswer = params.get("RightAnswer")
19173
19219
  memeber_set = set(params.keys())
19174
19220
  for name, value in vars(self).items():
19175
19221
  property_name = name[1:]
@@ -32123,20 +32169,24 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
32123
32169
 
32124
32170
  def __init__(self):
32125
32171
  r"""
32126
- :param _ImageBase64: 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==
32172
+ :param _ImageBase64: <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==</p>
32127
32173
  :type ImageBase64: str
32128
- :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
32174
+ :param _ImageUrl: <p>图片/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</p>
32129
32175
  :type ImageUrl: str
32130
- :param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1
32176
+ :param _PdfPageNumber: <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。</p>
32131
32177
  :type PdfPageNumber: int
32132
- :param _BoolSingleQuestion: 表示整张试卷批改需要先切题,默认为false
32178
+ :param _BoolSingleQuestion: <p>表示整张试卷批改需要先切题,默认为false</p>
32133
32179
  :type BoolSingleQuestion: bool
32134
- :param _EnableDeepThink: 默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢
32180
+ :param _EnableDeepThink: <p>默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢</p>
32135
32181
  :type EnableDeepThink: bool
32136
- :param _QuestionConfigMap: 题目信息输出配置,当key对应为true表示开启配置开关。 当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;当key为TrueAnswer value为true 表示输出每道题的正确答案 ;当key为ReturnAnswerPosition value为false表示不输出手写答案坐标(降低处理耗时,按需输出); 设置方式参考 {"KnowledgePoints":true,"TrueAnswer":true}
32182
+ :param _QuestionConfigMap: <p>题目信息输出配置,当key对应为true表示开启配置开关。</p><p>当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;<br>当key为TrueAnswer value为true 表示输出每道题的正确答案 ;<br>当key为StepCorrection value为true表示启用步骤级批改;</p><p> 设置方式参考 {&quot;KnowledgePoints&quot;:true,&quot;TrueAnswer&quot;:true}</p><p>参数格式:{&quot;KnowledgePoints&quot;:true,&quot;TrueAnswer&quot;:true}</p>
32137
32183
  :type QuestionConfigMap: str
32138
- :param _ReferenceAnswer: 仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中
32184
+ :param _ReferenceAnswer: <p>仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中</p>
32139
32185
  :type ReferenceAnswer: str
32186
+ :param _ImageBase64List: <p>图片/PDF的 Base64 列表值,最多三张。每张图片要求参考ImageBase64 1. 如果ImageBase64List或者ImageUrlList 都没值则取ImageBase64 或者ImageUrl 2.如果ImageBase64List或者ImageUrlList 有一个值,则不取ImageBase64 或者ImageUrl值,优先去list 3.如果ImageBase64List或者ImageUrlList 都有值,则取ImageUrlList</p>
32187
+ :type ImageBase64List: list of str
32188
+ :param _ImageUrlList: <p>图片/PDF的 Url 地址Base64 列表值,最多三张。每张图片要求参考ImageUrl。 图片生效规则同ImageBase64List</p>
32189
+ :type ImageUrlList: list of str
32140
32190
  """
32141
32191
  self._ImageBase64 = None
32142
32192
  self._ImageUrl = None
@@ -32145,10 +32195,12 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
32145
32195
  self._EnableDeepThink = None
32146
32196
  self._QuestionConfigMap = None
32147
32197
  self._ReferenceAnswer = None
32198
+ self._ImageBase64List = None
32199
+ self._ImageUrlList = None
32148
32200
 
32149
32201
  @property
32150
32202
  def ImageBase64(self):
32151
- r"""图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==
32203
+ r"""<p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==</p>
32152
32204
  :rtype: str
32153
32205
  """
32154
32206
  return self._ImageBase64
@@ -32159,7 +32211,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
32159
32211
 
32160
32212
  @property
32161
32213
  def ImageUrl(self):
32162
- 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
32214
+ r"""<p>图片/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</p>
32163
32215
  :rtype: str
32164
32216
  """
32165
32217
  return self._ImageUrl
@@ -32170,7 +32222,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
32170
32222
 
32171
32223
  @property
32172
32224
  def PdfPageNumber(self):
32173
- r"""需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1
32225
+ r"""<p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。</p>
32174
32226
  :rtype: int
32175
32227
  """
32176
32228
  return self._PdfPageNumber
@@ -32183,7 +32235,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
32183
32235
  def BoolSingleQuestion(self):
32184
32236
  warnings.warn("parameter `BoolSingleQuestion` is deprecated", DeprecationWarning)
32185
32237
 
32186
- r"""表示整张试卷批改需要先切题,默认为false
32238
+ r"""<p>表示整张试卷批改需要先切题,默认为false</p>
32187
32239
  :rtype: bool
32188
32240
  """
32189
32241
  return self._BoolSingleQuestion
@@ -32198,7 +32250,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
32198
32250
  def EnableDeepThink(self):
32199
32251
  warnings.warn("parameter `EnableDeepThink` is deprecated", DeprecationWarning)
32200
32252
 
32201
- r"""默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢
32253
+ r"""<p>默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢</p>
32202
32254
  :rtype: bool
32203
32255
  """
32204
32256
  return self._EnableDeepThink
@@ -32211,7 +32263,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
32211
32263
 
32212
32264
  @property
32213
32265
  def QuestionConfigMap(self):
32214
- r"""题目信息输出配置,当key对应为true表示开启配置开关。 当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;当key为TrueAnswer value为true 表示输出每道题的正确答案 ;当key为ReturnAnswerPosition value为false表示不输出手写答案坐标(降低处理耗时,按需输出); 设置方式参考 {"KnowledgePoints":true,"TrueAnswer":true}
32266
+ r"""<p>题目信息输出配置,当key对应为true表示开启配置开关。</p><p>当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;<br>当key为TrueAnswer value为true 表示输出每道题的正确答案 ;<br>当key为StepCorrection value为true表示启用步骤级批改;</p><p> 设置方式参考 {&quot;KnowledgePoints&quot;:true,&quot;TrueAnswer&quot;:true}</p><p>参数格式:{&quot;KnowledgePoints&quot;:true,&quot;TrueAnswer&quot;:true}</p>
32215
32267
  :rtype: str
32216
32268
  """
32217
32269
  return self._QuestionConfigMap
@@ -32222,7 +32274,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
32222
32274
 
32223
32275
  @property
32224
32276
  def ReferenceAnswer(self):
32225
- r"""仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中
32277
+ r"""<p>仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中</p>
32226
32278
  :rtype: str
32227
32279
  """
32228
32280
  return self._ReferenceAnswer
@@ -32231,6 +32283,28 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
32231
32283
  def ReferenceAnswer(self, ReferenceAnswer):
32232
32284
  self._ReferenceAnswer = ReferenceAnswer
32233
32285
 
32286
+ @property
32287
+ def ImageBase64List(self):
32288
+ r"""<p>图片/PDF的 Base64 列表值,最多三张。每张图片要求参考ImageBase64 1. 如果ImageBase64List或者ImageUrlList 都没值则取ImageBase64 或者ImageUrl 2.如果ImageBase64List或者ImageUrlList 有一个值,则不取ImageBase64 或者ImageUrl值,优先去list 3.如果ImageBase64List或者ImageUrlList 都有值,则取ImageUrlList</p>
32289
+ :rtype: list of str
32290
+ """
32291
+ return self._ImageBase64List
32292
+
32293
+ @ImageBase64List.setter
32294
+ def ImageBase64List(self, ImageBase64List):
32295
+ self._ImageBase64List = ImageBase64List
32296
+
32297
+ @property
32298
+ def ImageUrlList(self):
32299
+ r"""<p>图片/PDF的 Url 地址Base64 列表值,最多三张。每张图片要求参考ImageUrl。 图片生效规则同ImageBase64List</p>
32300
+ :rtype: list of str
32301
+ """
32302
+ return self._ImageUrlList
32303
+
32304
+ @ImageUrlList.setter
32305
+ def ImageUrlList(self, ImageUrlList):
32306
+ self._ImageUrlList = ImageUrlList
32307
+
32234
32308
 
32235
32309
  def _deserialize(self, params):
32236
32310
  self._ImageBase64 = params.get("ImageBase64")
@@ -32240,6 +32314,8 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
32240
32314
  self._EnableDeepThink = params.get("EnableDeepThink")
32241
32315
  self._QuestionConfigMap = params.get("QuestionConfigMap")
32242
32316
  self._ReferenceAnswer = params.get("ReferenceAnswer")
32317
+ self._ImageBase64List = params.get("ImageBase64List")
32318
+ self._ImageUrlList = params.get("ImageUrlList")
32243
32319
  memeber_set = set(params.keys())
32244
32320
  for name, value in vars(self).items():
32245
32321
  property_name = name[1:]
@@ -32257,11 +32333,11 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
32257
32333
 
32258
32334
  def __init__(self):
32259
32335
  r"""
32260
- :param _JobId: 任务唯一ID。由服务端生成.
32336
+ :param _JobId: <p>任务唯一ID。由服务端生成.</p>
32261
32337
  :type JobId: str
32262
- :param _QuestionInfo: 切题题目边框坐标列表 (如果BoolSingleQuestion为true则返回空)
32338
+ :param _QuestionInfo: <p>切题题目边框坐标列表 (如果BoolSingleQuestion为true则返回空)</p>
32263
32339
  :type QuestionInfo: list of QuestionInfo
32264
- :param _QuestionCount: 题目切题数量,作为计费题目数总量
32340
+ :param _QuestionCount: <p>题目切题数量,作为计费题目数总量</p>
32265
32341
  :type QuestionCount: str
32266
32342
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
32267
32343
  :type RequestId: str
@@ -32273,7 +32349,7 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
32273
32349
 
32274
32350
  @property
32275
32351
  def JobId(self):
32276
- r"""任务唯一ID。由服务端生成.
32352
+ r"""<p>任务唯一ID。由服务端生成.</p>
32277
32353
  :rtype: str
32278
32354
  """
32279
32355
  return self._JobId
@@ -32284,7 +32360,7 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
32284
32360
 
32285
32361
  @property
32286
32362
  def QuestionInfo(self):
32287
- r"""切题题目边框坐标列表 (如果BoolSingleQuestion为true则返回空)
32363
+ r"""<p>切题题目边框坐标列表 (如果BoolSingleQuestion为true则返回空)</p>
32288
32364
  :rtype: list of QuestionInfo
32289
32365
  """
32290
32366
  return self._QuestionInfo
@@ -32295,7 +32371,7 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
32295
32371
 
32296
32372
  @property
32297
32373
  def QuestionCount(self):
32298
- r"""题目切题数量,作为计费题目数总量
32374
+ r"""<p>题目切题数量,作为计费题目数总量</p>
32299
32375
  :rtype: str
32300
32376
  """
32301
32377
  return self._QuestionCount
@@ -279,6 +279,8 @@ class OcrClient(AbstractClient):
279
279
  def CropEnhanceImageOCR(self, request):
280
280
  r"""图像切边矫正增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度,可以作为所有识别场景的图像预处理原子能力,从而提升识别效果。
281
281
 
282
+ 默认接口请求频率限制:5次/秒。
283
+
282
284
  :param request: Request instance for CropEnhanceImageOCR.
283
285
  :type request: :class:`tencentcloud.ocr.v20181119.models.CropEnhanceImageOCRRequest`
284
286
  :rtype: :class:`tencentcloud.ocr.v20181119.models.CropEnhanceImageOCRResponse`
@@ -509,6 +511,8 @@ class OcrClient(AbstractClient):
509
511
  def EraseHandwrittenImageOCR(self, request):
510
512
  r"""本功能可自动清除试卷图片中的手写与批改痕迹,并输出洁净的空白试卷。也可以配合集成图像切边矫正技术,能自动定位、拉平试卷区域,从而在最优预处理基础上实现更佳的擦除效果。
511
513
 
514
+ 默认接口请求频率限制:5次/秒。
515
+
512
516
  :param request: Request instance for EraseHandwrittenImageOCR.
513
517
  :type request: :class:`tencentcloud.ocr.v20181119.models.EraseHandwrittenImageOCRRequest`
514
518
  :rtype: :class:`tencentcloud.ocr.v20181119.models.EraseHandwrittenImageOCRResponse`
@@ -557,6 +561,8 @@ class OcrClient(AbstractClient):
557
561
  def ExtractDocAgent(self, request):
558
562
  r"""模型参数更小,速度更快。推荐场景:实时性要求高(30s以内)并且样本输入输出token2000以内,建议用实时模型。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10记一次费用】
559
563
 
564
+ 默认接口请求频率限制:5次/秒。
565
+
560
566
  :param request: Request instance for ExtractDocAgent.
561
567
  :type request: :class:`tencentcloud.ocr.v20181119.models.ExtractDocAgentRequest`
562
568
  :rtype: :class:`tencentcloud.ocr.v20181119.models.ExtractDocAgentResponse`
@@ -232,6 +232,8 @@ class OcrClient(AbstractClient):
232
232
  ) -> models.CropEnhanceImageOCRResponse:
233
233
  """
234
234
  图像切边矫正增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度,可以作为所有识别场景的图像预处理原子能力,从而提升识别效果。
235
+
236
+ 默认接口请求频率限制:5次/秒。
235
237
  """
236
238
 
237
239
  kwargs = {}
@@ -417,6 +419,8 @@ class OcrClient(AbstractClient):
417
419
  ) -> models.EraseHandwrittenImageOCRResponse:
418
420
  """
419
421
  本功能可自动清除试卷图片中的手写与批改痕迹,并输出洁净的空白试卷。也可以配合集成图像切边矫正技术,能自动定位、拉平试卷区域,从而在最优预处理基础上实现更佳的擦除效果。
422
+
423
+ 默认接口请求频率限制:5次/秒。
420
424
  """
421
425
 
422
426
  kwargs = {}
@@ -455,6 +459,8 @@ class OcrClient(AbstractClient):
455
459
  ) -> models.ExtractDocAgentResponse:
456
460
  """
457
461
  模型参数更小,速度更快。推荐场景:实时性要求高(30s以内)并且样本输入输出token2000以内,建议用实时模型。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10记一次费用】
462
+
463
+ 默认接口请求频率限制:5次/秒。
458
464
  """
459
465
 
460
466
  kwargs = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.1.73
3
+ Version: 3.1.76
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.73
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.76
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.76
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.73