tencentcloud-sdk-python-ocr 3.1.188__py2.py3-none-any.whl → 3.1.189__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.189'
@@ -2098,22 +2098,15 @@ class BizLicenseOCRRequest(AbstractModel):
2098
2098
 
2099
2099
  def __init__(self):
2100
2100
  r"""
2101
- :param _ImageBase64: 图片的 Base64 值。
2102
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2103
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
2104
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2101
+ :param _ImageBase64: <p>图片的 Base64 值。<br>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。<br>支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。<br>图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
2105
2102
  :type ImageBase64: str
2106
- :param _ImageUrl: 图片的 Url 地址。
2107
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2108
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
2109
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
2110
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
2103
+ :param _ImageUrl: <p>图片的 Url 地址。<br>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。<br>支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。<br>图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。<br>非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
2111
2104
  :type ImageUrl: str
2112
- :param _EnableCopyWarn: 是否返回告警码,默认为false
2105
+ :param _EnableCopyWarn: <p>是否返回告警码,默认为false</p>
2113
2106
  :type EnableCopyWarn: bool
2114
- :param _EnablePeriodComplete: 是否返回自动拼接的有效期,默认为true
2107
+ :param _EnablePeriodComplete: <p>是否返回自动拼接的有效期,默认为true</p>
2115
2108
  :type EnablePeriodComplete: bool
2116
- :param _EnableBusinessCertificate: 是否支持营业类证件识别(包括营业执照和非营业执照的其他证件),默认为false
2109
+ :param _EnableBusinessCertificate: <p>是否支持营业类证件识别(包括营业执照和非营业执照的其他证件),默认为false</p>
2117
2110
  :type EnableBusinessCertificate: bool
2118
2111
  """
2119
2112
  self._ImageBase64 = None
@@ -2124,10 +2117,7 @@ class BizLicenseOCRRequest(AbstractModel):
2124
2117
 
2125
2118
  @property
2126
2119
  def ImageBase64(self):
2127
- r"""图片的 Base64 值。
2128
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2129
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
2130
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2120
+ r"""<p>图片的 Base64 值。<br>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。<br>支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。<br>图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
2131
2121
  :rtype: str
2132
2122
  """
2133
2123
  return self._ImageBase64
@@ -2138,11 +2128,7 @@ class BizLicenseOCRRequest(AbstractModel):
2138
2128
 
2139
2129
  @property
2140
2130
  def ImageUrl(self):
2141
- r"""图片的 Url 地址。
2142
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2143
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
2144
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
2145
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
2131
+ r"""<p>图片的 Url 地址。<br>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。<br>支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。<br>图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。<br>非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
2146
2132
  :rtype: str
2147
2133
  """
2148
2134
  return self._ImageUrl
@@ -2153,7 +2139,7 @@ class BizLicenseOCRRequest(AbstractModel):
2153
2139
 
2154
2140
  @property
2155
2141
  def EnableCopyWarn(self):
2156
- r"""是否返回告警码,默认为false
2142
+ r"""<p>是否返回告警码,默认为false</p>
2157
2143
  :rtype: bool
2158
2144
  """
2159
2145
  return self._EnableCopyWarn
@@ -2164,7 +2150,7 @@ class BizLicenseOCRRequest(AbstractModel):
2164
2150
 
2165
2151
  @property
2166
2152
  def EnablePeriodComplete(self):
2167
- r"""是否返回自动拼接的有效期,默认为true
2153
+ r"""<p>是否返回自动拼接的有效期,默认为true</p>
2168
2154
  :rtype: bool
2169
2155
  """
2170
2156
  return self._EnablePeriodComplete
@@ -2175,7 +2161,7 @@ class BizLicenseOCRRequest(AbstractModel):
2175
2161
 
2176
2162
  @property
2177
2163
  def EnableBusinessCertificate(self):
2178
- r"""是否支持营业类证件识别(包括营业执照和非营业执照的其他证件),默认为false
2164
+ r"""<p>是否支持营业类证件识别(包括营业执照和非营业执照的其他证件),默认为false</p>
2179
2165
  :rtype: bool
