tencentcloud-sdk-python-ocr 3.1.188__py2.py3-none-any.whl → 3.1.190__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.188'
17
+ __version__ = '3.1.190'
@@ -1114,6 +1114,72 @@ class AirTransport(AbstractModel):
1114
1114
 
1115
1115
 
1116
1116
 
1117
+ class AnswerElement(AbstractModel):
1118
+ r"""试题识别结果-答案元素内容
1119
+
1120
+ """
1121
+
1122
+ def __init__(self):
1123
+ r"""
1124
+ :param _IsCorrect: <p>答案是否正确</p>
1125
+ :type IsCorrect: bool
1126
+ :param _AnswerAnalysis: <p>答案分析结果</p>
1127
+ :type AnswerAnalysis: str
1128
+ :param _RightAnswer: <p>返回正确答案内容</p>
1129
+ :type RightAnswer: str
1130
+ """
1131
+ self._IsCorrect = None
1132
+ self._AnswerAnalysis = None
1133
+ self._RightAnswer = None
1134
+
1135
+ @property
1136
+ def IsCorrect(self):
1137
+ r"""<p>答案是否正确</p>
1138
+ :rtype: bool
1139
+ """
1140
+ return self._IsCorrect
1141
+
1142
+ @IsCorrect.setter
1143
+ def IsCorrect(self, IsCorrect):
1144
+ self._IsCorrect = IsCorrect
1145
+
1146
+ @property
1147
+ def AnswerAnalysis(self):
1148
+ r"""<p>答案分析结果</p>
1149
+ :rtype: str
1150
+ """
1151
+ return self._AnswerAnalysis
1152
+
1153
+ @AnswerAnalysis.setter
1154
+ def AnswerAnalysis(self, AnswerAnalysis):
1155
+ self._AnswerAnalysis = AnswerAnalysis
1156
+
1157
+ @property
1158
+ def RightAnswer(self):
1159
+ r"""<p>返回正确答案内容</p>
1160
+ :rtype: str
1161
+ """
1162
+ return self._RightAnswer
1163
+
1164
+ @RightAnswer.setter
1165
+ def RightAnswer(self, RightAnswer):
1166
+ self._RightAnswer = RightAnswer
1167
+
1168
+
1169
+ def _deserialize(self, params):
1170
+ self._IsCorrect = params.get("IsCorrect")
1171
+ self._AnswerAnalysis = params.get("AnswerAnalysis")
1172
+ self._RightAnswer = params.get("RightAnswer")
1173
+ memeber_set = set(params.keys())
1174
+ for name, value in vars(self).items():
1175
+ property_name = name[1:]
1176
+ if property_name in memeber_set:
1177
+ memeber_set.remove(property_name)
1178
+ if len(memeber_set) > 0:
1179
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1180
+
1181
+
1182
+
1117
1183
  class AnswerInfo(AbstractModel):
1118
1184
  r"""单题所有答案区域批改信息
1119
1185
 
@@ -2098,22 +2164,15 @@ class BizLicenseOCRRequest(AbstractModel):
2098
2164
 
2099
2165
  def __init__(self):
2100
2166
  r"""
2101
- :param _ImageBase64: 图片的 Base64 值。
2102
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2103
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
2104
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2167
+ :param _ImageBase64: <p>图片的 Base64 值。<br>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。<br>支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。<br>图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
2105
2168
  :type ImageBase64: str
2106
- :param _ImageUrl: 图片的 Url 地址。
2107
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2108
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
2109
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
2110
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
2169
+ :param _ImageUrl: <p>图片的 Url 地址。<br>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。<br>支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。<br>图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。<br>非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
2111
2170
  :type ImageUrl: str
2112
- :param _EnableCopyWarn: 是否返回告警码,默认为false
2171
+ :param _EnableCopyWarn: <p>是否返回告警码,默认为false</p>
2113
2172
  :type EnableCopyWarn: bool
2114
- :param _EnablePeriodComplete: 是否返回自动拼接的有效期,默认为true
2173
+ :param _EnablePeriodComplete: <p>是否返回自动拼接的有效期,默认为true</p>
2115
2174
  :type EnablePeriodComplete: bool
2116
- :param _EnableBusinessCertificate: 是否支持营业类证件识别(包括营业执照和非营业执照的其他证件),默认为false
2175
+ :param _EnableBusinessCertificate: <p>是否支持营业类证件识别(包括营业执照和非营业执照的其他证件),默认为false</p>
2117
2176
  :type EnableBusinessCertificate: bool
2118
2177
  """
2119
2178
  self._ImageBase64 = None
@@ -2124,10 +2183,7 @@ class BizLicenseOCRRequest(AbstractModel):
2124
2183
 
2125
2184
  @property
2126
2185
  def ImageBase64(self):
2127
- r"""图片的 Base64 值。
2128
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2129
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
2130
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2186
+ r"""<p>图片的 Base64 值。<br>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。<br>支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。<br>图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
2131
2187
  :rtype: str
2132
2188
  """
2133
2189
  return self._ImageBase64
@@ -2138,11 +2194,7 @@ class BizLicenseOCRRequest(AbstractModel):
2138
2194
 
2139
2195
  @property
2140
2196
  def ImageUrl(self):
2141
- r"""图片的 Url 地址。
2142
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2143
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
2144
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
2145
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
2197
+ r"""<p>图片的 Url 地址。<br>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。<br>支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。<br>图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。<br>非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
2146
2198
  :rtype: str
2147
2199
  """
2148
2200
  return self._ImageUrl
@@ -2153,7 +2205,7 @@ class BizLicenseOCRRequest(AbstractModel):
2153
2205
 
2154
2206
  @property
2155
2207
  def EnableCopyWarn(self):
2156
- r"""是否返回告警码,默认为false
2208
+ r"""<p>是否返回告警码,默认为false</p>
2157
2209
  :rtype: bool
2158
2210
  """
2159
2211
  return self._EnableCopyWarn
@@ -2164,7 +2216,7 @@ class BizLicenseOCRRequest(AbstractModel):
2164
2216
 
2165
2217
  @property
2166
2218
  def EnablePeriodComplete(self):
2167
- r"""是否返回自动拼接的有效期,默认为true
2219
+ r"""<p>是否返回自动拼接的有效期,默认为true</p>
2168
2220
  :rtype: bool
2169
2221
  """
2170
2222
  return self._EnablePeriodComplete
@@ -2175,7 +2227,7 @@ class BizLicenseOCRRequest(AbstractModel):
2175
2227
 
2176
2228
  @property
2177
2229
  def EnableBusinessCertificate(self):
2178
- r"""是否支持营业类证件识别(包括营业执照和非营业执照的其他证件),默认为false
2230
+ r"""<p>是否支持营业类证件识别(包括营业执照和非营业执照的其他证件),默认为false</p>
2179
2231
  :rtype: bool
2180
2232
  """
2181
2233
  return self._EnableBusinessCertificate
@@ -2208,59 +2260,53 @@ class BizLicenseOCRResponse(AbstractModel):
2208
2260
 
2209
2261
  def __init__(self):
