tencentcloud-sdk-python-ocr 3.1.74__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.74 → tencentcloud_sdk_python_ocr-3.1.82}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ocr-3.1.74 → tencentcloud_sdk_python_ocr-3.1.82}/setup.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.74 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.74 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/ocr/v20181119/models.py +170 -106
- {tencentcloud_sdk_python_ocr-3.1.74 → 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.74/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ocr-3.1.74 → tencentcloud_sdk_python_ocr-3.1.82}/README.rst +0 -0
- {tencentcloud_sdk_python_ocr-3.1.74 → tencentcloud_sdk_python_ocr-3.1.82}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ocr-3.1.74 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.74 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.74 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.74 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.74 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud/ocr/v20181119/ocr_client_async.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.74 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.74 → tencentcloud_sdk_python_ocr-3.1.82}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.74 → 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
|
|
@@ -19107,24 +19095,29 @@ class MarkInfo(AbstractModel):
|
|
|
19107
19095
|
|
|
19108
19096
|
def __init__(self):
|
|
19109
19097
|
r"""
|
|
19110
|
-
:param _MarkItemTitle:
|
|
19111
|
-
|
|
19112
|
-
|
|
19098
|
+
:param _MarkItemTitle: <p>题目的题干信息</p>
|
|
19113
19099
|
:type MarkItemTitle: str
|
|
19114
|
-
:param _AnswerInfos:
|
|
19100
|
+
:param _AnswerInfos: <p>批改答案列表(每个小题存在多个答案,比如多个填空区域答案,循序按照从左到右,从上到下排列)</p>
|
|
19115
19101
|
:type AnswerInfos: list of AnswerInfo
|
|
19116
|
-
:param _MarkInfos:
|
|
19102
|
+
:param _MarkInfos: <p>嵌套题目结构(如果有多层嵌套则会返回子题信息,如果没有嵌套题目则返回空)</p>
|
|
19117
19103
|
:type MarkInfos: list of MarkInfo
|
|
19104
|
+
:param _QuestionPositions: <p>题干坐标</p><p>单位:px</p>
|
|
19105
|
+
:type QuestionPositions: list of int
|
|
19106
|
+
:param _QuestionImagePositions: <p>题干插图坐标列表,每个元素包含一张插图的4个角点坐标</p>
|
|
19107
|
+
:type QuestionImagePositions: list of Positions
|
|
19108
|
+
:param _RightAnswer: <p>题目级正确答案(步骤批改时使用,包含完整解题步骤)</p>
|
|
19109
|
+
:type RightAnswer: str
|
|
19118
19110
|
"""
|
|
19119
19111
|
self._MarkItemTitle = None
|
|
19120
19112
|
self._AnswerInfos = None
|
|
19121
19113
|
self._MarkInfos = None
|
|
19114
|
+
self._QuestionPositions = None
|
|
19115
|
+
self._QuestionImagePositions = None
|
|
19116
|
+
self._RightAnswer = None
|
|
19122
19117
|
|
|
19123
19118
|
@property
|
|
19124
19119
|
def MarkItemTitle(self):
|
|
19125
|
-
r"""
|
|
19126
|
-
|
|
19127
|
-
|
|
19120
|
+
r"""<p>题目的题干信息</p>
|
|
19128
19121
|
:rtype: str
|
|
19129
19122
|
"""
|
|
19130
19123
|
return self._MarkItemTitle
|
|
@@ -19135,7 +19128,7 @@ class MarkInfo(AbstractModel):
|
|
|
19135
19128
|
|
|
19136
19129
|
@property
|
|
19137
19130
|
def AnswerInfos(self):
|
|
19138
|
-
r"""
|
|
19131
|
+
r"""<p>批改答案列表(每个小题存在多个答案,比如多个填空区域答案,循序按照从左到右,从上到下排列)</p>
|
|
19139
19132
|
:rtype: list of AnswerInfo
|
|
19140
19133
|
"""
|
|
19141
19134
|
return self._AnswerInfos
|
|
@@ -19146,7 +19139,7 @@ class MarkInfo(AbstractModel):
|
|
|
19146
19139
|
|
|
19147
19140
|
@property
|
|
19148
19141
|
def MarkInfos(self):
|
|
19149
|
-
r"""
|
|
19142
|
+
r"""<p>嵌套题目结构(如果有多层嵌套则会返回子题信息,如果没有嵌套题目则返回空)</p>
|
|
19150
19143
|
:rtype: list of MarkInfo
|
|
19151
19144
|
"""
|
|
19152
19145
|
return self._MarkInfos
|
|
@@ -19155,6 +19148,39 @@ class MarkInfo(AbstractModel):
|
|
|
19155
19148
|
def MarkInfos(self, MarkInfos):
|
|
19156
19149
|
self._MarkInfos = MarkInfos
|
|
19157
19150
|
|
|
19151
|
+
@property
|
|
19152
|
+
def QuestionPositions(self):
|
|
19153
|
+
r"""<p>题干坐标</p><p>单位:px</p>
|
|
19154
|
+
:rtype: list of int
|
|
19155
|
+
"""
|
|
19156
|
+
return self._QuestionPositions
|
|
19157
|
+
|
|
19158
|
+
@QuestionPositions.setter
|
|
19159
|
+
def QuestionPositions(self, QuestionPositions):
|
|
19160
|
+
self._QuestionPositions = QuestionPositions
|
|
19161
|
+
|
|
19162
|
+
@property
|
|
19163
|
+
def QuestionImagePositions(self):
|
|
19164
|
+
r"""<p>题干插图坐标列表,每个元素包含一张插图的4个角点坐标</p>
|
|
19165
|
+
:rtype: list of Positions
|
|
19166
|
+
"""
|
|
19167
|
+
return self._QuestionImagePositions
|
|
19168
|
+
|
|
19169
|
+
@QuestionImagePositions.setter
|
|
19170
|
+
def QuestionImagePositions(self, QuestionImagePositions):
|
|
19171
|
+
self._QuestionImagePositions = QuestionImagePositions
|
|
19172
|
+
|
|
19173
|
+
@property
|
|
19174
|
+
def RightAnswer(self):
|
|
19175
|
+
r"""<p>题目级正确答案(步骤批改时使用,包含完整解题步骤)</p>
|
|
19176
|
+
:rtype: str
|
|
19177
|
+
"""
|
|
19178
|
+
return self._RightAnswer
|
|
19179
|
+
|
|
19180
|
+
@RightAnswer.setter
|
|
19181
|
+
def RightAnswer(self, RightAnswer):
|
|
19182
|
+
self._RightAnswer = RightAnswer
|
|
19183
|
+
|
|
19158
19184
|
|
|
19159
19185
|
def _deserialize(self, params):
|
|
19160
19186
|
self._MarkItemTitle = params.get("MarkItemTitle")
|
|
@@ -19170,6 +19196,14 @@ class MarkInfo(AbstractModel):
|
|
|
19170
19196
|
obj = MarkInfo()
|
|
19171
19197
|
obj._deserialize(item)
|
|
19172
19198
|
self._MarkInfos.append(obj)
|
|
19199
|
+
self._QuestionPositions = params.get("QuestionPositions")
|
|
19200
|
+
if params.get("QuestionImagePositions") is not None:
|
|
19201
|
+
self._QuestionImagePositions = []
|
|
19202
|
+
for item in params.get("QuestionImagePositions"):
|
|
19203
|
+
obj = Positions()
|
|
19204
|
+
obj._deserialize(item)
|
|
19205
|
+
self._QuestionImagePositions.append(obj)
|
|
19206
|
+
self._RightAnswer = params.get("RightAnswer")
|
|
19173
19207
|
memeber_set = set(params.keys())
|
|
19174
19208
|
for name, value in vars(self).items():
|
|
19175
19209
|
property_name = name[1:]
|
|
@@ -32123,20 +32157,24 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32123
32157
|
|
|
32124
32158
|
def __init__(self):
|
|
32125
32159
|
r"""
|
|
32126
|
-
:param _ImageBase64:
|
|
32160
|
+
:param _ImageBase64: <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==</p>
|
|
32127
32161
|
:type ImageBase64: str
|
|
32128
|
-
:param _ImageUrl:
|
|
32162
|
+
:param _ImageUrl: <p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg</p>
|
|
32129
32163
|
:type ImageUrl: str
|
|
32130
|
-
:param _PdfPageNumber:
|
|
32164
|
+
:param _PdfPageNumber: <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。</p>
|
|
32131
32165
|
:type PdfPageNumber: int
|
|
32132
|
-
:param _BoolSingleQuestion:
|
|
32166
|
+
:param _BoolSingleQuestion: <p>表示整张试卷批改需要先切题,默认为false</p>
|
|
32133
32167
|
:type BoolSingleQuestion: bool
|
|
32134
|
-
:param _EnableDeepThink:
|
|
32168
|
+
:param _EnableDeepThink: <p>默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢</p>
|
|
32135
32169
|
:type EnableDeepThink: bool
|
|
32136
|
-
:param _QuestionConfigMap:
|
|
32170
|
+
:param _QuestionConfigMap: <p>题目信息输出配置,当key对应为true表示开启配置开关。</p><p>当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;<br>当key为TrueAnswer value为true 表示输出每道题的正确答案 ;<br>当key为StepCorrection value为true表示启用步骤级批改;</p><p> 设置方式参考 {"KnowledgePoints":true,"TrueAnswer":true}</p><p>参数格式:{"KnowledgePoints":true,"TrueAnswer":true}</p>
|
|
32137
32171
|
:type QuestionConfigMap: str
|
|
32138
|
-
:param _ReferenceAnswer:
|
|
32172
|
+
:param _ReferenceAnswer: <p>仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中</p>
|
|
32139
32173
|
:type ReferenceAnswer: str
|
|
32174
|
+
:param _ImageBase64List: <p>图片/PDF的 Base64 列表值,最多三张。每张图片要求参考ImageBase64 1. 如果ImageBase64List或者ImageUrlList 都没值则取ImageBase64 或者ImageUrl 2.如果ImageBase64List或者ImageUrlList 有一个值,则不取ImageBase64 或者ImageUrl值,优先去list 3.如果ImageBase64List或者ImageUrlList 都有值,则取ImageUrlList</p>
|
|
32175
|
+
:type ImageBase64List: list of str
|
|
32176
|
+
:param _ImageUrlList: <p>图片/PDF的 Url 地址Base64 列表值,最多三张。每张图片要求参考ImageUrl。 图片生效规则同ImageBase64List</p>
|
|
32177
|
+
:type ImageUrlList: list of str
|
|
32140
32178
|
"""
|
|
32141
32179
|
self._ImageBase64 = None
|
|
32142
32180
|
self._ImageUrl = None
|
|
@@ -32145,10 +32183,12 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32145
32183
|
self._EnableDeepThink = None
|
|
32146
32184
|
self._QuestionConfigMap = None
|
|
32147
32185
|
self._ReferenceAnswer = None
|
|
32186
|
+
self._ImageBase64List = None
|
|
32187
|
+
self._ImageUrlList = None
|
|
32148
32188
|
|
|
32149
32189
|
@property
|
|
32150
32190
|
def ImageBase64(self):
|
|
32151
|
-
r"""
|
|
32191
|
+
r"""<p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==</p>
|
|
32152
32192
|
:rtype: str
|
|
32153
32193
|
"""
|
|
32154
32194
|
return self._ImageBase64
|
|
@@ -32159,7 +32199,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32159
32199
|
|
|
32160
32200
|
@property
|
|
32161
32201
|
def ImageUrl(self):
|
|
32162
|
-
r"""
|
|
32202
|
+
r"""<p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg</p>
|
|
32163
32203
|
:rtype: str
|
|
32164
32204
|
"""
|
|
32165
32205
|
return self._ImageUrl
|
|
@@ -32170,7 +32210,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32170
32210
|
|
|
32171
32211
|
@property
|
|
32172
32212
|
def PdfPageNumber(self):
|
|
32173
|
-
r"""
|
|
32213
|
+
r"""<p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。</p>
|
|
32174
32214
|
:rtype: int
|
|
32175
32215
|
"""
|
|
32176
32216
|
return self._PdfPageNumber
|
|
@@ -32183,7 +32223,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32183
32223
|
def BoolSingleQuestion(self):
|
|
32184
32224
|
warnings.warn("parameter `BoolSingleQuestion` is deprecated", DeprecationWarning)
|
|
32185
32225
|
|
|
32186
|
-
r"""
|
|
32226
|
+
r"""<p>表示整张试卷批改需要先切题,默认为false</p>
|
|
32187
32227
|
:rtype: bool
|
|
32188
32228
|
"""
|
|
32189
32229
|
return self._BoolSingleQuestion
|
|
@@ -32198,7 +32238,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32198
32238
|
def EnableDeepThink(self):
|
|
32199
32239
|
warnings.warn("parameter `EnableDeepThink` is deprecated", DeprecationWarning)
|
|
32200
32240
|
|
|
32201
|
-
r"""
|
|
32241
|
+
r"""<p>默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢</p>
|
|
32202
32242
|
:rtype: bool
|
|
32203
32243
|
"""
|
|
32204
32244
|
return self._EnableDeepThink
|
|
@@ -32211,7 +32251,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32211
32251
|
|
|
32212
32252
|
@property
|
|
32213
32253
|
def QuestionConfigMap(self):
|
|
32214
|
-
r"""
|
|
32254
|
+
r"""<p>题目信息输出配置,当key对应为true表示开启配置开关。</p><p>当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;<br>当key为TrueAnswer value为true 表示输出每道题的正确答案 ;<br>当key为StepCorrection value为true表示启用步骤级批改;</p><p> 设置方式参考 {"KnowledgePoints":true,"TrueAnswer":true}</p><p>参数格式:{"KnowledgePoints":true,"TrueAnswer":true}</p>
|
|
32215
32255
|
:rtype: str
|
|
32216
32256
|
"""
|
|
32217
32257
|
return self._QuestionConfigMap
|
|
@@ -32222,7 +32262,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32222
32262
|
|
|
32223
32263
|
@property
|
|
32224
32264
|
def ReferenceAnswer(self):
|
|
32225
|
-
r"""
|
|
32265
|
+
r"""<p>仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中</p>
|
|
32226
32266
|
:rtype: str
|
|
32227
32267
|
"""
|
|
32228
32268
|
return self._ReferenceAnswer
|
|
@@ -32231,6 +32271,28 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32231
32271
|
def ReferenceAnswer(self, ReferenceAnswer):
|
|
32232
32272
|
self._ReferenceAnswer = ReferenceAnswer
|
|
32233
32273
|
|
|
32274
|
+
@property
|
|
32275
|
+
def ImageBase64List(self):
|
|
32276
|
+
r"""<p>图片/PDF的 Base64 列表值,最多三张。每张图片要求参考ImageBase64 1. 如果ImageBase64List或者ImageUrlList 都没值则取ImageBase64 或者ImageUrl 2.如果ImageBase64List或者ImageUrlList 有一个值,则不取ImageBase64 或者ImageUrl值,优先去list 3.如果ImageBase64List或者ImageUrlList 都有值,则取ImageUrlList</p>
|
|
32277
|
+
:rtype: list of str
|
|
32278
|
+
"""
|
|
32279
|
+
return self._ImageBase64List
|
|
32280
|
+
|
|
32281
|
+
@ImageBase64List.setter
|
|
32282
|
+
def ImageBase64List(self, ImageBase64List):
|
|
32283
|
+
self._ImageBase64List = ImageBase64List
|
|
32284
|
+
|
|
32285
|
+
@property
|
|
32286
|
+
def ImageUrlList(self):
|
|
32287
|
+
r"""<p>图片/PDF的 Url 地址Base64 列表值,最多三张。每张图片要求参考ImageUrl。 图片生效规则同ImageBase64List</p>
|
|
32288
|
+
:rtype: list of str
|
|
32289
|
+
"""
|
|
32290
|
+
return self._ImageUrlList
|
|
32291
|
+
|
|
32292
|
+
@ImageUrlList.setter
|
|
32293
|
+
def ImageUrlList(self, ImageUrlList):
|
|
32294
|
+
self._ImageUrlList = ImageUrlList
|
|
32295
|
+
|
|
32234
32296
|
|
|
32235
32297
|
def _deserialize(self, params):
|
|
32236
32298
|
self._ImageBase64 = params.get("ImageBase64")
|
|
@@ -32240,6 +32302,8 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
32240
32302
|
self._EnableDeepThink = params.get("EnableDeepThink")
|
|
32241
32303
|
self._QuestionConfigMap = params.get("QuestionConfigMap")
|
|
32242
32304
|
self._ReferenceAnswer = params.get("ReferenceAnswer")
|
|
32305
|
+
self._ImageBase64List = params.get("ImageBase64List")
|
|
32306
|
+
self._ImageUrlList = params.get("ImageUrlList")
|
|
32243
32307
|
memeber_set = set(params.keys())
|
|
32244
32308
|
for name, value in vars(self).items():
|
|
32245
32309
|
property_name = name[1:]
|
|
@@ -32257,11 +32321,11 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
|
|
|
32257
32321
|
|
|
32258
32322
|
def __init__(self):
|
|
32259
32323
|
r"""
|
|
32260
|
-
:param _JobId:
|
|
32324
|
+
:param _JobId: <p>任务唯一ID。由服务端生成.</p>
|
|
32261
32325
|
:type JobId: str
|
|
32262
|
-
:param _QuestionInfo:
|
|
32326
|
+
:param _QuestionInfo: <p>切题题目边框坐标列表 (如果BoolSingleQuestion为true则返回空)</p>
|
|
32263
32327
|
:type QuestionInfo: list of QuestionInfo
|
|
32264
|
-
:param _QuestionCount:
|
|
32328
|
+
:param _QuestionCount: <p>题目切题数量,作为计费题目数总量</p>
|
|
32265
32329
|
:type QuestionCount: str
|
|
32266
32330
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
32267
32331
|
:type RequestId: str
|
|
@@ -32273,7 +32337,7 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
|
|
|
32273
32337
|
|
|
32274
32338
|
@property
|
|
32275
32339
|
def JobId(self):
|
|
32276
|
-
r"""
|
|
32340
|
+
r"""<p>任务唯一ID。由服务端生成.</p>
|
|
32277
32341
|
:rtype: str
|
|
32278
32342
|
"""
|
|
32279
32343
|
return self._JobId
|
|
@@ -32284,7 +32348,7 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
|
|
|
32284
32348
|
|
|
32285
32349
|
@property
|
|
32286
32350
|
def QuestionInfo(self):
|
|
32287
|
-
r"""
|
|
32351
|
+
r"""<p>切题题目边框坐标列表 (如果BoolSingleQuestion为true则返回空)</p>
|
|
32288
32352
|
:rtype: list of QuestionInfo
|
|
32289
32353
|
"""
|
|
32290
32354
|
return self._QuestionInfo
|
|
@@ -32295,7 +32359,7 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
|
|
|
32295
32359
|
|
|
32296
32360
|
@property
|
|
32297
32361
|
def QuestionCount(self):
|
|
32298
|
-
r"""
|
|
32362
|
+
r"""<p>题目切题数量,作为计费题目数总量</p>
|
|
32299
32363
|
:rtype: str
|
|
32300
32364
|
"""
|
|
32301
32365
|
return self._QuestionCount
|
|
@@ -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.74
|
|
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
|