2180
2166
  """
2181
2167
  return self._EnableBusinessCertificate
@@ -2208,59 +2194,53 @@ class BizLicenseOCRResponse(AbstractModel):
2208
2194
 
2209
2195
  def __init__(self):
2210
2196
  r"""
2211
- :param _RegNum: 统一社会信用代码(三合一之前为注册号)
2197
+ :param _RegNum: <p>统一社会信用代码(三合一之前为注册号)</p>
2212
2198
  :type RegNum: str
2213
- :param _Name: 公司名称
2199
+ :param _Name: <p>公司名称</p>
2214
2200
  :type Name: str
2215
- :param _Capital: 注册资本
2201
+ :param _Capital: <p>注册资本</p>
2216
2202
  :type Capital: str
2217
- :param _Person: 法定代表人
2203
+ :param _Person: <p>法定代表人</p>
2218
2204
  :type Person: str
2219
- :param _Address: 地址
2205
+ :param _Address: <p>地址</p>
2220
2206
  :type Address: str
2221
- :param _Business: 经营范围
2207
+ :param _Business: <p>经营范围</p>
2222
2208
  :type Business: str
2223
- :param _Type: 主体类型
2209
+ :param _Type: <p>主体类型</p>
2224
2210
  :type Type: str
2225
- :param _Period: 营业期限
2211
+ :param _Period: <p>营业期限</p>
2226
2212
  :type Period: str
2227
- :param _ComposingForm: 组成形式
2213
+ :param _ComposingForm: <p>组成形式</p>
2228
2214
  :type ComposingForm: str
2229
- :param _SetDate: 成立日期
2215
+ :param _SetDate: <p>成立日期</p>
2230
2216
  :type SetDate: str
2231
- :param _RecognizeWarnCode: Code 告警码列表和释义:
2232
- -9102 黑白复印件告警
2233
- -9104 翻拍件告警
2217
+ :param _RecognizeWarnCode: <p>Code 告警码列表和释义:<br>-9102 黑白复印件告警<br>-9104 翻拍件告警<br>-9108 经营范围识别异常告警(由于文字过小、模糊、反光、遮挡或明显倾斜等情况导致未能正常识别)</p>
2234
2218
  :type RecognizeWarnCode: list of int
2235
- :param _RecognizeWarnMsg: 告警码说明:
2236
- WARN_COPY_CARD 黑白复印件告警
2237
- WARN_RESHOOT_CARD翻拍件告警
2219
+ :param _RecognizeWarnMsg: <p>告警码说明:<br>WARN_COPY_CARD 黑白复印件告警<br>WARN_RESHOOT_CARD翻拍件告警<br>WARN_EARLY_STOP 经营范围识别异常告警</p>
2238
2220
  :type RecognizeWarnMsg: list of str
2239
- :param _IsDuplication: 是否为副本。1为是,-1为不是。
2221
+ :param _IsDuplication: <p>是否为副本。1为是,-1为不是。</p>
2240
2222
  :type IsDuplication: int
2241
- :param _RegistrationDate: 登记日期
2223
+ :param _RegistrationDate: <p>登记日期</p>
2242
2224
  :type RegistrationDate: str
2243
- :param _Angle: 图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度
2244
-
2245
-
2225
+ :param _Angle: <p>图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度</p>
2246
2226
  :type Angle: float
2247
- :param _NationalEmblem: 是否有国徽。false为没有,true为有。
2227
+ :param _NationalEmblem: <p>是否有国徽。false为没有,true为有。</p>
2248
2228
  :type NationalEmblem: bool
2249
- :param _QRCode: 是否有二维码。false为没有,true为有。
2229
+ :param _QRCode: <p>是否有二维码。false为没有,true为有。</p>
2250
2230
  :type QRCode: bool
2251
- :param _Seal: 是否有印章。false为没有,true为有。
2231
+ :param _Seal: <p>是否有印章。false为没有,true为有。</p>
2252
2232
  :type Seal: bool
2253
- :param _Title: 标题
2233
+ :param _Title: <p>标题</p>
2254
2234
  :type Title: str
2255
- :param _SerialNumber: 编号
2235
+ :param _SerialNumber: <p>编号</p>
2256
2236
  :type SerialNumber: str