2210
2262
  r"""
2211
- :param _RegNum: 统一社会信用代码(三合一之前为注册号)
2263
+ :param _RegNum: <p>统一社会信用代码(三合一之前为注册号)</p>
2212
2264
  :type RegNum: str
2213
- :param _Name: 公司名称
2265
+ :param _Name: <p>公司名称</p>
2214
2266
  :type Name: str
2215
- :param _Capital: 注册资本
2267
+ :param _Capital: <p>注册资本</p>
2216
2268
  :type Capital: str
2217
- :param _Person: 法定代表人
2269
+ :param _Person: <p>法定代表人</p>
2218
2270
  :type Person: str
2219
- :param _Address: 地址
2271
+ :param _Address: <p>地址</p>
2220
2272
  :type Address: str
2221
- :param _Business: 经营范围
2273
+ :param _Business: <p>经营范围</p>
2222
2274
  :type Business: str
2223
- :param _Type: 主体类型
2275
+ :param _Type: <p>主体类型</p>
2224
2276
  :type Type: str
2225
- :param _Period: 营业期限
2277
+ :param _Period: <p>营业期限</p>
2226
2278
  :type Period: str
2227
- :param _ComposingForm: 组成形式
2279
+ :param _ComposingForm: <p>组成形式</p>
2228
2280
  :type ComposingForm: str
2229
- :param _SetDate: 成立日期
2281
+ :param _SetDate: <p>成立日期</p>
2230
2282
  :type SetDate: str
2231
- :param _RecognizeWarnCode: Code 告警码列表和释义:
2232
- -9102 黑白复印件告警
2233
- -9104 翻拍件告警
2283
+ :param _RecognizeWarnCode: <p>Code 告警码列表和释义:<br>-9102 黑白复印件告警<br>-9104 翻拍件告警<br>-9108 经营范围识别异常告警(由于文字过小、模糊、反光、遮挡或明显倾斜等情况导致未能正常识别)</p>
2234
2284
  :type RecognizeWarnCode: list of int
2235
- :param _RecognizeWarnMsg: 告警码说明:
2236
- WARN_COPY_CARD 黑白复印件告警
2237
- WARN_RESHOOT_CARD翻拍件告警
2285
+ :param _RecognizeWarnMsg: <p>告警码说明:<br>WARN_COPY_CARD 黑白复印件告警<br>WARN_RESHOOT_CARD翻拍件告警<br>WARN_EARLY_STOP 经营范围识别异常告警</p>
2238
2286
  :type RecognizeWarnMsg: list of str
2239
- :param _IsDuplication: 是否为副本。1为是,-1为不是。
2287
+ :param _IsDuplication: <p>是否为副本。1为是,-1为不是。</p>
2240
2288
  :type IsDuplication: int
2241
- :param _RegistrationDate: 登记日期
2289
+ :param _RegistrationDate: <p>登记日期</p>
2242
2290
  :type RegistrationDate: str
2243
- :param _Angle: 图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度
2244
-
2245
-
2291
+ :param _Angle: <p>图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度</p>
2246
2292
  :type Angle: float
2247
- :param _NationalEmblem: 是否有国徽。false为没有,true为有。
2293
+ :param _NationalEmblem: <p>是否有国徽。false为没有,true为有。</p>
2248
2294
  :type NationalEmblem: bool
2249
- :param _QRCode: 是否有二维码。false为没有,true为有。
2295
+ :param _QRCode: <p>是否有二维码。false为没有,true为有。</p>
2250
2296
  :type QRCode: bool
2251
- :param _Seal: 是否有印章。false为没有,true为有。
2297
+ :param _Seal: <p>是否有印章。false为没有,true为有。</p>
2252
2298
  :type Seal: bool
2253
- :param _Title: 标题
2299
+ :param _Title: <p>标题</p>
2254
2300
  :type Title: str
2255
- :param _SerialNumber: 编号
2301
+ :param _SerialNumber: <p>编号</p>
2256
2302
  :type SerialNumber: str
2257
- :param _RegistrationAuthority: 登记机关
2303
+ :param _RegistrationAuthority: <p>登记机关</p>
2258
2304
  :type RegistrationAuthority: str
2259
- :param _Electronic: 是否是电子营业执照。false为没有,true为有。
2305
+ :param _Electronic: <p>是否是电子营业执照。false为没有,true为有。</p>
2260
2306
  :type Electronic: bool
2261
- :param _BusinessCertificate: 非营业执照的营业类证件识别结果,将以结构化形式呈现。
2307
+ :param _BusinessCertificate: <p>非营业执照的营业类证件识别结果,将以结构化形式呈现。</p>
2262
2308
  :type BusinessCertificate: list of BusinessCertificateInfo
2263
- :param _Important: 重要提示字段
2309
+ :param _Important: <p>重要提示字段</p>
2264
2310
  :type Important: str
2265
2311
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2266
2312
  :type RequestId: str
@@ -2293,7 +2339,7 @@ WARN_RESHOOT_CARD翻拍件告警
2293
2339
 
2294
2340
  @property
2295
2341
  def RegNum(self):
2296
- r"""统一社会信用代码(三合一之前为注册号)
2342
+ r"""<p>统一社会信用代码(三合一之前为注册号)</p>
2297
2343
  :rtype: str
2298
2344
  """
2299
2345
  return self._RegNum
@@ -2304,7 +2350,7 @@ WARN_RESHOOT_CARD翻拍件告警
2304
2350
 
2305
2351
  @property
2306
2352
  def Name(self):
2307
- r"""公司名称
2353
+ r"""<p>公司名称</p>
2308
2354
  :rtype: str
2309
2355
  """
2310
2356
  return self._Name
@@ -2315,7 +2361,7 @@ WARN_RESHOOT_CARD翻拍件告警
2315
2361
 
2316
2362
  @property
2317
2363
  def Capital(self):
2318
- r"""注册资本
2364
+ r"""<p>注册资本</p>
2319
2365
  :rtype: str
2320
2366
  """
2321
2367
  return self._Capital
@@ -2326,7 +2372,7 @@ WARN_RESHOOT_CARD翻拍件告警
2326
2372
 
2327
2373
  @property
2328
2374
  def Person(self):
2329
- r"""法定代表人
2375
+ r"""<p>法定代表人</p>
2330
2376
  :rtype: str
2331
2377
  """
2332
2378
  return self._Person
@@ -2337,7 +2383,7 @@ WARN_RESHOOT_CARD翻拍件告警
2337
2383
 
2338
2384
  @property
2339
2385
  def Address(self):
2340
- r"""地址
2386
+ r"""<p>地址</p>
2341
2387
  :rtype: str
2342
2388
  """
2343
2389
  return self._Address
@@ -2348,7 +2394,7 @@ WARN_RESHOOT_CARD翻拍件告警
2348
2394
 
2349
2395
  @property
2350
2396
  def Business(self):
2351
- r"""经营范围
2397
+ r"""<p>经营范围</p>
2352
2398
  :rtype: str
2353
2399
  """
2354
2400
  return self._Business
@@ -2359,7 +2405,7 @@ WARN_RESHOOT_CARD翻拍件告警
2359
2405
 
2360
2406
  @property
2361
2407
  def Type(self):
2362
- r"""主体类型
2408
+ r"""<p>主体类型</p>
2363
2409
  :rtype: str
2364
2410
  """
2365
2411
  return self._Type
@@ -2370,7 +2416,7 @@ WARN_RESHOOT_CARD翻拍件告警
2370
2416
 
2371
2417
  @property
2372
2418
  def Period(self):
2373
- r"""营业期限
2419
+ r"""<p>营业期限</p>
2374
2420
  :rtype: str
2375
2421
  """
2376
2422
  return self._Period
@@ -2381,7 +2427,7 @@ WARN_RESHOOT_CARD翻拍件告警
2381
2427
 
2382
2428
  @property
2383
2429
  def ComposingForm(self):
2384
- r"""组成形式
2430
+ r"""<p>组成形式</p>
2385
2431
  :rtype: str
2386
2432
  """
2387
2433
  return self._ComposingForm
@@ -2392,7 +2438,7 @@ WARN_RESHOOT_CARD翻拍件告警
2392
2438
 
2393
2439
  @property
2394
2440
  def SetDate(self):
2395
- r"""成立日期
2441
+ r"""<p>成立日期</p>
2396
2442
  :rtype: str
2397
2443
  """
2398
2444
  return self._SetDate
@@ -2403,9 +2449,7 @@ WARN_RESHOOT_CARD翻拍件告警
2403
2449
 
2404
2450
  @property
2405
2451
  def RecognizeWarnCode(self):
2406
- r"""Code 告警码列表和释义:
2407
- -9102 黑白复印件告警
2408
- -9104 翻拍件告警
2452
+ r"""<p>Code 告警码列表和释义:<br>-9102 黑白复印件告警<br>-9104 翻拍件告警<br>-9108 经营范围识别异常告警(由于文字过小、模糊、反光、遮挡或明显倾斜等情况导致未能正常识别)</p>
2409
2453
  :rtype: list of int
2410
2454
  """
2411
2455
  return self._RecognizeWarnCode
@@ -2416,9 +2460,7 @@ WARN_RESHOOT_CARD翻拍件告警
2416
2460
 
2417
2461
  @property
2418
2462
  def RecognizeWarnMsg(self):
2419
- r"""告警码说明:
2420
- WARN_COPY_CARD 黑白复印件告警
2421
- WARN_RESHOOT_CARD翻拍件告警
2463
+ r"""<p>告警码说明:<br>WARN_COPY_CARD 黑白复印件告警<br>WARN_RESHOOT_CARD翻拍件告警<br>WARN_EARLY_STOP 经营范围识别异常告警</p>
2422
2464
  :rtype: list of str
2423
2465
  """
2424
2466
  return self._RecognizeWarnMsg
@@ -2429,7 +2471,7 @@ WARN_RESHOOT_CARD翻拍件告警
2429
2471
 
2430
2472
  @property
2431
2473
  def IsDuplication(self):
2432
- r"""是否为副本。1为是,-1为不是。
2474
+ r"""<p>是否为副本。1为是,-1为不是。</p>
2433
2475
  :rtype: int
2434
2476
  """
2435
2477
  return self._IsDuplication
@@ -2440,7 +2482,7 @@ WARN_RESHOOT_CARD翻拍件告警
2440
2482
 
2441
2483
  @property
2442
2484
  def RegistrationDate(self):
2443
- r"""登记日期
2485
+ r"""<p>登记日期</p>
2444
2486
  :rtype: str
2445
2487
  """
2446
2488
  return self._RegistrationDate
@@ -2451,9 +2493,7 @@ WARN_RESHOOT_CARD翻拍件告警
2451
2493
 
2452
2494
  @property
2453
2495
  def Angle(self):
2454
- r""" 图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度
2455
-
2456
-
2496
+ r"""<p>图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度</p>
2457
2497
  :rtype: float
2458
2498
  """
