tencentcloud-sdk-python-ocr 3.1.76__tar.gz → 3.1.82__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/setup.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/ocr/v20181119/models.py +64 -76
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ocr-3.1.82/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ocr-3.1.76/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/README.rst +0 -0
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/ocr/v20181119/ocr_client_async.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.76 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.82
|
|
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.82
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ocr',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.82,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ocr SDK for Python',
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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.82
|
|
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.82
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.82
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.76
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|