2257
- :param _RegistrationAuthority: 登记机关
2237
+ :param _RegistrationAuthority: <p>登记机关</p>
2258
2238
  :type RegistrationAuthority: str
2259
- :param _Electronic: 是否是电子营业执照。false为没有,true为有。
2239
+ :param _Electronic: <p>是否是电子营业执照。false为没有,true为有。</p>
2260
2240
  :type Electronic: bool
2261
- :param _BusinessCertificate: 非营业执照的营业类证件识别结果,将以结构化形式呈现。
2241
+ :param _BusinessCertificate: <p>非营业执照的营业类证件识别结果,将以结构化形式呈现。</p>
2262
2242
  :type BusinessCertificate: list of BusinessCertificateInfo
2263
- :param _Important: 重要提示字段
2243
+ :param _Important: <p>重要提示字段</p>
2264
2244
  :type Important: str
2265
2245
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2266
2246
  :type RequestId: str
@@ -2293,7 +2273,7 @@ WARN_RESHOOT_CARD翻拍件告警
2293
2273
 
2294
2274
  @property
2295
2275
  def RegNum(self):
2296
- r"""统一社会信用代码(三合一之前为注册号)
2276
+ r"""<p>统一社会信用代码(三合一之前为注册号)</p>
2297
2277
  :rtype: str
2298
2278
  """
2299
2279
  return self._RegNum
@@ -2304,7 +2284,7 @@ WARN_RESHOOT_CARD翻拍件告警
2304
2284
 
2305
2285
  @property
2306
2286
  def Name(self):
2307
- r"""公司名称
2287
+ r"""<p>公司名称</p>
2308
2288
  :rtype: str
2309
2289
  """
2310
2290
  return self._Name
@@ -2315,7 +2295,7 @@ WARN_RESHOOT_CARD翻拍件告警
2315
2295
 
2316
2296
  @property
2317
2297
  def Capital(self):
2318
- r"""注册资本
2298
+ r"""<p>注册资本</p>
2319
2299
  :rtype: str
2320
2300
  """
2321
2301
  return self._Capital
@@ -2326,7 +2306,7 @@ WARN_RESHOOT_CARD翻拍件告警
2326
2306
 
2327
2307
  @property
2328
2308
  def Person(self):
2329
- r"""法定代表人
2309
+ r"""<p>法定代表人</p>
2330
2310
  :rtype: str
2331
2311
  """
2332
2312
  return self._Person
@@ -2337,7 +2317,7 @@ WARN_RESHOOT_CARD翻拍件告警
2337
2317
 
2338
2318
  @property
2339
2319
  def Address(self):
2340
- r"""地址
2320
+ r"""<p>地址</p>
2341
2321
  :rtype: str
2342
2322
  """
2343
2323
  return self._Address
@@ -2348,7 +2328,7 @@ WARN_RESHOOT_CARD翻拍件告警
2348
2328
 
2349
2329
  @property
2350
2330
  def Business(self):
2351
- r"""经营范围
2331
+ r"""<p>经营范围</p>
2352
2332
  :rtype: str
2353
2333
  """
2354
2334
  return self._Business
@@ -2359,7 +2339,7 @@ WARN_RESHOOT_CARD翻拍件告警
2359
2339
 
2360
2340
  @property
2361
2341
  def Type(self):
2362
- r"""主体类型
2342
+ r"""<p>主体类型</p>
2363
2343
  :rtype: str
2364
2344
  """
2365
2345
  return self._Type
@@ -2370,7 +2350,7 @@ WARN_RESHOOT_CARD翻拍件告警
2370
2350
 
2371
2351
  @property
2372
2352
  def Period(self):
2373
- r"""营业期限
2353
+ r"""<p>营业期限</p>
2374
2354
  :rtype: str
2375
2355
  """
2376
2356
  return self._Period
@@ -2381,7 +2361,7 @@ WARN_RESHOOT_CARD翻拍件告警
2381
2361
 
2382
2362
  @property
2383
2363
  def ComposingForm(self):
2384
- r"""组成形式
2364
+ r"""<p>组成形式</p>
2385
2365
  :rtype: str