2459
2499
  return self._Angle
@@ -2464,7 +2504,7 @@ WARN_RESHOOT_CARD翻拍件告警
2464
2504
 
2465
2505
  @property
2466
2506
  def NationalEmblem(self):
2467
- r"""是否有国徽。false为没有,true为有。
2507
+ r"""<p>是否有国徽。false为没有,true为有。</p>
2468
2508
  :rtype: bool
2469
2509
  """
2470
2510
  return self._NationalEmblem
@@ -2475,7 +2515,7 @@ WARN_RESHOOT_CARD翻拍件告警
2475
2515
 
2476
2516
  @property
2477
2517
  def QRCode(self):
2478
- r"""是否有二维码。false为没有,true为有。
2518
+ r"""<p>是否有二维码。false为没有,true为有。</p>
2479
2519
  :rtype: bool
2480
2520
  """
2481
2521
  return self._QRCode
@@ -2486,7 +2526,7 @@ WARN_RESHOOT_CARD翻拍件告警
2486
2526
 
2487
2527
  @property
2488
2528
  def Seal(self):
2489
- r"""是否有印章。false为没有,true为有。
2529
+ r"""<p>是否有印章。false为没有,true为有。</p>
2490
2530
  :rtype: bool
2491
2531
  """
2492
2532
  return self._Seal
@@ -2497,7 +2537,7 @@ WARN_RESHOOT_CARD翻拍件告警
2497
2537
 
2498
2538
  @property
2499
2539
  def Title(self):
2500
- r"""标题
2540
+ r"""<p>标题</p>
2501
2541
  :rtype: str
2502
2542
  """
2503
2543
  return self._Title
@@ -2508,7 +2548,7 @@ WARN_RESHOOT_CARD翻拍件告警
2508
2548
 
2509
2549
  @property
2510
2550
  def SerialNumber(self):
2511
- r"""编号
2551
+ r"""<p>编号</p>
2512
2552
  :rtype: str
2513
2553
  """
2514
2554
  return self._SerialNumber
@@ -2519,7 +2559,7 @@ WARN_RESHOOT_CARD翻拍件告警
2519
2559
 
2520
2560
  @property
2521
2561
  def RegistrationAuthority(self):
2522
- r"""登记机关
2562
+ r"""<p>登记机关</p>
2523
2563
  :rtype: str
2524
2564
  """
2525
2565
  return self._RegistrationAuthority
@@ -2530,7 +2570,7 @@ WARN_RESHOOT_CARD翻拍件告警
2530
2570
 
2531
2571
  @property
2532
2572
  def Electronic(self):
2533
- r"""是否是电子营业执照。false为没有,true为有。
2573
+ r"""<p>是否是电子营业执照。false为没有,true为有。</p>
2534
2574
  :rtype: bool
2535
2575
  """
2536
2576
  return self._Electronic
@@ -2541,7 +2581,7 @@ WARN_RESHOOT_CARD翻拍件告警
2541
2581
 
2542
2582
  @property
2543
2583
  def BusinessCertificate(self):
2544
- r"""非营业执照的营业类证件识别结果,将以结构化形式呈现。
2584
+ r"""<p>非营业执照的营业类证件识别结果,将以结构化形式呈现。</p>
2545
2585
  :rtype: list of BusinessCertificateInfo
2546
2586
  """
2547
2587
  return self._BusinessCertificate
@@ -2552,7 +2592,7 @@ WARN_RESHOOT_CARD翻拍件告警
2552
2592
 
2553
2593
  @property
2554
2594
  def Important(self):
2555
- r"""重要提示字段
2595
+ r"""<p>重要提示字段</p>
2556
2596
  :rtype: str
2557
2597
  """
2558
2598
  return self._Important
@@ -5229,14 +5269,14 @@ class DescribeQuestionMarkAgentJobRequest(AbstractModel):
5229
5269
 
5230
5270
  def __init__(self):
5231
5271
  r"""
5232
- :param _JobId: 任务唯一ID。由服务端生成。
5272
+ :param _JobId: <p>任务唯一ID。由服务端生成。</p>
5233
5273
  :type JobId: str
5234
5274
  """
5235
5275
  self._JobId = None
5236
5276
 
5237
5277
  @property
5238
5278
  def JobId(self):
5239
- r"""任务唯一ID。由服务端生成。
5279
+ r"""<p>任务唯一ID。由服务端生成。</p>
5240
5280
  :rtype: str
5241
5281
  """
5242
5282
  return self._JobId
@@ -5265,16 +5305,18 @@ class DescribeQuestionMarkAgentJobResponse(AbstractModel):
5265
5305
 
5266
5306
  def __init__(self):
5267
5307
  r"""
5268
- :param _ErrorCode: 任务执行错误码。当任务状态不为 FAIL 时,该值为""。
5308
+ :param _ErrorCode: <p>任务执行错误码。当任务状态不为 FAIL 时,该值为&quot;&quot;。</p>
5269
5309
  :type ErrorCode: str
5270
- :param _ErrorMessage: 任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
5310
+ :param _ErrorMessage: <p>任务执行错误信息。当任务状态不为 FAIL 时,该值为&quot;&quot;。</p>
5271
5311
  :type ErrorMessage: str
5272
- :param _JobStatus: 任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
5312
+ :param _JobStatus: <p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功</p>
5273
5313
  :type JobStatus: str
5274
- :param _Angle: 图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。
5314
+ :param _Angle: <p>图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。</p>
5275
5315
  :type Angle: float
5276
- :param _MarkInfos: 试题批改信息
5316
+ :param _MarkInfos: <p>试题批改信息 (该字段后续废弃,使用QuestionInfo兼容多页批改场景)</p>
5277
5317
  :type MarkInfos: list of MarkInfo
5318
+ :param _QuestionInfo: <p>试题批改信息。</p>
5319
+ :type QuestionInfo: list of QuestionInfo
5278
5320
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5279
5321
  :type RequestId: str
5280
5322
  """
@@ -5283,11 +5325,12 @@ class DescribeQuestionMarkAgentJobResponse(AbstractModel):
5283
5325
  self._JobStatus = None
5284
5326
  self._Angle = None
5285
5327
  self._MarkInfos = None
5328
+ self._QuestionInfo = None
5286
5329
  self._RequestId = None
5287
5330
 
5288
5331
  @property
5289
5332
  def ErrorCode(self):
5290
- r"""任务执行错误码。当任务状态不为 FAIL 时,该值为""。
5333
+ r"""<p>任务执行错误码。当任务状态不为 FAIL 时,该值为&quot;&quot;。</p>
5291
5334
  :rtype: str
5292
5335
  """
5293
5336
  return self._ErrorCode
@@ -5298,7 +5341,7 @@ class DescribeQuestionMarkAgentJobResponse(AbstractModel):
5298
5341
 
5299
5342
  @property
5300
5343
  def ErrorMessage(self):
5301
- r"""任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
5344
+ r"""<p>任务执行错误信息。当任务状态不为 FAIL 时,该值为&quot;&quot;。</p>
5302
5345
  :rtype: str
5303
5346
  """
5304
5347
  return self._ErrorMessage
@@ -5309,7 +5352,7 @@ class DescribeQuestionMarkAgentJobResponse(AbstractModel):
5309
5352
 
5310
5353
  @property
5311
5354
  def JobStatus(self):
5312
- r"""任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
5355
+ r"""<p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功</p>
5313
5356
  :rtype: str
5314
5357
  """
5315
5358
  return self._JobStatus
@@ -5320,7 +5363,7 @@ class DescribeQuestionMarkAgentJobResponse(AbstractModel):
5320
5363
 
5321
5364
  @property
5322
5365
  def Angle(self):
5323
- r"""图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。
5366
+ r"""<p>图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。</p>
5324
5367
  :rtype: float
5325
5368
  """
5326
5369
  return self._Angle
@@ -5331,7 +5374,7 @@ class DescribeQuestionMarkAgentJobResponse(AbstractModel):
5331
5374
 
5332
5375
  @property
5333
5376
  def MarkInfos(self):
5334
- r"""试题批改信息
5377
+ r"""<p>试题批改信息 (该字段后续废弃,使用QuestionInfo兼容多页批改场景)</p>
5335
5378
  :rtype: list of MarkInfo
