tencentcloud-sdk-python-ocr 3.1.76__py2.py3-none-any.whl → 3.1.86__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 +1 -1
- tencentcloud/ocr/v20181119/models.py +96 -108
- {tencentcloud_sdk_python_ocr-3.1.76.dist-info → tencentcloud_sdk_python_ocr-3.1.86.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_ocr-3.1.76.dist-info → tencentcloud_sdk_python_ocr-3.1.86.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_ocr-3.1.76.dist-info → tencentcloud_sdk_python_ocr-3.1.86.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_ocr-3.1.76.dist-info → tencentcloud_sdk_python_ocr-3.1.86.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -4486,9 +4486,9 @@ class Coord(AbstractModel):
|
|
|
4486
4486
|
|
|
4487
4487
|
def __init__(self):
|
|
4488
4488
|
r"""
|
|
4489
|
-
:param _X:
|
|
4489
|
+
:param _X: <p>横坐标。</p>
|
|
4490
4490
|
:type X: int
|
|
4491
|
-
:param _Y:
|
|
4491
|
+
:param _Y: <p>纵坐标。</p>
|
|
4492
4492
|
:type Y: int
|
|
4493
4493
|
"""
|
|
4494
4494
|
self._X = None
|
|
@@ -4496,7 +4496,7 @@ class Coord(AbstractModel):
|
|
|
4496
4496
|
|
|
4497
4497
|
@property
|
|
4498
4498
|
def X(self):
|
|
4499
|
-
r"""
|
|
4499
|
+
r"""<p>横坐标。</p>
|
|
4500
4500
|
:rtype: int
|
|
4501
4501
|
"""
|
|
4502
4502
|
return self._X
|
|
@@ -4507,7 +4507,7 @@ class Coord(AbstractModel):
|
|
|
4507
4507
|
|
|
4508
4508
|
@property
|
|
4509
4509
|
def Y(self):
|
|
4510
|
-
r"""
|
|
4510
|
+
r"""<p>纵坐标。</p>
|
|
4511
4511
|
:rtype: int
|
|
4512
4512
|
"""
|
|
4513
4513
|
return self._Y
|
|
@@ -5604,9 +5604,9 @@ class DetectedWords(AbstractModel):
|
|
|
5604
5604
|
|
|
5605
5605
|
def __init__(self):
|
|
5606
5606
|
r"""
|
|
5607
|
-
:param _Confidence:
|
|
5607
|
+
:param _Confidence: <p>置信度 0 ~100。</p>
|
|
5608
5608
|
:type Confidence: int
|
|
5609
|
-
:param _Character:
|
|
5609
|
+
:param _Character: <p>候选字Character。</p>
|
|
5610
5610
|
:type Character: str
|
|
5611
5611
|
"""
|
|
5612
5612
|
self._Confidence = None
|
|
@@ -5614,7 +5614,7 @@ class DetectedWords(AbstractModel):
|
|
|
5614
5614
|
|
|
5615
5615
|
@property
|
|
5616
5616
|
def Confidence(self):
|
|
5617
|
-
r"""
|
|
5617
|
+
r"""<p>置信度 0 ~100。</p>
|
|
5618
5618
|
:rtype: int
|
|
5619
5619
|
"""
|
|
5620
5620
|
return self._Confidence
|
|
@@ -5625,7 +5625,7 @@ class DetectedWords(AbstractModel):
|
|
|
5625
5625
|
|
|
5626
5626
|
@property
|
|
5627
5627
|
def Character(self):
|
|
5628
|
-
r"""
|
|
5628
|
+
r"""<p>候选字Character。</p>
|
|
5629
5629
|
:rtype: str
|
|
5630
5630
|
"""
|
|
5631
5631
|
return self._Character
|
|
@@ -14176,15 +14176,13 @@ class HmtResidentPermitOCRRequest(AbstractModel):
|
|
|
14176
14176
|
|
|
14177
14177
|
def __init__(self):
|
|
14178
14178
|
r"""
|
|
14179
|
-
:param _ImageBase64:
|
|
14179
|
+
:param _ImageBase64: <p>图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
14180
14180
|
:type ImageBase64: str
|
|
14181
|
-
:param _ImageUrl:
|
|
14181
|
+
:param _ImageUrl: <p>图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
14182
14182
|
:type ImageUrl: str
|
|
14183
|
-
:param _CardSide: FRONT
|
|
14184
|
-
BACK:无照片的一面(国徽面),
|
|
14185
|
-
该参数如果不填或填错,将为您自动判断正反面。
|
|
14183
|
+
:param _CardSide: <p>FRONT:有照片的一面(人像面),<br>BACK:无照片的一面(国徽面),<br>该参数如果不填或填错,将为您自动判断正反面。</p>
|
|
14186
14184
|
:type CardSide: str
|
|
14187
|
-
:param _CropPortrait:
|
|
14185
|
+
:param _CropPortrait: <p>是否返回头像和位置坐标</p>
|
|
14188
14186
|
:type CropPortrait: bool
|
|
14189
14187
|
"""
|
|
14190
14188
|
self._ImageBase64 = None
|
|
@@ -14194,7 +14192,7 @@ BACK:无照片的一面(国徽面),
|
|
|
14194
14192
|
|
|
14195
14193
|
@property
|
|
14196
14194
|
def ImageBase64(self):
|
|
14197
|
-
r"""
|
|
14195
|
+
r"""<p>图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
14198
14196
|
:rtype: str
|
|
14199
14197
|
"""
|
|
14200
14198
|
return self._ImageBase64
|
|
@@ -14205,7 +14203,7 @@ BACK:无照片的一面(国徽面),
|
|
|
14205
14203
|
|
|
14206
14204
|
@property
|
|
14207
14205
|
def ImageUrl(self):
|
|
14208
|
-
r"""
|
|
14206
|
+
r"""<p>图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
14209
14207
|
:rtype: str
|
|
14210
14208
|
"""
|
|
14211
14209
|
return self._ImageUrl
|
|
@@ -14216,9 +14214,7 @@ BACK:无照片的一面(国徽面),
|
|
|
14216
14214
|
|
|
14217
14215
|
@property
|
|
14218
14216
|
def CardSide(self):
|
|
14219
|
-
r"""FRONT
|
|
14220
|
-
BACK:无照片的一面(国徽面),
|
|
14221
|
-
该参数如果不填或填错,将为您自动判断正反面。
|
|
14217
|
+
r"""<p>FRONT:有照片的一面(人像面),<br>BACK:无照片的一面(国徽面),<br>该参数如果不填或填错,将为您自动判断正反面。</p>
|
|
14222
14218
|
:rtype: str
|
|
14223
14219
|
"""
|
|
14224
14220
|
return self._CardSide
|
|
@@ -14229,7 +14225,7 @@ BACK:无照片的一面(国徽面),
|
|
|
14229
14225
|
|
|
14230
14226
|
@property
|
|
14231
14227
|
def CropPortrait(self):
|
|
14232
|
-
r"""
|
|
14228
|
+
r"""<p>是否返回头像和位置坐标</p>
|
|
14233
14229
|
:rtype: bool
|
|
14234
14230
|
"""
|
|
14235
14231
|
return self._CropPortrait
|
|
@@ -14261,28 +14257,27 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
|
14261
14257
|
|
|
14262
14258
|
def __init__(self):
|
|
14263
14259
|
r"""
|
|
14264
|
-
:param _Name:
|
|
14260
|
+
:param _Name: <p>证件姓名</p>
|
|
14265
14261
|
:type Name: str
|
|
14266
|
-
:param _Sex:
|
|
14262
|
+
:param _Sex: <p>性别</p>
|
|
14267
14263
|
:type Sex: str
|
|
14268
|
-
:param _Birth:
|
|
14264
|
+
:param _Birth: <p>出生日期</p>
|
|
14269
14265
|
:type Birth: str
|
|
14270
|
-
:param _Address:
|
|
14266
|
+
:param _Address: <p>地址</p>
|
|
14271
14267
|
:type Address: str
|
|
14272
|
-
:param _IdCardNo:
|
|
14268
|
+
:param _IdCardNo: <p>身份证号</p>
|
|
14273
14269
|
:type IdCardNo: str
|
|
14274
|
-
:param _CardType: 0
|
|
14275
|
-
1-反面
|
|
14270
|
+
:param _CardType: <p>0-正面<br>1-反面</p>
|
|
14276
14271
|
:type CardType: int
|
|
14277
|
-
:param _ValidDate:
|
|
14272
|
+
:param _ValidDate: <p>证件有效期限</p>
|
|
14278
14273
|
:type ValidDate: str
|
|
14279
|
-
:param _Authority:
|
|
14274
|
+
:param _Authority: <p>签发机关</p>
|
|
14280
14275
|
:type Authority: str
|
|
14281
|
-
:param _VisaNum:
|
|
14276
|
+
:param _VisaNum: <p>签发次数</p>
|
|
14282
14277
|
:type VisaNum: str
|
|
14283
|
-
:param _PassNo:
|
|
14278
|
+
:param _PassNo: <p>通行证号码</p>
|
|
14284
14279
|
:type PassNo: str
|
|
14285
|
-
:param _PortraitImageInfo:
|
|
14280
|
+
:param _PortraitImageInfo: <p>头像和坐标信息</p>
|
|
14286
14281
|
:type PortraitImageInfo: :class:`tencentcloud.ocr.v20181119.models.PortraitImageInfo`
|
|
14287
14282
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14288
14283
|
:type RequestId: str
|
|
@@ -14302,7 +14297,7 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
|
14302
14297
|
|
|
14303
14298
|
@property
|
|
14304
14299
|
def Name(self):
|
|
14305
|
-
r"""
|
|
14300
|
+
r"""<p>证件姓名</p>
|
|
14306
14301
|
:rtype: str
|
|
14307
14302
|
"""
|
|
14308
14303
|
return self._Name
|
|
@@ -14313,7 +14308,7 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
|
14313
14308
|
|
|
14314
14309
|
@property
|
|
14315
14310
|
def Sex(self):
|
|
14316
|
-
r"""
|
|
14311
|
+
r"""<p>性别</p>
|
|
14317
14312
|
:rtype: str
|
|
14318
14313
|
"""
|
|
14319
14314
|
return self._Sex
|
|
@@ -14324,7 +14319,7 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
|
14324
14319
|
|
|
14325
14320
|
@property
|
|
14326
14321
|
def Birth(self):
|
|
14327
|
-
r"""
|
|
14322
|
+
r"""<p>出生日期</p>
|
|
14328
14323
|
:rtype: str
|
|
14329
14324
|
"""
|
|
14330
14325
|
return self._Birth
|
|
@@ -14335,7 +14330,7 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
|
14335
14330
|
|
|
14336
14331
|
@property
|
|
14337
14332
|
def Address(self):
|
|
14338
|
-
r"""
|
|
14333
|
+
r"""<p>地址</p>
|
|
14339
14334
|
:rtype: str
|
|
14340
14335
|
"""
|
|
14341
14336
|
return self._Address
|
|
@@ -14346,7 +14341,7 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
|
14346
14341
|
|
|
14347
14342
|
@property
|
|
14348
14343
|
def IdCardNo(self):
|
|
14349
|
-
r"""
|
|
14344
|
+
r"""<p>身份证号</p>
|
|
14350
14345
|
:rtype: str
|
|
14351
14346
|
"""
|
|
14352
14347
|
return self._IdCardNo
|
|
@@ -14357,8 +14352,7 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
|
14357
14352
|
|
|
14358
14353
|
@property
|
|
14359
14354
|
def CardType(self):
|
|
14360
|
-
r"""0
|
|
14361
|
-
1-反面
|
|
14355
|
+
r"""<p>0-正面<br>1-反面</p>
|
|
14362
14356
|
:rtype: int
|
|
14363
14357
|
"""
|
|
14364
14358
|
return self._CardType
|
|
@@ -14369,7 +14363,7 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
|
14369
14363
|
|
|
14370
14364
|
@property
|
|
14371
14365
|
def ValidDate(self):
|
|
14372
|
-
r"""
|
|
14366
|
+
r"""<p>证件有效期限</p>
|
|
14373
14367
|
:rtype: str
|
|
14374
14368
|
"""
|
|
14375
14369
|
return self._ValidDate
|
|
@@ -14380,7 +14374,7 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
|
14380
14374
|
|
|
14381
14375
|
@property
|
|
14382
14376
|
def Authority(self):
|
|
14383
|
-
r"""
|
|
14377
|
+
r"""<p>签发机关</p>
|
|
14384
14378
|
:rtype: str
|
|
14385
14379
|
"""
|
|
14386
14380
|
return self._Authority
|
|
@@ -14391,7 +14385,7 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
|
14391
14385
|
|
|
14392
14386
|
@property
|
|
14393
14387
|
def VisaNum(self):
|
|
14394
|
-
r"""
|
|
14388
|
+
r"""<p>签发次数</p>
|
|
14395
14389
|
:rtype: str
|
|
14396
14390
|
"""
|
|
14397
14391
|
return self._VisaNum
|
|
@@ -14402,7 +14396,7 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
|
14402
14396
|
|
|
14403
14397
|
@property
|
|
14404
14398
|
def PassNo(self):
|
|
14405
|
-
r"""
|
|
14399
|
+
r"""<p>通行证号码</p>
|
|
14406
14400
|
:rtype: str
|
|
14407
14401
|
"""
|
|
14408
14402
|
return self._PassNo
|
|
@@ -14413,7 +14407,7 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
|
14413
14407
|
|
|
14414
14408
|
@property
|
|
14415
14409
|
def PortraitImageInfo(self):
|
|
14416
|
-
r"""
|
|
14410
|
+
r"""<p>头像和坐标信息</p>
|
|
14417
14411
|
:rtype: :class:`tencentcloud.ocr.v20181119.models.PortraitImageInfo`
|
|
14418
14412
|
"""
|
|
14419
14413
|
return self._PortraitImageInfo
|
|
@@ -16630,13 +16624,13 @@ class ItemCoord(AbstractModel):
|
|
|
16630
16624
|
|
|
16631
16625
|
def __init__(self):
|
|
16632
16626
|
r"""
|
|
16633
|
-
:param _X:
|
|
16627
|
+
:param _X: <p>左上角x。</p>
|
|
16634
16628
|
:type X: int
|
|
16635
|
-
:param _Y:
|
|
16629
|
+
:param _Y: <p>左上角y。</p>
|
|
16636
16630
|
:type Y: int
|
|
16637
|
-
:param _Width:
|
|
16631
|
+
:param _Width: <p>宽width。</p>
|
|
16638
16632
|
:type Width: int
|
|
16639
|
-
:param _Height:
|
|
16633
|
+
:param _Height: <p>高height。</p>
|
|
16640
16634
|
:type Height: int
|
|
16641
16635
|
"""
|
|
16642
16636
|
self._X = None
|
|
@@ -16646,7 +16640,7 @@ class ItemCoord(AbstractModel):
|
|
|
16646
16640
|
|
|
16647
16641
|
@property
|
|
16648
16642
|
def X(self):
|
|
16649
|
-
r"""
|
|
16643
|
+
r"""<p>左上角x。</p>
|
|
16650
16644
|
:rtype: int
|
|
16651
16645
|
"""
|
|
16652
16646
|
return self._X
|
|
@@ -16657,7 +16651,7 @@ class ItemCoord(AbstractModel):
|
|
|
16657
16651
|
|
|
16658
16652
|
@property
|
|
16659
16653
|
def Y(self):
|
|
16660
|
-
r"""
|
|
16654
|
+
r"""<p>左上角y。</p>
|
|
16661
16655
|
:rtype: int
|
|
16662
16656
|
"""
|
|
16663
16657
|
return self._Y
|
|
@@ -16668,7 +16662,7 @@ class ItemCoord(AbstractModel):
|
|
|
16668
16662
|
|
|
16669
16663
|
@property
|
|
16670
16664
|
def Width(self):
|
|
16671
|
-
r"""
|
|
16665
|
+
r"""<p>宽width。</p>
|
|
16672
16666
|
:rtype: int
|
|
16673
16667
|
"""
|
|
16674
16668
|
return self._Width
|
|
@@ -16679,7 +16673,7 @@ class ItemCoord(AbstractModel):
|
|
|
16679
16673
|
|
|
16680
16674
|
@property
|
|
16681
16675
|
def Height(self):
|
|
16682
|
-
r"""
|
|
16676
|
+
r"""<p>高height。</p>
|
|
16683
16677
|
:rtype: int
|
|
16684
16678
|
"""
|
|
16685
16679
|
return self._Height
|
|
@@ -18549,16 +18543,13 @@ class MainlandPermitOCRRequest(AbstractModel):
|
|
|
18549
18543
|
|
|
18550
18544
|
def __init__(self):
|
|
18551
18545
|
r"""
|
|
18552
|
-
:param _ImageBase64:
|
|
18546
|
+
:param _ImageBase64: <p>图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
18553
18547
|
:type ImageBase64: str
|
|
18554
|
-
:param _ImageUrl:
|
|
18548
|
+
:param _ImageUrl: <p>图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
18555
18549
|
:type ImageUrl: str
|
|
18556
|
-
:param _RetProfile:
|
|
18550
|
+
:param _RetProfile: <p>是否返回头像。默认不返回。</p>
|
|
18557
18551
|
:type RetProfile: bool
|
|
18558
|
-
:param _CardSide:
|
|
18559
|
-
FRONT:正面
|
|
18560
|
-
BACK:反面 (仅支持来往内地通行证反面识别,不支持港澳台通行证反面识别)
|
|
18561
|
-
默认为FRONT
|
|
18552
|
+
:param _CardSide: <p>图片正反面<br>FRONT:正面<br>BACK:反面 (仅支持来往内地通行证反面识别,不支持港澳台通行证反面识别)<br>默认为FRONT</p>
|
|
18562
18553
|
:type CardSide: str
|
|
18563
18554
|
"""
|
|
18564
18555
|
self._ImageBase64 = None
|
|
@@ -18568,7 +18559,7 @@ BACK:反面 (仅支持来往内地通行证反面识别,不支持港澳台
|
|
|
18568
18559
|
|
|
18569
18560
|
@property
|
|
18570
18561
|
def ImageBase64(self):
|
|
18571
|
-
r"""
|
|
18562
|
+
r"""<p>图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
18572
18563
|
:rtype: str
|
|
18573
18564
|
"""
|
|
18574
18565
|
return self._ImageBase64
|
|
@@ -18579,7 +18570,7 @@ BACK:反面 (仅支持来往内地通行证反面识别,不支持港澳台
|
|
|
18579
18570
|
|
|
18580
18571
|
@property
|
|
18581
18572
|
def ImageUrl(self):
|
|
18582
|
-
r"""
|
|
18573
|
+
r"""<p>图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
18583
18574
|
:rtype: str
|
|
18584
18575
|
"""
|
|
18585
18576
|
return self._ImageUrl
|
|
@@ -18590,7 +18581,7 @@ BACK:反面 (仅支持来往内地通行证反面识别,不支持港澳台
|
|
|
18590
18581
|
|
|
18591
18582
|
@property
|
|
18592
18583
|
def RetProfile(self):
|
|
18593
|
-
r"""
|
|
18584
|
+
r"""<p>是否返回头像。默认不返回。</p>
|
|
18594
18585
|
:rtype: bool
|
|
18595
18586
|
"""
|
|
18596
18587
|
return self._RetProfile
|
|
@@ -18601,10 +18592,7 @@ BACK:反面 (仅支持来往内地通行证反面识别,不支持港澳台
|
|
|
18601
18592
|
|
|
18602
18593
|
@property
|
|
18603
18594
|
def CardSide(self):
|
|
18604
|
-
r"""
|
|
18605
|
-
FRONT:正面
|
|
18606
|
-
BACK:反面 (仅支持来往内地通行证反面识别,不支持港澳台通行证反面识别)
|
|
18607
|
-
默认为FRONT
|
|
18595
|
+
r"""<p>图片正反面<br>FRONT:正面<br>BACK:反面 (仅支持来往内地通行证反面识别,不支持港澳台通行证反面识别)<br>默认为FRONT</p>
|
|
18608
18596
|
:rtype: str
|
|
18609
18597
|
"""
|
|
18610
18598
|
return self._CardSide
|
|
@@ -18636,31 +18624,31 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18636
18624
|
|
|
18637
18625
|
def __init__(self):
|
|
18638
18626
|
r"""
|
|
18639
|
-
:param _Name:
|
|
18627
|
+
:param _Name: <p>中文姓名</p>
|
|
18640
18628
|
:type Name: str
|
|
18641
|
-
:param _EnglishName:
|
|
18629
|
+
:param _EnglishName: <p>英文姓名</p>
|
|
18642
18630
|
:type EnglishName: str
|
|
18643
|
-
:param _Sex:
|
|
18631
|
+
:param _Sex: <p>性别</p>
|
|
18644
18632
|
:type Sex: str
|
|
18645
|
-
:param _Birthday:
|
|
18633
|
+
:param _Birthday: <p>出生日期</p>
|
|
18646
18634
|
:type Birthday: str
|
|
18647
|
-
:param _IssueAuthority:
|
|
18635
|
+
:param _IssueAuthority: <p>签发机关</p>
|
|
18648
18636
|
:type IssueAuthority: str
|
|
18649
|
-
:param _ValidDate:
|
|
18637
|
+
:param _ValidDate: <p>有效期限</p>
|
|
18650
18638
|
:type ValidDate: str
|
|
18651
|
-
:param _Number:
|
|
18639
|
+
:param _Number: <p>证件号</p>
|
|
18652
18640
|
:type Number: str
|
|
18653
|
-
:param _IssueAddress:
|
|
18641
|
+
:param _IssueAddress: <p>签发地点</p>
|
|
18654
18642
|
:type IssueAddress: str
|
|
18655
|
-
:param _IssueNumber:
|
|
18643
|
+
:param _IssueNumber: <p>签发次数</p>
|
|
18656
18644
|
:type IssueNumber: str
|
|
18657
|
-
:param _Type:
|
|
18645
|
+
:param _Type: <p>证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证、往来港澳通行证。</p>
|
|
18658
18646
|
:type Type: str
|
|
18659
|
-
:param _Profile: RetProfile为True时返回头像字段, Base64
|
|
18647
|
+
:param _Profile: <p>RetProfile为True时返回头像字段, Base64编码</p>
|
|
18660
18648
|
:type Profile: str
|
|
18661
|
-
:param _Nationality:
|
|
18649
|
+
:param _Nationality: <p>国籍</p>
|
|
18662
18650
|
:type Nationality: str
|
|
18663
|
-
:param _MainlandTravelPermitBackInfos:
|
|
18651
|
+
:param _MainlandTravelPermitBackInfos: <p>背面字段信息</p>
|
|
18664
18652
|
:type MainlandTravelPermitBackInfos: :class:`tencentcloud.ocr.v20181119.models.MainlandTravelPermitBackInfos`
|
|
18665
18653
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18666
18654
|
:type RequestId: str
|
|
@@ -18682,7 +18670,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18682
18670
|
|
|
18683
18671
|
@property
|
|
18684
18672
|
def Name(self):
|
|
18685
|
-
r"""
|
|
18673
|
+
r"""<p>中文姓名</p>
|
|
18686
18674
|
:rtype: str
|
|
18687
18675
|
"""
|
|
18688
18676
|
return self._Name
|
|
@@ -18693,7 +18681,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18693
18681
|
|
|
18694
18682
|
@property
|
|
18695
18683
|
def EnglishName(self):
|
|
18696
|
-
r"""
|
|
18684
|
+
r"""<p>英文姓名</p>
|
|
18697
18685
|
:rtype: str
|
|
18698
18686
|
"""
|
|
18699
18687
|
return self._EnglishName
|
|
@@ -18704,7 +18692,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18704
18692
|
|
|
18705
18693
|
@property
|
|
18706
18694
|
def Sex(self):
|
|
18707
|
-
r"""
|
|
18695
|
+
r"""<p>性别</p>
|
|
18708
18696
|
:rtype: str
|
|
18709
18697
|
"""
|
|
18710
18698
|
return self._Sex
|
|
@@ -18715,7 +18703,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18715
18703
|
|
|
18716
18704
|
@property
|
|
18717
18705
|
def Birthday(self):
|
|
18718
|
-
r"""
|
|
18706
|
+
r"""<p>出生日期</p>
|
|
18719
18707
|
:rtype: str
|
|
18720
18708
|
"""
|
|
18721
18709
|
return self._Birthday
|
|
@@ -18726,7 +18714,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18726
18714
|
|
|
18727
18715
|
@property
|
|
18728
18716
|
def IssueAuthority(self):
|
|
18729
|
-
r"""
|
|
18717
|
+
r"""<p>签发机关</p>
|
|
18730
18718
|
:rtype: str
|
|
18731
18719
|
"""
|
|
18732
18720
|
return self._IssueAuthority
|
|
@@ -18737,7 +18725,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18737
18725
|
|
|
18738
18726
|
@property
|
|
18739
18727
|
def ValidDate(self):
|
|
18740
|
-
r"""
|
|
18728
|
+
r"""<p>有效期限</p>
|
|
18741
18729
|
:rtype: str
|
|
18742
18730
|
"""
|
|
18743
18731
|
return self._ValidDate
|
|
@@ -18748,7 +18736,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18748
18736
|
|
|
18749
18737
|
@property
|
|
18750
18738
|
def Number(self):
|
|
18751
|
-
r"""
|
|
18739
|
+
r"""<p>证件号</p>
|
|
18752
18740
|
:rtype: str
|
|
18753
18741
|
"""
|
|
18754
18742
|
return self._Number
|
|
@@ -18759,7 +18747,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18759
18747
|
|
|
18760
18748
|
@property
|
|
18761
18749
|
def IssueAddress(self):
|
|
18762
|
-
r"""
|
|
18750
|
+
r"""<p>签发地点</p>
|
|
18763
18751
|
:rtype: str
|
|
18764
18752
|
"""
|
|
18765
18753
|
return self._IssueAddress
|
|
@@ -18770,7 +18758,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18770
18758
|
|
|
18771
18759
|
@property
|
|
18772
18760
|
def IssueNumber(self):
|
|
18773
|
-
r"""
|
|
18761
|
+
r"""<p>签发次数</p>
|
|
18774
18762
|
:rtype: str
|
|
18775
18763
|
"""
|
|
18776
18764
|
return self._IssueNumber
|
|
@@ -18781,7 +18769,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18781
18769
|
|
|
18782
18770
|
@property
|
|
18783
18771
|
def Type(self):
|
|
18784
|
-
r"""
|
|
18772
|
+
r"""<p>证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证、往来港澳通行证。</p>
|
|
18785
18773
|
:rtype: str
|
|
18786
18774
|
"""
|
|
18787
18775
|
return self._Type
|
|
@@ -18792,7 +18780,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18792
18780
|
|
|
18793
18781
|
@property
|
|
18794
18782
|
def Profile(self):
|
|
18795
|
-
r"""RetProfile为True时返回头像字段, Base64
|
|
18783
|
+
r"""<p>RetProfile为True时返回头像字段, Base64编码</p>
|
|
18796
18784
|
:rtype: str
|
|
18797
18785
|
"""
|
|
18798
18786
|
return self._Profile
|
|
@@ -18803,7 +18791,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18803
18791
|
|
|
18804
18792
|
@property
|
|
18805
18793
|
def Nationality(self):
|
|
18806
|
-
r"""
|
|
18794
|
+
r"""<p>国籍</p>
|
|
18807
18795
|
:rtype: str
|
|
18808
18796
|
"""
|
|
18809
18797
|
return self._Nationality
|
|
@@ -18814,7 +18802,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
18814
18802
|
|
|
18815
18803
|
@property
|
|
18816
18804
|
def MainlandTravelPermitBackInfos(self):
|
|
18817
|
-
r"""
|
|
18805
|
+
r"""<p>背面字段信息</p>
|
|
18818
18806
|
:rtype: :class:`tencentcloud.ocr.v20181119.models.MainlandTravelPermitBackInfos`
|
|
18819
18807
|
"""
|
|
18820
18808
|
return self._MainlandTravelPermitBackInfos
|
|
@@ -34242,22 +34230,22 @@ class TextDetection(AbstractModel):
|
|
|
34242
34230
|
|
|
34243
34231
|
def __init__(self):
|
|
34244
34232
|
r"""
|
|
34245
|
-
:param _DetectedText: <p
|
|
34233
|
+
:param _DetectedText: <p>识别出的文本行内容。</p>
|
|
34246
34234
|
:type DetectedText: str
|
|
34247
|
-
:param _Confidence: <p>置信度 0 ~100
|
|
34235
|
+
:param _Confidence: <p>置信度 0 ~100。</p>
|
|
34248
34236
|
:type Confidence: int
|
|
34249
|
-
:param _Polygon: <p
|
|
34237
|
+
:param _Polygon: <p>文本行坐标,以四个顶点坐标表示。</p>
|
|
34250
34238
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
34251
34239
|
:type Polygon: list of Coord
|
|
34252
|
-
:param _AdvancedInfo: <p
|
|
34240
|
+
:param _AdvancedInfo: <p>此字段为扩展字段。GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。</p>
|
|
34253
34241
|
:type AdvancedInfo: str
|
|
34254
|
-
:param _ItemPolygon: <p>文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height
|
|
34242
|
+
:param _ItemPolygon: <p>文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)。</p>
|
|
34255
34243
|
:type ItemPolygon: :class:`tencentcloud.ocr.v20181119.models.ItemCoord`
|
|
34256
|
-
:param _Words: <p>识别出来的单字信息包括单字(包括单字Character和单字置信度confidence), 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR
|
|
34244
|
+
:param _Words: <p>识别出来的单字信息包括单字(包括单字Character和单字置信度confidence), 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR。</p>
|
|
34257
34245
|
:type Words: list of DetectedWords
|
|
34258
|
-
:param _WordCoordPoint: <p>单字在原图中的四点坐标, 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR
|
|
34246
|
+
:param _WordCoordPoint: <p>单字在原图中的四点坐标, 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR。</p>
|
|
34259
34247
|
:type WordCoordPoint: list of DetectedWordCoordPoint
|
|
34260
|
-
:param _Language: <p
|
|
34248
|
+
:param _Language: <p>语种信息。注:仅ConfigID配置为MulOCR时支持。zh:中文; en:英文; tha:泰语; may:印尼语; jap:日语; kor:韩语; spa:西班牙语; fre:法语; ger:德语; por:葡萄牙语; vie:越南语; may:马来语; rus:俄语; ita:意大利语; hol:荷兰语; swe:瑞典语; fin:芬兰语; nor:挪威语; hun:匈牙利语; ara:阿拉伯语; hi:印地语。</p>
|
|
34261
34249
|
:type Language: str
|
|
34262
34250
|
"""
|
|
34263
34251
|
self._DetectedText = None
|
|
@@ -34271,7 +34259,7 @@ class TextDetection(AbstractModel):
|
|
|
34271
34259
|
|
|
34272
34260
|
@property
|
|
34273
34261
|
def DetectedText(self):
|
|
34274
|
-
r"""<p
|
|
34262
|
+
r"""<p>识别出的文本行内容。</p>
|
|
34275
34263
|
:rtype: str
|
|
34276
34264
|
"""
|
|
34277
34265
|
return self._DetectedText
|
|
@@ -34282,7 +34270,7 @@ class TextDetection(AbstractModel):
|
|
|
34282
34270
|
|
|
34283
34271
|
@property
|
|
34284
34272
|
def Confidence(self):
|
|
34285
|
-
r"""<p>置信度 0 ~100
|
|
34273
|
+
r"""<p>置信度 0 ~100。</p>
|
|
34286
34274
|
:rtype: int
|
|
34287
34275
|
"""
|
|
34288
34276
|
return self._Confidence
|
|
@@ -34293,7 +34281,7 @@ class TextDetection(AbstractModel):
|
|
|
34293
34281
|
|
|
34294
34282
|
@property
|
|
34295
34283
|
def Polygon(self):
|
|
34296
|
-
r"""<p
|
|
34284
|
+
r"""<p>文本行坐标,以四个顶点坐标表示。</p>
|
|
34297
34285
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
34298
34286
|
:rtype: list of Coord
|
|
34299
34287
|
"""
|
|
@@ -34305,7 +34293,7 @@ class TextDetection(AbstractModel):
|
|
|
34305
34293
|
|
|
34306
34294
|
@property
|
|
34307
34295
|
def AdvancedInfo(self):
|
|
34308
|
-
r"""<p
|
|
34296
|
+
r"""<p>此字段为扩展字段。GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。</p>
|
|
34309
34297
|
:rtype: str
|
|
34310
34298
|
"""
|
|
34311
34299
|
return self._AdvancedInfo
|
|
@@ -34316,7 +34304,7 @@ class TextDetection(AbstractModel):
|
|
|
34316
34304
|
|
|
34317
34305
|
@property
|
|
34318
34306
|
def ItemPolygon(self):
|
|
34319
|
-
r"""<p>文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height
|
|
34307
|
+
r"""<p>文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)。</p>
|
|
34320
34308
|
:rtype: :class:`tencentcloud.ocr.v20181119.models.ItemCoord`
|
|
34321
34309
|
"""
|
|
34322
34310
|
return self._ItemPolygon
|
|
@@ -34327,7 +34315,7 @@ class TextDetection(AbstractModel):
|
|
|
34327
34315
|
|
|
34328
34316
|
@property
|
|
34329
34317
|
def Words(self):
|
|
34330
|
-
r"""<p>识别出来的单字信息包括单字(包括单字Character和单字置信度confidence), 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR
|
|
34318
|
+
r"""<p>识别出来的单字信息包括单字(包括单字Character和单字置信度confidence), 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR。</p>
|
|
34331
34319
|
:rtype: list of DetectedWords
|
|
34332
34320
|
"""
|
|
34333
34321
|
return self._Words
|
|
@@ -34338,7 +34326,7 @@ class TextDetection(AbstractModel):
|
|
|
34338
34326
|
|
|
34339
34327
|
@property
|
|
34340
34328
|
def WordCoordPoint(self):
|
|
34341
|
-
r"""<p>单字在原图中的四点坐标, 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR
|
|
34329
|
+
r"""<p>单字在原图中的四点坐标, 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR。</p>
|
|
34342
34330
|
:rtype: list of DetectedWordCoordPoint
|
|
34343
34331
|
"""
|
|
34344
34332
|
return self._WordCoordPoint
|
|
@@ -34349,7 +34337,7 @@ class TextDetection(AbstractModel):
|
|
|
34349
34337
|
|
|
34350
34338
|
@property
|
|
34351
34339
|
def Language(self):
|
|
34352
|
-
r"""<p
|
|
34340
|
+
r"""<p>语种信息。注:仅ConfigID配置为MulOCR时支持。zh:中文; en:英文; tha:泰语; may:印尼语; jap:日语; kor:韩语; spa:西班牙语; fre:法语; ger:德语; por:葡萄牙语; vie:越南语; may:马来语; rus:俄语; ita:意大利语; hol:荷兰语; swe:瑞典语; fin:芬兰语; nor:挪威语; hun:匈牙利语; ara:阿拉伯语; hi:印地语。</p>
|
|
34353
34341
|
:rtype: str
|
|
34354
34342
|
"""
|
|
34355
34343
|
return self._Language
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.86
|
|
4
4
|
Summary: Tencent Cloud Ocr SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.86
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_ocr-3.1.76.dist-info → tencentcloud_sdk_python_ocr-3.1.86.dist-info}/RECORD
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=hog2d6NTLDdvAhMoi-u29vK8OmngKRNxXT84A2R6B78,629
|
|
2
2
|
tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/ocr/v20181119/errorcodes.py,sha256=tEfs2ziF9fJ0EHVGEECkyVBT5OfMy98yBpkI6-Yyiss,7272
|
|
5
|
-
tencentcloud/ocr/v20181119/models.py,sha256=
|
|
5
|
+
tencentcloud/ocr/v20181119/models.py,sha256=XE7OIVGVbplvHAQ8opqtZQFkDUqnCXvO-YrLdUw2jKg,1459739
|
|
6
6
|
tencentcloud/ocr/v20181119/ocr_client.py,sha256=N4qcH6Hx-77WhHO2OHW2OOZBtVaK0VJGei72XUn1cQw,135534
|
|
7
7
|
tencentcloud/ocr/v20181119/ocr_client_async.py,sha256=mdeoL0N7dKaSeWBdcRQwnnf0MjZZKxh_9P4DAhYSXWg,107645
|
|
8
|
-
tencentcloud_sdk_python_ocr-3.1.
|
|
9
|
-
tencentcloud_sdk_python_ocr-3.1.
|
|
10
|
-
tencentcloud_sdk_python_ocr-3.1.
|
|
11
|
-
tencentcloud_sdk_python_ocr-3.1.
|
|
8
|
+
tencentcloud_sdk_python_ocr-3.1.86.dist-info/METADATA,sha256=tLZNud64tEyHw0TB48gxrZl2Vj5YSIULadNc9vVMpco,1495
|
|
9
|
+
tencentcloud_sdk_python_ocr-3.1.86.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_ocr-3.1.86.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_ocr-3.1.86.dist-info/RECORD,,
|
{tencentcloud_sdk_python_ocr-3.1.76.dist-info → tencentcloud_sdk_python_ocr-3.1.86.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|