2386
2366
  """
2387
2367
  return self._ComposingForm
@@ -2392,7 +2372,7 @@ WARN_RESHOOT_CARD翻拍件告警
2392
2372
 
2393
2373
  @property
2394
2374
  def SetDate(self):
2395
- r"""成立日期
2375
+ r"""<p>成立日期</p>
2396
2376
  :rtype: str
2397
2377
  """
2398
2378
  return self._SetDate
@@ -2403,9 +2383,7 @@ WARN_RESHOOT_CARD翻拍件告警
2403
2383
 
2404
2384
  @property
2405
2385
  def RecognizeWarnCode(self):
2406
- r"""Code 告警码列表和释义:
2407
- -9102 黑白复印件告警
2408
- -9104 翻拍件告警
2386
+ r"""<p>Code 告警码列表和释义:<br>-9102 黑白复印件告警<br>-9104 翻拍件告警<br>-9108 经营范围识别异常告警(由于文字过小、模糊、反光、遮挡或明显倾斜等情况导致未能正常识别)</p>
2409
2387
  :rtype: list of int
2410
2388
  """
2411
2389
  return self._RecognizeWarnCode
@@ -2416,9 +2394,7 @@ WARN_RESHOOT_CARD翻拍件告警
2416
2394
 
2417
2395
  @property
2418
2396
  def RecognizeWarnMsg(self):
2419
- r"""告警码说明:
2420
- WARN_COPY_CARD 黑白复印件告警
2421
- WARN_RESHOOT_CARD翻拍件告警
2397
+ r"""<p>告警码说明:<br>WARN_COPY_CARD 黑白复印件告警<br>WARN_RESHOOT_CARD翻拍件告警<br>WARN_EARLY_STOP 经营范围识别异常告警</p>
2422
2398
  :rtype: list of str
2423
2399
  """
2424
2400
  return self._RecognizeWarnMsg
@@ -2429,7 +2405,7 @@ WARN_RESHOOT_CARD翻拍件告警
2429
2405
 
2430
2406
  @property
2431
2407
  def IsDuplication(self):
2432
- r"""是否为副本。1为是,-1为不是。
2408
+ r"""<p>是否为副本。1为是,-1为不是。</p>
2433
2409
  :rtype: int
2434
2410
  """
2435
2411
  return self._IsDuplication
@@ -2440,7 +2416,7 @@ WARN_RESHOOT_CARD翻拍件告警
2440
2416
 
2441
2417
  @property
2442
2418
  def RegistrationDate(self):
2443
- r"""登记日期
2419
+ r"""<p>登记日期</p>
2444
2420
  :rtype: str
2445
2421
  """
2446
2422
  return self._RegistrationDate
@@ -2451,9 +2427,7 @@ WARN_RESHOOT_CARD翻拍件告警
2451
2427
 
2452
2428
  @property
2453
2429
  def Angle(self):
2454
- r""" 图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度
2455
-
2456
-
2430
+ r"""<p>图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度</p>
2457
2431
  :rtype: float
2458
2432
  """
2459
2433
  return self._Angle
@@ -2464,7 +2438,7 @@ WARN_RESHOOT_CARD翻拍件告警
2464
2438
 
2465
2439
  @property
2466
2440
  def NationalEmblem(self):
2467
- r"""是否有国徽。false为没有,true为有。
2441
+ r"""<p>是否有国徽。false为没有,true为有。</p>
2468
2442
  :rtype: bool
2469
2443
  """
2470
2444
  return self._NationalEmblem
@@ -2475,7 +2449,7 @@ WARN_RESHOOT_CARD翻拍件告警
2475
2449
 
2476
2450
  @property
2477
2451
  def QRCode(self):
2478
- r"""是否有二维码。false为没有,true为有。
2452
+ r"""<p>是否有二维码。false为没有,true为有。</p>
2479
2453
  :rtype: bool
2480
2454
  """
2481
2455
  return self._QRCode
@@ -2486,7 +2460,7 @@ WARN_RESHOOT_CARD翻拍件告警
2486
2460
 
2487
2461
  @property
2488
2462
  def Seal(self):
2489
- r"""是否有印章。false为没有,true为有。
2463
+ r"""<p>是否有印章。false为没有,true为有。</p>
2490
2464
  :rtype: bool
2491
2465
  """