5336
5379
  """
5337
5380
  return self._MarkInfos
@@ -5340,6 +5383,17 @@ class DescribeQuestionMarkAgentJobResponse(AbstractModel):
5340
5383
  def MarkInfos(self, MarkInfos):
5341
5384
  self._MarkInfos = MarkInfos
5342
5385
 
5386
+ @property
5387
+ def QuestionInfo(self):
5388
+ r"""<p>试题批改信息。</p>
5389
+ :rtype: list of QuestionInfo
5390
+ """
5391
+ return self._QuestionInfo
5392
+
5393
+ @QuestionInfo.setter
5394
+ def QuestionInfo(self, QuestionInfo):
5395
+ self._QuestionInfo = QuestionInfo
5396
+
5343
5397
  @property
5344
5398
  def RequestId(self):
5345
5399
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -5363,6 +5417,12 @@ class DescribeQuestionMarkAgentJobResponse(AbstractModel):
5363
5417
  obj = MarkInfo()
5364
5418
  obj._deserialize(item)
5365
5419
  self._MarkInfos.append(obj)
5420
+ if params.get("QuestionInfo") is not None:
5421
+ self._QuestionInfo = []
5422
+ for item in params.get("QuestionInfo"):
5423
+ obj = QuestionInfo()
5424
+ obj._deserialize(item)
5425
+ self._QuestionInfo.append(obj)
5366
5426
  self._RequestId = params.get("RequestId")
5367
5427
 
5368
5428
 
@@ -8211,6 +8271,8 @@ class Element(AbstractModel):
8211
8271
  :type Index: int
8212
8272
  :param _PageIndex: <p>元素所在页</p><p>单位:页</p><p>默认值:1</p>
8213
8273
  :type PageIndex: int
8274
+ :param _AnswerElement: <p>批改时答案的额外数据</p>
8275
+ :type AnswerElement: :class:`tencentcloud.ocr.v20181119.models.AnswerElement`
8214
8276
  """
8215
8277
  self._Text = None
8216
8278
  self._Coord = None
@@ -8218,6 +8280,7 @@ class Element(AbstractModel):
8218
8280
  self._ResultList = None
8219
8281
  self._Index = None
8220
8282
  self._PageIndex = None
8283
+ self._AnswerElement = None
8221
8284
 
8222
8285
  @property
8223
8286
  def Text(self):
@@ -8286,6 +8349,17 @@ class Element(AbstractModel):
8286
8349
  def PageIndex(self, PageIndex):
8287
8350
  self._PageIndex = PageIndex
8288
8351
 
8352
+ @property
8353
+ def AnswerElement(self):
8354
+ r"""<p>批改时答案的额外数据</p>
8355
+ :rtype: :class:`tencentcloud.ocr.v20181119.models.AnswerElement`
8356
+ """
8357
+ return self._AnswerElement
8358
+
8359
+ @AnswerElement.setter
8360
+ def AnswerElement(self, AnswerElement):
8361
+ self._AnswerElement = AnswerElement
8362
+
8289
8363
 
8290
8364
  def _deserialize(self, params):
8291
8365
  self._Text = params.get("Text")
@@ -8301,6 +8375,9 @@ class Element(AbstractModel):
8301
8375
  self._ResultList.append(obj)
8302
8376
  self._Index = params.get("Index")
8303
8377
  self._PageIndex = params.get("PageIndex")
8378
+ if params.get("AnswerElement") is not None:
8379
+ self._AnswerElement = AnswerElement()
8380
+ self._AnswerElement._deserialize(params.get("AnswerElement"))
8304
8381
  memeber_set = set(params.keys())
8305
8382
  for name, value in vars(self).items():
8306
8383
  property_name = name[1:]
@@ -22074,6 +22151,8 @@ class QuestionInfo(AbstractModel):
22074
22151
  :type OrgWidth: int
22075
22152
  :param _ImageBase64: <p>预处理后的图片base64编码</p>
22076
22153
  :type ImageBase64: str
22154
+ :param _ReturnImageUrl: <p>预处理后的图片URL,如果开启了图像切边矫正,后续的坐标都是基于当前图片返回的坐标</p>
22155
+ :type ReturnImageUrl: str
22077
22156
  """
22078
22157
  self._Angle = None
22079
22158
  self._Height = None
@@ -22082,6 +22161,7 @@ class QuestionInfo(AbstractModel):
22082
22161
  self._OrgHeight = None
22083
22162
  self._OrgWidth = None
22084
22163
  self._ImageBase64 = None
22164
+ self._ReturnImageUrl = None
22085
22165
 
22086
22166
  @property
22087
22167
  def Angle(self):
@@ -22161,6 +22241,17 @@ class QuestionInfo(AbstractModel):
22161
22241
  def ImageBase64(self, ImageBase64):
22162
22242
  self._ImageBase64 = ImageBase64
22163
22243
 
22244
+ @property
22245
+ def ReturnImageUrl(self):
22246
+ r"""<p>预处理后的图片URL,如果开启了图像切边矫正,后续的坐标都是基于当前图片返回的坐标</p>
22247
+ :rtype: str
22248
+ """
22249
+ return self._ReturnImageUrl
22250
+
22251
+ @ReturnImageUrl.setter
22252
+ def ReturnImageUrl(self, ReturnImageUrl):
22253
+ self._ReturnImageUrl = ReturnImageUrl
22254
+
22164
22255
 
22165
22256
  def _deserialize(self, params):
22166
22257
  self._Angle = params.get("Angle")
@@ -22175,6 +22266,7 @@ class QuestionInfo(AbstractModel):
22175
22266
  self._OrgHeight = params.get("OrgHeight")
22176
22267
  self._OrgWidth = params.get("OrgWidth")
22177
22268
  self._ImageBase64 = params.get("ImageBase64")
22269
+ self._ReturnImageUrl = params.get("ReturnImageUrl")
22178
22270
  memeber_set = set(params.keys())
22179
22271
  for name, value in vars(self).items():
22180
22272
  property_name = name[1:]
@@ -24151,26 +24243,15 @@ class RecognizeGeneralCardWarnRequest(AbstractModel):
24151
24243
 
24152
24244
  def __init__(self):
24153
24245
  r"""
24154
- :param _ImageUrl: 图片链接
24246
+ :param _ImageUrl: <p>图片链接</p>
24155
24247
  :type ImageUrl: str
24156
- :param _ImageBase64: 图片base64
24248
+ :param _ImageBase64: <p>图片base64</p>
24157
24249
  :type ImageBase64: str
24158
- :param _CardType: 卡证类型参数,包含以下范围:
24159
- General:通用卡证
24160
- IDCard:身份证
24161
- Passport:护照
24162
- BankCard:银行卡
24163
- VehicleLicense:行驶证
24164
- DriverLicense:驾驶证
24165
- BizLicense:营业执照
24166
- HmtResidentPermit:港澳台居住证
24167
- ForeignPermanentResident:外国人永居证
24168
- MainlandPermit:港澳台来往内地通行证
24169
- SocialSecurityCard:社保卡
24250
+ :param _CardType: <p>卡证类型参数,选填,不填则默认为General,枚举值:<br>(如输入图片的卡证类型明确,建议填入,可降低请求耗时)</p><p>General:系统自动分类/其他类型<br>IDCard:身份证<br>Passport:护照<br>BankCard:银行卡<br>VehicleLicense:行驶证<br>DriverLicense:驾驶证<br>BizLicense:营业执照<br>HmtResidentPermit:港澳台居住证<br>ForeignPermanentResident:外国人永居证<br>MainlandPermit:港澳台来往内地通行证<br>SocialSecurityCard:社保卡</p>
24170
24251
  :type CardType: str
24171
- :param _IsPdf: 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
24252
+ :param _IsPdf: <p>是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。</p>
24172
24253
  :type IsPdf: bool
24173
- :param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
24254
+ :param _PdfPageNumber: <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。</p>
24174
24255
  :type PdfPageNumber: int
24175
24256
  """
24176
24257
  self._ImageUrl = None
@@ -24181,7 +24262,7 @@ SocialSecurityCard:社保卡
24181
24262
 
24182
24263
  @property
24183
24264
  def ImageUrl(self):
24184
- r"""图片链接
24265
+ r"""<p>图片链接</p>
24185
24266
  :rtype: str
24186
24267
  """
24187
24268
  return self._ImageUrl
@@ -24192,7 +24273,7 @@ SocialSecurityCard:社保卡
24192
24273
 
24193
24274
  @property
24194
24275
  def ImageBase64(self):
24195
- r"""图片base64
24276
+ r"""<p>图片base64</p>
24196
24277
  :rtype: str
24197
24278
  """
24198
24279
  return self._ImageBase64
@@ -24203,18 +24284,7 @@ SocialSecurityCard:社保卡
24203
24284
 
24204
24285
  @property
24205
24286
  def CardType(self):
24206
- r"""卡证类型参数,包含以下范围:
24207
- General:通用卡证
24208
- IDCard:身份证
24209
- Passport:护照
24210
- BankCard:银行卡
24211
- VehicleLicense:行驶证
24212
- DriverLicense:驾驶证
24213
- BizLicense:营业执照
24214
- HmtResidentPermit:港澳台居住证
24215
- ForeignPermanentResident:外国人永居证
24216
- MainlandPermit:港澳台来往内地通行证
24217
- SocialSecurityCard:社保卡
24287
+ r"""<p>卡证类型参数,选填,不填则默认为General,枚举值:<br>(如输入图片的卡证类型明确,建议填入,可降低请求耗时)</p><p>General:系统自动分类/其他类型<br>IDCard:身份证<br>Passport:护照<br>BankCard:银行卡<br>VehicleLicense:行驶证<br>DriverLicense:驾驶证<br>BizLicense:营业执照<br>HmtResidentPermit:港澳台居住证<br>ForeignPermanentResident:外国人永居证<br>MainlandPermit:港澳台来往内地通行证<br>SocialSecurityCard:社保卡</p>
24218
24288
  :rtype: str
24219
24289
  """