2492
2466
  return self._Seal
@@ -2497,7 +2471,7 @@ WARN_RESHOOT_CARD翻拍件告警
2497
2471
 
2498
2472
  @property
2499
2473
  def Title(self):
2500
- r"""标题
2474
+ r"""<p>标题</p>
2501
2475
  :rtype: str
2502
2476
  """
2503
2477
  return self._Title
@@ -2508,7 +2482,7 @@ WARN_RESHOOT_CARD翻拍件告警
2508
2482
 
2509
2483
  @property
2510
2484
  def SerialNumber(self):
2511
- r"""编号
2485
+ r"""<p>编号</p>
2512
2486
  :rtype: str
2513
2487
  """
2514
2488
  return self._SerialNumber
@@ -2519,7 +2493,7 @@ WARN_RESHOOT_CARD翻拍件告警
2519
2493
 
2520
2494
  @property
2521
2495
  def RegistrationAuthority(self):
2522
- r"""登记机关
2496
+ r"""<p>登记机关</p>
2523
2497
  :rtype: str
2524
2498
  """
2525
2499
  return self._RegistrationAuthority
@@ -2530,7 +2504,7 @@ WARN_RESHOOT_CARD翻拍件告警
2530
2504
 
2531
2505
  @property
2532
2506
  def Electronic(self):
2533
- r"""是否是电子营业执照。false为没有,true为有。
2507
+ r"""<p>是否是电子营业执照。false为没有,true为有。</p>
2534
2508
  :rtype: bool
2535
2509
  """
2536
2510
  return self._Electronic
@@ -2541,7 +2515,7 @@ WARN_RESHOOT_CARD翻拍件告警
2541
2515
 
2542
2516
  @property
2543
2517
  def BusinessCertificate(self):
2544
- r"""非营业执照的营业类证件识别结果,将以结构化形式呈现。
2518
+ r"""<p>非营业执照的营业类证件识别结果,将以结构化形式呈现。</p>
2545
2519
  :rtype: list of BusinessCertificateInfo
2546
2520
  """
2547
2521
  return self._BusinessCertificate
@@ -2552,7 +2526,7 @@ WARN_RESHOOT_CARD翻拍件告警
2552
2526
 
2553
2527
  @property
2554
2528
  def Important(self):
2555
- r"""重要提示字段
2529
+ r"""<p>重要提示字段</p>
2556
2530
  :rtype: str
2557
2531
  """
2558
2532
  return self._Important
@@ -24151,26 +24125,15 @@ class RecognizeGeneralCardWarnRequest(AbstractModel):
24151
24125
 
24152
24126
  def __init__(self):
24153
24127
  r"""
24154
- :param _ImageUrl: 图片链接
24128
+ :param _ImageUrl: <p>图片链接</p>
24155
24129
  :type ImageUrl: str
24156
- :param _ImageBase64: 图片base64
24130
+ :param _ImageBase64: <p>图片base64</p>
24157
24131
  :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:社保卡
24132
+ :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
24133
  :type CardType: str
24171
- :param _IsPdf: 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
24134
+ :param _IsPdf: <p>是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。</p>
24172
24135
  :type IsPdf: bool
24173
- :param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
24136
+ :param _PdfPageNumber: <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。</p>
24174
24137
  :type PdfPageNumber: int
24175
24138
  """
24176
24139
  self._ImageUrl = None
@@ -24181,7 +24144,7 @@ SocialSecurityCard:社保卡
24181
24144
 
24182
24145
  @property
24183
24146
  def ImageUrl(self):
24184
- r"""图片链接
24147
+ r"""<p>图片链接</p>
24185
24148
  :rtype: str
24186
24149
  """
24187
24150
  return self._ImageUrl
@@ -24192,7 +24155,7 @@ SocialSecurityCard:社保卡
24192
24155
 
24193
24156
  @property
24194
24157
  def ImageBase64(self):
24195
- r"""图片base64
24158
+ r"""<p>图片base64</p>
24196
24159
  :rtype: str
24197
24160
  """