24220
24290
  return self._CardType
@@ -24225,7 +24295,7 @@ SocialSecurityCard:社保卡
24225
24295
 
24226
24296
  @property
24227
24297
  def IsPdf(self):
24228
- r"""是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
24298
+ r"""<p>是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。</p>
24229
24299
  :rtype: bool
24230
24300
  """
24231
24301
  return self._IsPdf
@@ -24236,7 +24306,7 @@ SocialSecurityCard:社保卡
24236
24306
 
24237
24307
  @property
24238
24308
  def PdfPageNumber(self):
24239
- r"""需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
24309
+ r"""<p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。</p>
24240
24310
  :rtype: int
24241
24311
  """
24242
24312
  return self._PdfPageNumber
@@ -24269,40 +24339,29 @@ class RecognizeGeneralCardWarnResponse(AbstractModel):
24269
24339
 
24270
24340
  def __init__(self):
24271
24341
  r"""
24272
- :param _CardType: 卡证类型参数,包含以下范围:
24273
- General:通用卡证
24274
- IDCard:身份证
24275
- Passport:护照
24276
- BankCard:银行卡
24277
- VehicleLicense:行驶证
24278
- DriverLicense:驾驶证
24279
- BizLicense:营业执照
24280
- HmtResidentPermit:港澳台居住证
24281
- ForeignPermanentResident:外国人永居证
24282
- MainlandPermit:港澳台来往内地通行证
24283
- SocialSecurityCard:社保卡
24342
+ :param _CardType: <p>卡证类型参数,枚举值:<br>(如入参CardType未填或填入General,返回自动分类的卡证类型,未能分类的其他类型返回General;如入参CardType填入General以外的值,则不进行自动分类、返回相同的值)</p><p>General:其他类型<br>IDCard:身份证<br>Passport:护照<br>BankCard:银行卡<br>VehicleLicense:行驶证<br>DriverLicense:驾驶证<br>BizLicense:营业执照<br>HmtResidentPermit:港澳台居住证<br>ForeignPermanentResident:外国人永居证<br>MainlandPermit:港澳台来往内地通行证<br>SocialSecurityCard:社保卡</p>
24284
24343
  :type CardType: str
24285
- :param _Blur: 模糊信息
24344
+ :param _Blur: <p>模糊信息</p>
24286
24345
  :type Blur: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24287
- :param _BorderIncomplete: 边框不完整信息
24346
+ :param _BorderIncomplete: <p>边框不完整信息</p>
24288
24347
  :type BorderIncomplete: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24289
- :param _Copy: 复印件信息
24348
+ :param _Copy: <p>复印件信息</p>
24290
24349
  :type Copy: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24291
- :param _Ps: ps篡改信息
24350
+ :param _Ps: <p>ps篡改信息</p>
24292
24351
  :type Ps: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24293
- :param _Reflection: 反光信息
24352
+ :param _Reflection: <p>反光信息</p>
24294
24353
  :type Reflection: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24295
- :param _Reprint: 翻拍件信息
24354
+ :param _Reprint: <p>翻拍件信息</p>
24296
24355
  :type Reprint: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24297
- :param _Screenshot: 是否截图
24356
+ :param _Screenshot: <p>是否截图</p>
24298
24357
  :type Screenshot: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24299
- :param _Cover: 是否遮挡
24358
+ :param _Cover: <p>是否遮挡</p>
24300
24359
  :type Cover: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24301
- :param _Overlap: 是否重叠
24360
+ :param _Overlap: <p>是否重叠</p>
24302
24361
  :type Overlap: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24303
- :param _Watermark: 是否水印
24362
+ :param _Watermark: <p>是否水印</p>
24304
24363
  :type Watermark: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24305
- :param _Electron: 是否电子证照(目前仅支持电子身份证、电子营业执照识别
24364
+ :param _Electron: <p>是否电子证照(目前仅支持电子身份证、电子营业执照识别</p>
24306
24365
  :type Electron: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24307
24366
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
24308
24367
  :type RequestId: str
@@ -24323,18 +24382,7 @@ SocialSecurityCard:社保卡
24323
24382
 
24324
24383
  @property
24325
24384
  def CardType(self):
24326
- r"""卡证类型参数,包含以下范围:
24327
- General:通用卡证
24328
- IDCard:身份证
24329
- Passport:护照
24330
- BankCard:银行卡
24331
- VehicleLicense:行驶证
24332
- DriverLicense:驾驶证
24333
- BizLicense:营业执照
24334
- HmtResidentPermit:港澳台居住证
24335
- ForeignPermanentResident:外国人永居证
24336
- MainlandPermit:港澳台来往内地通行证
24337
- SocialSecurityCard:社保卡
24385
+ r"""<p>卡证类型参数,枚举值:<br>(如入参CardType未填或填入General,返回自动分类的卡证类型,未能分类的其他类型返回General;如入参CardType填入General以外的值,则不进行自动分类、返回相同的值)</p><p>General:其他类型<br>IDCard:身份证<br>Passport:护照<br>BankCard:银行卡<br>VehicleLicense:行驶证<br>DriverLicense:驾驶证<br>BizLicense:营业执照<br>HmtResidentPermit:港澳台居住证<br>ForeignPermanentResident:外国人永居证<br>MainlandPermit:港澳台来往内地通行证<br>SocialSecurityCard:社保卡</p>
24338
24386
  :rtype: str
24339
24387
  """
24340
24388
  return self._CardType
@@ -24345,7 +24393,7 @@ SocialSecurityCard:社保卡
24345
24393
 
24346
24394
  @property
24347
24395
  def Blur(self):
24348
- r"""模糊信息
24396
+ r"""<p>模糊信息</p>
24349
24397
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24350
24398
  """
24351
24399
  return self._Blur
@@ -24356,7 +24404,7 @@ SocialSecurityCard:社保卡
24356
24404
 
24357
24405
  @property
24358
24406
  def BorderIncomplete(self):
24359
- r"""边框不完整信息
24407
+ r"""<p>边框不完整信息</p>
24360
24408
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24361
24409
  """
24362
24410
  return self._BorderIncomplete
@@ -24367,7 +24415,7 @@ SocialSecurityCard:社保卡
24367
24415
 
24368
24416
  @property
24369
24417
  def Copy(self):
24370
- r"""复印件信息
24418
+ r"""<p>复印件信息</p>
24371
24419
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24372
24420
  """
24373
24421
  return self._Copy
@@ -24378,7 +24426,7 @@ SocialSecurityCard:社保卡
24378
24426
 
24379
24427
  @property
24380
24428
  def Ps(self):
24381
- r"""ps篡改信息
24429
+ r"""<p>ps篡改信息</p>
24382
24430
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24383
24431
  """
24384
24432
  return self._Ps
@@ -24389,7 +24437,7 @@ SocialSecurityCard:社保卡
24389
24437
 
24390
24438
  @property
24391
24439
  def Reflection(self):
24392
- r"""反光信息
24440
+ r"""<p>反光信息</p>
24393
24441
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24394
24442
  """
24395
24443
  return self._Reflection
@@ -24400,7 +24448,7 @@ SocialSecurityCard:社保卡
24400
24448
 
24401
24449
  @property
24402
24450
  def Reprint(self):
24403
- r"""翻拍件信息
24451
+ r"""<p>翻拍件信息</p>
24404
24452
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24405
24453
  """
24406
24454
  return self._Reprint
@@ -24411,7 +24459,7 @@ SocialSecurityCard:社保卡
24411
24459
 
24412
24460
  @property
24413
24461
  def Screenshot(self):
24414
- r"""是否截图
24462
+ r"""<p>是否截图</p>
24415
24463
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24416
24464
  """
24417
24465
  return self._Screenshot
@@ -24422,7 +24470,7 @@ SocialSecurityCard:社保卡
24422
24470
 
24423
24471
  @property
24424
24472
  def Cover(self):
24425
- r"""是否遮挡
24473
+ r"""<p>是否遮挡</p>
24426
24474
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24427
24475
  """
24428
24476
  return self._Cover
@@ -24433,7 +24481,7 @@ SocialSecurityCard:社保卡
24433
24481
 
24434
24482
  @property
24435
24483
  def Overlap(self):
24436
- r"""是否重叠
24484
+ r"""<p>是否重叠</p>
24437
24485
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24438
24486
  """
24439
24487
  return self._Overlap
@@ -24444,7 +24492,7 @@ SocialSecurityCard:社保卡
24444
24492
 
24445
24493
  @property
24446
24494
  def Watermark(self):
24447
- r"""是否水印
24495
+ r"""<p>是否水印</p>
24448
24496
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24449
24497
  """