24198
24161
  return self._ImageBase64
@@ -24203,18 +24166,7 @@ SocialSecurityCard:社保卡
24203
24166
 
24204
24167
  @property
24205
24168
  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:社保卡
24169
+ 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
24170
  :rtype: str
24219
24171
  """
24220
24172
  return self._CardType
@@ -24225,7 +24177,7 @@ SocialSecurityCard:社保卡
24225
24177
 
24226
24178
  @property
24227
24179
  def IsPdf(self):
24228
- r"""是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
24180
+ r"""<p>是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。</p>
24229
24181
  :rtype: bool
24230
24182
  """
24231
24183
  return self._IsPdf
@@ -24236,7 +24188,7 @@ SocialSecurityCard:社保卡
24236
24188
 
24237
24189
  @property
24238
24190
  def PdfPageNumber(self):
24239
- r"""需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
24191
+ r"""<p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。</p>
24240
24192
  :rtype: int
24241
24193
  """
24242
24194
  return self._PdfPageNumber
@@ -24269,40 +24221,29 @@ class RecognizeGeneralCardWarnResponse(AbstractModel):
24269
24221
 
24270
24222
  def __init__(self):
24271
24223
  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:社保卡
24224
+ :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
24225
  :type CardType: str
24285
- :param _Blur: 模糊信息
24226
+ :param _Blur: <p>模糊信息</p>
24286
24227
  :type Blur: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24287
- :param _BorderIncomplete: 边框不完整信息
24228
+ :param _BorderIncomplete: <p>边框不完整信息</p>
24288
24229
  :type BorderIncomplete: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24289
- :param _Copy: 复印件信息
24230
+ :param _Copy: <p>复印件信息</p>
24290
24231
  :type Copy: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24291
- :param _Ps: ps篡改信息
24232
+ :param _Ps: <p>ps篡改信息</p>
24292
24233
  :type Ps: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24293
- :param _Reflection: 反光信息
24234
+ :param _Reflection: <p>反光信息</p>
24294
24235
  :type Reflection: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24295
- :param _Reprint: 翻拍件信息
24236
+ :param _Reprint: <p>翻拍件信息</p>
24296
24237
  :type Reprint: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24297
- :param _Screenshot: 是否截图
24238
+ :param _Screenshot: <p>是否截图</p>
24298
24239
  :type Screenshot: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24299
- :param _Cover: 是否遮挡
24240
+ :param _Cover: <p>是否遮挡</p>
24300
24241
  :type Cover: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24301
- :param _Overlap: 是否重叠
24242
+ :param _Overlap: <p>是否重叠</p>
24302
24243
  :type Overlap: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24303
- :param _Watermark: 是否水印
24244
+ :param _Watermark: <p>是否水印</p>
24304
24245
  :type Watermark: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24305
- :param _Electron: 是否电子证照(目前仅支持电子身份证、电子营业执照识别
24246
+ :param _Electron: <p>是否电子证照(目前仅支持电子身份证、电子营业执照识别</p>
24306
24247
  :type Electron: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24307
24248
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
24308
24249
  :type RequestId: str
@@ -24323,18 +24264,7 @@ SocialSecurityCard:社保卡
24323
24264
 
24324
24265
  @property
24325
24266
  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:社保卡
24267
+ 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
24268
  :rtype: str
24339
24269
  """
24340
24270
  return self._CardType
@@ -24345,7 +24275,7 @@ SocialSecurityCard:社保卡
24345
24275
 
24346
24276
  @property
24347
24277
  def Blur(self):
24348
- r"""模糊信息
24278
+ r"""<p>模糊信息</p>
24349
24279
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24350
24280
  """
24351
24281
  return self._Blur
@@ -24356,7 +24286,7 @@ SocialSecurityCard:社保卡
24356
24286
 
24357
24287
  @property
24358
24288
  def BorderIncomplete(self):
24359
- r"""边框不完整信息
24289
+ r"""<p>边框不完整信息</p>
24360
24290
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24361
24291
  """
24362
24292
  return self._BorderIncomplete
@@ -24367,7 +24297,7 @@ SocialSecurityCard:社保卡
24367
24297
 
24368
24298
  @property
24369
24299
  def Copy(self):
24370
- r"""复印件信息
24300
+ r"""<p>复印件信息</p>
24371
24301
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24372
24302
  """
24373
24303
  return self._Copy
@@ -24378,7 +24308,7 @@ SocialSecurityCard:社保卡
24378
24308
 
24379
24309
  @property
24380
24310
  def Ps(self):
24381
- r"""ps篡改信息
24311
+ r"""<p>ps篡改信息</p>
24382
24312
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24383
24313
  """
24384
24314
  return self._Ps
@@ -24389,7 +24319,7 @@ SocialSecurityCard:社保卡
24389
24319
 
24390
24320
  @property
24391
24321
  def Reflection(self):
24392
- r"""反光信息
24322
+ r"""<p>反光信息</p>
24393
24323
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24394
24324
  """
24395
24325
  return self._Reflection
@@ -24400,7 +24330,7 @@ SocialSecurityCard:社保卡
24400
24330
 
24401
24331
  @property
24402
24332
  def Reprint(self):
24403
- r"""翻拍件信息
24333
+ r"""<p>翻拍件信息</p>
24404
24334
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24405
24335
  """
24406
24336
  return self._Reprint
@@ -24411,7 +24341,7 @@ SocialSecurityCard:社保卡
24411
24341
 
24412
24342
  @property
24413
24343
  def Screenshot(self):
24414
- r"""是否截图
24344
+ r"""<p>是否截图</p>
24415
24345
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24416
24346
  """
24417
24347
  return self._Screenshot
@@ -24422,7 +24352,7 @@ SocialSecurityCard:社保卡
24422
24352
 
24423
24353
  @property
24424
24354
  def Cover(self):
24425
- r"""是否遮挡
24355
+ r"""<p>是否遮挡</p>
24426
24356
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24427
24357
  """
24428
24358
  return self._Cover
@@ -24433,7 +24363,7 @@ SocialSecurityCard:社保卡
24433
24363
 
24434
24364
  @property
24435
24365
  def Overlap(self):
24436
- r"""是否重叠
24366
+ r"""<p>是否重叠</p>
24437
24367
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24438
24368
  """
24439
24369
  return self._Overlap
@@ -24444,7 +24374,7 @@ SocialSecurityCard:社保卡
24444
24374
 
24445
24375
  @property
24446
24376
  def Watermark(self):
24447
- r"""是否水印
24377
+ r"""<p>是否水印</p>
24448
24378
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24449
24379
  """
24450
24380
  return self._Watermark
@@ -24455,7 +24385,7 @@ SocialSecurityCard:社保卡
24455
24385
 
24456
24386
  @property
24457
24387
  def Electron(self):
24458
- r"""是否电子证照(目前仅支持电子身份证、电子营业执照识别
24388
+ r"""<p>是否电子证照(目前仅支持电子身份证、电子营业执照识别</p>
24459
24389
  :rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
24460
24390
  """
24461
24391
  return self._Electron
@@ -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
 
@@ -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
  """
@@ -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.189
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.189
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=Q6-u3nhGvygaGMM7RD4XR2df3X4wWIC865Sl9FM8g_Y,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=_cIuSf52vZ-C17YtylzmbNEEWAoDCZvJp8vgMD3_UUA,1449427
6
+ tencentcloud/ocr/v20181119/ocr_client.py,sha256=meTyiN1pvPEVtSraLQ-jg2VtQnsY_lroC6reieKOzpk,119088
7
+ tencentcloud/ocr/v20181119/ocr_client_async.py,sha256=NGN_ofNlwYnRL49W8E0cVAENfc_nFIh2wx9qWxJF3i8,94148
8
+ tencentcloud_sdk_python_ocr-3.1.189.dist-info/METADATA,sha256=LXksTZDUjconJiu88eQncyuQUw6JqJU_cR15gPVR01A,1497
9
+ tencentcloud_sdk_python_ocr-3.1.189.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_ocr-3.1.189.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_ocr-3.1.189.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,,