24450
24498
  return self._Watermark
@@ -24455,7 +24503,7 @@ SocialSecurityCard:社保卡
24455
24503
 
24456
24504
  @property
24457
24505
  def Electron(self):
24458
- r"""是否电子证照(目前仅支持电子身份证、电子营业执照识别
24506
+ r"""<p>是否电子证照(目前仅支持电子身份证、电子营业执照识别</p>
24459
24507
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24460
24508
  """
24461
24509
  return self._Electron
@@ -27404,6 +27452,12 @@ class ResultList(AbstractModel):
27404
27452
  :type Coord: list of Polygon
27405
27453
  :param _CoordPageIndex: <p>多坐标返回,显示坐标所在页</p><p>默认值:[]</p>
27406
27454
  :type CoordPageIndex: list of int
27455
+ :param _RightAnswer: <p>返回正确答案内容</p>
27456
+ :type RightAnswer: str
27457
+ :param _Subject: <p>学科(如语文、数学、英语)</p>
27458
+ :type Subject: str
27459
+ :param _KnowledgePoints: <p>返回题目的知识点内容</p>
27460
+ :type KnowledgePoints: list of str
27407
27461
  """
27408
27462
  self._Question = None
27409
27463
  self._Option = None
@@ -27413,6 +27467,9 @@ class ResultList(AbstractModel):
27413
27467
  self._Parse = None
27414
27468
  self._Coord = None
27415
27469
  self._CoordPageIndex = None
27470
+ self._RightAnswer = None
27471
+ self._Subject = None
27472
+ self._KnowledgePoints = None
27416
27473
 
27417
27474
  @property
27418
27475
  def Question(self):
@@ -27508,6 +27565,39 @@ class ResultList(AbstractModel):
27508
27565
  def CoordPageIndex(self, CoordPageIndex):
27509
27566
  self._CoordPageIndex = CoordPageIndex
27510
27567
 
27568
+ @property
27569
+ def RightAnswer(self):
27570
+ r"""<p>返回正确答案内容</p>
27571
+ :rtype: str
27572
+ """
27573
+ return self._RightAnswer
27574
+
27575
+ @RightAnswer.setter
27576
+ def RightAnswer(self, RightAnswer):
27577
+ self._RightAnswer = RightAnswer
27578
+
27579
+ @property
27580
+ def Subject(self):
27581
+ r"""<p>学科(如语文、数学、英语)</p>
27582
+ :rtype: str
27583
+ """
27584
+ return self._Subject
27585
+
27586
+ @Subject.setter
27587
+ def Subject(self, Subject):
27588
+ self._Subject = Subject
27589
+
27590
+ @property
27591
+ def KnowledgePoints(self):
27592
+ r"""<p>返回题目的知识点内容</p>
27593
+ :rtype: list of str
27594
+ """
27595
+ return self._KnowledgePoints
27596
+
27597
+ @KnowledgePoints.setter
27598
+ def KnowledgePoints(self, KnowledgePoints):
27599
+ self._KnowledgePoints = KnowledgePoints
27600
+
27511
27601
 
27512
27602
  def _deserialize(self, params):
27513
27603
  if params.get("Question") is not None:
@@ -27553,6 +27643,9 @@ class ResultList(AbstractModel):
27553
27643
  obj._deserialize(item)
27554
27644
  self._Coord.append(obj)
27555
27645
  self._CoordPageIndex = params.get("CoordPageIndex")
27646
+ self._RightAnswer = params.get("RightAnswer")
27647
+ self._Subject = params.get("Subject")
27648
+ self._KnowledgePoints = params.get("KnowledgePoints")
27556
27649
  memeber_set = set(params.keys())
27557
27650
  for name, value in vars(self).items():
27558
27651
  property_name = name[1:]
@@ -30518,24 +30611,26 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
30518
30611
  :type ImageBase64: str
30519
30612
  :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>
30520
30613
  :type ImageUrl: str
30521
- :param _PdfPageNumber: <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。</p>
30614
+ :param _PdfPageNumber: <p>不传则默认识别整个PDF,如果识别单页则输入指定页码</p>
30522
30615
  :type PdfPageNumber: int
30523
30616
  :param _BoolSingleQuestion: <p>表示整张试卷批改需要先切题,默认为false</p>
30524
30617
  :type BoolSingleQuestion: bool
30525
30618
  :param _EnableDeepThink: <p>默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢</p>
30526
30619
  :type EnableDeepThink: bool
30527
- :param _QuestionConfigMap: <p>题目信息输出配置,当key对应为true表示开启配置开关。</p><p>当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;<br>当key为TrueAnswer value为true 表示输出每道题的正确答案 ;<br>当key为StepCorrection value为true表示启用步骤级批改;</p><p>当key为DisableAnswerAnalysis value为true表示不输出答案解析;</p><p>当key为OutputSubQuestionsAndCoords value为true表示输出子题干和插图坐标;</p><p>当key为UseCoordAssist value为true表示使用精调坐标辅助模型,false表示默认模型坐标(性能更优);</p><p>参数格式:{&quot;KnowledgePoints&quot;:true,&quot;TrueAnswer&quot;:true}</p>
30620
+ :param _QuestionConfigMap: <p>题目信息输出配置,当key对应为true表示开启配置开关。<br>当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;<br>当key为TrueAnswer value为true 表示输出每道题的正确答案 ;<br>当key为StepCorrection value为true表示启用步骤级批改;<br>当key为DisableAnswerAnalysis value为true表示不输出答案解析;<br>当key为OutputSubQuestionsAndCoords value为true表示输出子题干和插图坐标;<br>当key为UseCoordAssist value为true表示使用精调坐标辅助模型,false表示默认模型坐标(性能更优);</p>
30528
30621
  :type QuestionConfigMap: str
30529
- :param _ReferenceAnswer: <p>仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中</p>
30622
+ :param _ReferenceAnswer: <p>【废除字段】<br>仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中</p>
30530
30623
  :type ReferenceAnswer: str
30531
- :param _ImageBase64List: <p>批量base64图片入口,每个base64参考单独ImageBase64参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N来输入答题试卷和含正确解析试卷,最多两张</li><li>当AssistMarkType不为2时,ImageBase64List.N/ImageUrlList.N图片会执行拼接逻辑(解决单题跨页场景)</li></ol>
30624
+ :param _ImageBase64List: <p>批量base64图片入口,每个base64参考单独ImageBase64参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N来输入答题试卷和含正确解析试卷,最多两张</li><li>当AssistMarkType不为2时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
30532
30625
  :type ImageBase64List: list of str
30533
- :param _ImageUrlList: <p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N 来输入答题试卷和含正确解析试卷,最多两张</li><li>当AssistMarkType不为2时,ImageBase64List.N/ImageUrlList.N图片会执行拼接逻辑(解决单题跨页场景)</li></ol>
30626
+ :param _ImageUrlList: <p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N 来输入答题试卷和含正确解析试卷,最多两张</li><li>当AssistMarkType不为2时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
30534
30627
  :type ImageUrlList: list of str
30535
30628
  :param _AssistMarkType: <p>辅助批改类型</p><p>枚举值:</p><ul><li>0: 无辅助批改,直接模型批改</li><li>1: 单题文本辅助批改,配合AnswerAssistMap使用</li><li>2: 整页辅助批改,待批改试卷使用ImageUrl/ImageBase64,答案部分使用ImageBase64List.N/ImageUrlList.N</li></ul><p>默认值:0</p>
30536
30629
  :type AssistMarkType: int
30537
30630
  :param _AnswerAssistMap: <p>单题辅助批改文本内容列表,当AssistMarkType为1时生效,用于提供题目相关的辅助文本信息。</p><ol><li>当key为ReferenceAnswer,value可以输入单题的辅助答案文本。</li><li>当key为QuestionAuxStem,value可以输入单题的辅助题干。</li></ol>
30538
30631
  :type AnswerAssistMap: str
30632
+ :param _EnableImageCrop: <p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-&gt; ReturnImageUr中l,默认为false不开启<br>示例值:false</p>
30633
+ :type EnableImageCrop: bool
30539
30634
  """
30540
30635
  self._ImageBase64 = None
30541
30636
  self._ImageUrl = None
@@ -30548,6 +30643,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
30548
30643
  self._ImageUrlList = None
30549
30644
  self._AssistMarkType = None
30550
30645
  self._AnswerAssistMap = None
30646
+ self._EnableImageCrop = None
30551
30647
 
30552
30648
  @property
30553
30649
  def ImageBase64(self):
@@ -30573,7 +30669,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
30573
30669
 
30574
30670
  @property
30575
30671
  def PdfPageNumber(self):
30576
- r"""<p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。</p>
30672
+ r"""<p>不传则默认识别整个PDF,如果识别单页则输入指定页码</p>
30577
30673
  :rtype: int
30578
30674
  """
30579
30675
  return self._PdfPageNumber
@@ -30614,7 +30710,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
30614
30710
 
30615
30711
  @property
30616
30712
  def QuestionConfigMap(self):
30617
- r"""<p>题目信息输出配置,当key对应为true表示开启配置开关。</p><p>当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;<br>当key为TrueAnswer value为true 表示输出每道题的正确答案 ;<br>当key为StepCorrection value为true表示启用步骤级批改;</p><p>当key为DisableAnswerAnalysis value为true表示不输出答案解析;</p><p>当key为OutputSubQuestionsAndCoords value为true表示输出子题干和插图坐标;</p><p>当key为UseCoordAssist value为true表示使用精调坐标辅助模型,false表示默认模型坐标(性能更优);</p><p>参数格式:{&quot;KnowledgePoints&quot;:true,&quot;TrueAnswer&quot;:true}</p>
30713
+ r"""<p>题目信息输出配置,当key对应为true表示开启配置开关。<br>当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;<br>当key为TrueAnswer value为true 表示输出每道题的正确答案 ;<br>当key为StepCorrection value为true表示启用步骤级批改;<br>当key为DisableAnswerAnalysis value为true表示不输出答案解析;<br>当key为OutputSubQuestionsAndCoords value为true表示输出子题干和插图坐标;<br>当key为UseCoordAssist value为true表示使用精调坐标辅助模型,false表示默认模型坐标(性能更优);</p>
30618
30714
  :rtype: str
30619
30715
  """
30620
30716
  return self._QuestionConfigMap
@@ -30625,7 +30721,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
30625
30721
 
30626
30722
  @property
30627
30723
  def ReferenceAnswer(self):
30628
- r"""<p>仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中</p>
30724
+ r"""<p>【废除字段】<br>仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中</p>
30629
30725
  :rtype: str
30630
30726
  """
30631
30727
  return self._ReferenceAnswer
@@ -30636,7 +30732,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
30636
30732
 
30637
30733
  @property
30638
30734
  def ImageBase64List(self):
30639
- r"""<p>批量base64图片入口,每个base64参考单独ImageBase64参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N来输入答题试卷和含正确解析试卷,最多两张</li><li>当AssistMarkType不为2时,ImageBase64List.N/ImageUrlList.N图片会执行拼接逻辑(解决单题跨页场景)</li></ol>
30735
+ r"""<p>批量base64图片入口,每个base64参考单独ImageBase64参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N来输入答题试卷和含正确解析试卷,最多两张</li><li>当AssistMarkType不为2时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
30640
30736
  :rtype: list of str
30641
30737
  """
30642
30738
  return self._ImageBase64List
@@ -30647,7 +30743,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
30647
30743
 
30648
30744
  @property
30649
30745
  def ImageUrlList(self):
30650
- r"""<p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N 来输入答题试卷和含正确解析试卷,最多两张</li><li>当AssistMarkType不为2时,ImageBase64List.N/ImageUrlList.N图片会执行拼接逻辑(解决单题跨页场景)</li></ol>
30746
+ r"""<p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N 来输入答题试卷和含正确解析试卷,最多两张</li><li>当AssistMarkType不为2时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
30651
30747
  :rtype: list of str
30652
30748
  """
30653
30749
  return self._ImageUrlList
@@ -30678,6 +30774,17 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
30678
30774
  def AnswerAssistMap(self, AnswerAssistMap):
30679
30775
  self._AnswerAssistMap = AnswerAssistMap
30680
30776
 
30777
+ @property
30778
+ def EnableImageCrop(self):
30779
+ r"""<p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-&gt; ReturnImageUr中l,默认为false不开启<br>示例值:false</p>
30780
+ :rtype: bool
30781
+ """
30782
+ return self._EnableImageCrop
30783
+
30784
+ @EnableImageCrop.setter
30785
+ def EnableImageCrop(self, EnableImageCrop):
30786
+ self._EnableImageCrop = EnableImageCrop
30787
+
30681
30788
 
30682
30789
  def _deserialize(self, params):
30683
30790
  self._ImageBase64 = params.get("ImageBase64")
@@ -30691,6 +30798,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
30691
30798
  self._ImageUrlList = params.get("ImageUrlList")
30692
30799
  self._AssistMarkType = params.get("AssistMarkType")
30693
30800
  self._AnswerAssistMap = params.get("AnswerAssistMap")
30801
+ self._EnableImageCrop = params.get("EnableImageCrop")
30694
30802
  memeber_set = set(params.keys())
30695
30803
  for name, value in vars(self).items():
30696
30804
  property_name = name[1:]
@@ -30714,7 +30822,7 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
30714
30822
  :type QuestionInfo: list of QuestionInfo
30715
30823
  :param _QuestionCount: <p>题目切题数量,作为计费题目数总量</p>
30716
30824
  :type QuestionCount: str
30717
- :param _OriginalImageUrl: <p>客户图片url</p>
30825
+ :param _OriginalImageUrl: <p>废弃字段</p>
30718
30826
  :type OriginalImageUrl: str
30719
30827
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30720
30828
  :type RequestId: str
@@ -30760,7 +30868,7 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
30760
30868
 
30761
30869
  @property
30762
30870
  def OriginalImageUrl(self):
30763
- r"""<p>客户图片url</p>
30871
+ r"""<p>废弃字段</p>
30764
30872
  :rtype: str
30765
30873
  """
30766
30874
  return self._OriginalImageUrl
@@ -30807,10 +30915,13 @@ class SubmitQuestionSplitJobRequest(AbstractModel):
30807
30915
  :type ImageBase64List: list of str
30808
30916
  :param _ModelType: <p>选择切题模型</p><p>枚举值:</p><ul><li>youtu_crop: 轻量化切题模型,运算速度更快,适合常规切题</li><li>youtu_crop_pro: 属于切题精调大模型,针对双栏、跨栏等复杂版式识别精度大幅提升,但推理耗时更长</li></ul><p>默认值:youtu_crop</p>
30809
30917
  :type ModelType: str
30918
+ :param _EnableImageCrop: <p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-&gt; ReturnImageUr中l,默认为false不开启</p>
30919
+ :type EnableImageCrop: bool
30810
30920
  """
30811
30921
  self._ImageUrlList = None
30812
30922
  self._ImageBase64List = None
30813
30923
  self._ModelType = None
30924
+ self._EnableImageCrop = None
30814
30925
 
30815
30926
  @property
30816
30927
  def ImageUrlList(self):
@@ -30845,11 +30956,23 @@ class SubmitQuestionSplitJobRequest(AbstractModel):
30845
30956
  def ModelType(self, ModelType):
30846
30957
  self._ModelType = ModelType
30847
30958
 
30959
+ @property
30960
+ def EnableImageCrop(self):
30961
+ r"""<p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-&gt; ReturnImageUr中l,默认为false不开启</p>
30962
+ :rtype: bool
30963
+ """
30964
+ return self._EnableImageCrop
30965
+
30966
+ @EnableImageCrop.setter
30967
+ def EnableImageCrop(self, EnableImageCrop):
30968
+ self._EnableImageCrop = EnableImageCrop
30969
+
30848
30970
 
30849
30971
  def _deserialize(self, params):
30850
30972
  self._ImageUrlList = params.get("ImageUrlList")
30851
30973
  self._ImageBase64List = params.get("ImageBase64List")
30852
30974
  self._ModelType = params.get("ModelType")
30975
+ self._EnableImageCrop = params.get("EnableImageCrop")
30853
30976
  memeber_set = set(params.keys())
30854
30977
  for name, value in vars(self).items():
30855
30978
  property_name = name[1:]
@@ -326,7 +326,7 @@ class OcrClient(AbstractClient):
326
326
  def DescribeMultimodalDocParseJob(self, request):
327
327
  r"""用于查询异步多模态文档解析任务的执行状态与结果,任务执行成功时返回解析结果包的下载地址,任务执行失败时返回对应错误信息。需要 SubmitMultimodalDocParseJob(创建任务)、DescribeMultimodalDocParseJob(查询任务)两个接口配套使用,计费发生在提交任务后。
328
328
 
329
- 创建任务接口文档地址:https://cloud.tencent.com/document/product/1024/953218
329
+ 创建任务接口文档地址:https://cloud.tencent.com/document/product/866/139312
330
330
 
331
331
  默认接口请求频率限制:5 页并发(注:可同时解析5页,且同步和异步接口共享并发资源,支持增购并发)。
332
332
 
@@ -1026,7 +1026,9 @@ class OcrClient(AbstractClient):
1026
1026
 
1027
1027
 
1028
1028
  def ImageEnhancement(self, request):
1029
- r"""文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
1029
+ r"""产品规划
1030
+
1031
+ 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
1030
1032
 
1031
1033
  默认接口请求频率限制:10次/秒。
1032
1034
 
@@ -1202,7 +1204,7 @@ class OcrClient(AbstractClient):
1202
1204
  def MultimodalDocParse(self, request):
1203
1205
  r"""本接口支持解析多种类型的文档文件(PDF、Word、PPT、Excel、Markdown、TXT、图片、WPS),返回解析后的结果文件下载地址(zip压缩包,包含markdown、json和图片)。
1204
1206
 
1205
- 支持的文件大小:PDF/Word/PPT支持150M且300页以内、Excel支持10M以内、TXT支持10M以内、图片文件支持70M以内。
1207
+ 支持的文件大小:PDF/Word/PPT支持150M且300页以内、Excel支持10M以内、TXT支持10M以内、图片文件支持30M以内。
1206
1208
 
1207
1209
  默认接口请求频率限制:5 页并发(注:可同时解析5页,且同步和异步接口共享并发资源,支持增购并发)。
1208
1210
 
@@ -1354,9 +1356,9 @@ class OcrClient(AbstractClient):
1354
1356
 
1355
1357
 
1356
1358
  def QuestionSplitOCR(self, request):
1357
- r"""试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置。新接入客户请注意UseNewModel选择
1359
+ r"""试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,新接入客户请注意UseNewModel选择。如果涉及多页试卷录入和单题跨页/跨栏问题可以选择使用[异步试卷切题(提交任务)](https://cloud.tencent.com/document/product/866/137427)
1358
1360
 
1359
- 默认接口请求频率限制:2次/秒。
1361
+ 默认接口请求频率限制:5次/秒。
1360
1362
 
1361
1363
  :param request: Request instance for QuestionSplitOCR.
1362
1364
  :type request: :class:`tencentcloud.ocr.v20181119.models.QuestionSplitOCRRequest`
@@ -2112,7 +2114,7 @@ class OcrClient(AbstractClient):
2112
2114
  def SubmitMultimodalDocParseJob(self, request):
2113
2115
  r"""本接口为异步多模态文档解析的任务提交接口,支持解析多种类型的文档文件(PDF、Word、PPT、Excel、Markdown、TXT、图片、WPS),服务端异步执行解析任务,提交后返回任务唯一 ID,可通过「异步多模态文档解析(查询任务)」接口获取最终解析结果。需要 SubmitMultimodalDocParseJob(创建任务)、DescribeMultimodalDocParseJob(查询任务)两个接口配套使用,计费发生在提交任务后。
2114
2116
 
2115
- 查询任务接口文档地址:https://cloud.tencent.com/document/product/1024/953219
2117
+ 查询任务接口文档地址:https://cloud.tencent.com/document/product/866/139313
2116
2118
 
2117
2119
  默认接口请求频率限制:5 页并发(注:可同时解析5页,且同步和异步接口共享并发资源,支持增购并发)。
2118
2120
 
@@ -270,7 +270,7 @@ class OcrClient(AbstractClient):
270
270
  """
271
271
  用于查询异步多模态文档解析任务的执行状态与结果,任务执行成功时返回解析结果包的下载地址,任务执行失败时返回对应错误信息。需要 SubmitMultimodalDocParseJob(创建任务)、DescribeMultimodalDocParseJob(查询任务)两个接口配套使用,计费发生在提交任务后。
272
272
 
273
- 创建任务接口文档地址:https://cloud.tencent.com/document/product/1024/953218
273
+ 创建任务接口文档地址:https://cloud.tencent.com/document/product/866/139312
274
274
 
275
275
  默认接口请求频率限制:5 页并发(注:可同时解析5页,且同步和异步接口共享并发资源,支持增购并发)。
276
276
  """
@@ -865,6 +865,8 @@ class OcrClient(AbstractClient):
865
865
  opts: Dict = None,
866
866
  ) -> models.ImageEnhancementResponse:
867
867
  """
868
+ 产品规划
869
+
868
870
  文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
869
871
 
870
872
  默认接口请求频率限制:10次/秒。
@@ -1006,7 +1008,7 @@ class OcrClient(AbstractClient):
1006
1008
  """
1007
1009
  本接口支持解析多种类型的文档文件(PDF、Word、PPT、Excel、Markdown、TXT、图片、WPS),返回解析后的结果文件下载地址(zip压缩包,包含markdown、json和图片)。
1008
1010
 
1009
- 支持的文件大小:PDF/Word/PPT支持150M且300页以内、Excel支持10M以内、TXT支持10M以内、图片文件支持70M以内。
1011
+ 支持的文件大小:PDF/Word/PPT支持150M且300页以内、Excel支持10M以内、TXT支持10M以内、图片文件支持30M以内。
1010
1012
 
1011
1013
  默认接口请求频率限制:5 页并发(注:可同时解析5页,且同步和异步接口共享并发资源,支持增购并发)。
1012
1014
  """
@@ -1128,9 +1130,9 @@ class OcrClient(AbstractClient):
1128
1130
  opts: Dict = None,
1129
1131
  ) -> models.QuestionSplitOCRResponse:
1130
1132
  """
1131
- 试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置。新接入客户请注意UseNewModel选择
1133
+ 试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,新接入客户请注意UseNewModel选择。如果涉及多页试卷录入和单题跨页/跨栏问题可以选择使用[异步试卷切题(提交任务)](https://cloud.tencent.com/document/product/866/137427)
1132
1134
 
1133
- 默认接口请求频率限制:2次/秒。
1135
+ 默认接口请求频率限制:5次/秒。
1134
1136
  """
1135
1137
 
1136
1138
  kwargs = {}
@@ -1786,7 +1788,7 @@ class OcrClient(AbstractClient):
1786
1788
  """
1787
1789
  本接口为异步多模态文档解析的任务提交接口,支持解析多种类型的文档文件(PDF、Word、PPT、Excel、Markdown、TXT、图片、WPS),服务端异步执行解析任务,提交后返回任务唯一 ID,可通过「异步多模态文档解析(查询任务)」接口获取最终解析结果。需要 SubmitMultimodalDocParseJob(创建任务)、DescribeMultimodalDocParseJob(查询任务)两个接口配套使用,计费发生在提交任务后。
1788
1790
 
1789
- 查询任务接口文档地址:https://cloud.tencent.com/document/product/1024/953219
1791
+ 查询任务接口文档地址:https://cloud.tencent.com/document/product/866/139313
1790
1792
 
1791
1793
  默认接口请求频率限制:5 页并发(注:可同时解析5页,且同步和异步接口共享并发资源,支持增购并发)。
1792
1794
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.1.188
3
+ Version: 3.1.190
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.188
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.190
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=40fbHwvV980bj7xXbkUYfvohINrzJqYVd01H8ly9ChE,630
2
+ tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/ocr/v20181119/errorcodes.py,sha256=S5g9j2BB_ybf3WEduIGN-G5AXoJVZaB9mGGpCcFCWgY,7279
5
+ tencentcloud/ocr/v20181119/models.py,sha256=J5_K126DpGfqccHtdA8eHsx9W3WfhhUZ8ydBX_dPKVg,1456463
6
+ tencentcloud/ocr/v20181119/ocr_client.py,sha256=wiwN5SVUqQtPCsMt_Kxhsjg5boddPP9qxNdVQga4gVE,119260
7
+ tencentcloud/ocr/v20181119/ocr_client_async.py,sha256=2f8WBINh5TdHGZNDmyqyZE9EKS5DCM1VOGSKZusmA-k,94320
8
+ tencentcloud_sdk_python_ocr-3.1.190.dist-info/METADATA,sha256=NqqSRB38MhDOiAmWSiW3mJmO8UZUFofp7O2YqONEQjE,1497
9
+ tencentcloud_sdk_python_ocr-3.1.190.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_ocr-3.1.190.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_ocr-3.1.190.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- tencentcloud/__init__.py,sha256=aCV_PQqMp33n_Q7vvkYBlUMUiMk_LBUnpyozS6IGxIc,630
2
- tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/ocr/v20181119/errorcodes.py,sha256=S5g9j2BB_ybf3WEduIGN-G5AXoJVZaB9mGGpCcFCWgY,7279
5
- tencentcloud/ocr/v20181119/models.py,sha256=tm5NJdNtgcJsvtKB3guyaDZhPPEndMNg_ej8MJkR5Ko,1447531
6
- tencentcloud/ocr/v20181119/ocr_client.py,sha256=5XdNRAywUIxcAw7fUWmxYoOjxAODbLMXC3HN5A-I06w,119068
7
- tencentcloud/ocr/v20181119/ocr_client_async.py,sha256=caDNJYXHd6ucQaHNxrW7pScWpIFwdnmEGqcmdmb9erw,94128
8
- tencentcloud_sdk_python_ocr-3.1.188.dist-info/METADATA,sha256=VkIAEM0Ufe_Th3O8czc0QMjTlbkBZg9lBbBgDIHyT0I,1497
9
- tencentcloud_sdk_python_ocr-3.1.188.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_ocr-3.1.188.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_ocr-3.1.188.dist-info/RECORD,,