tencentcloud-sdk-python-ocr 3.1.62__tar.gz → 3.1.73__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.62 → tencentcloud_sdk_python_ocr-3.1.73}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/setup.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/tencentcloud/ocr/v20181119/models.py +550 -66
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/tencentcloud/ocr/v20181119/ocr_client.py +46 -0
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/tencentcloud/ocr/v20181119/ocr_client_async.py +36 -0
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ocr-3.1.73/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ocr-3.1.62/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/README.rst +0 -0
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.62 → tencentcloud_sdk_python_ocr-3.1.73}/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.73
|
|
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.73
|
|
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.73,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ocr SDK for Python',
|
|
@@ -4184,17 +4184,23 @@ class ClassifyStoreNameRequest(AbstractModel):
|
|
|
4184
4184
|
|
|
4185
4185
|
def __init__(self):
|
|
4186
4186
|
r"""
|
|
4187
|
-
:param _ImageBase64:
|
|
4187
|
+
:param _ImageBase64: <p>图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
4188
4188
|
:type ImageBase64: str
|
|
4189
|
-
:param _ImageUrl:
|
|
4189
|
+
:param _ImageUrl: <p>图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
4190
4190
|
:type ImageUrl: str
|
|
4191
|
+
:param _SceneType: <p>是否输出具体场景标签。注:开启后耗时会增加。</p>
|
|
4192
|
+
:type SceneType: bool
|
|
4193
|
+
:param _StoreInfo: <p>输入商户名称,辅助判断具体场景标签。注:仅SceneType配置为true时支持。</p>
|
|
4194
|
+
:type StoreInfo: str
|
|
4191
4195
|
"""
|
|
4192
4196
|
self._ImageBase64 = None
|
|
4193
4197
|
self._ImageUrl = None
|
|
4198
|
+
self._SceneType = None
|
|
4199
|
+
self._StoreInfo = None
|
|
4194
4200
|
|
|
4195
4201
|
@property
|
|
4196
4202
|
def ImageBase64(self):
|
|
4197
|
-
r"""
|
|
4203
|
+
r"""<p>图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
4198
4204
|
:rtype: str
|
|
4199
4205
|
"""
|
|
4200
4206
|
return self._ImageBase64
|
|
@@ -4205,7 +4211,7 @@ class ClassifyStoreNameRequest(AbstractModel):
|
|
|
4205
4211
|
|
|
4206
4212
|
@property
|
|
4207
4213
|
def ImageUrl(self):
|
|
4208
|
-
r"""
|
|
4214
|
+
r"""<p>图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
4209
4215
|
:rtype: str
|
|
4210
4216
|
"""
|
|
4211
4217
|
return self._ImageUrl
|
|
@@ -4214,10 +4220,34 @@ class ClassifyStoreNameRequest(AbstractModel):
|
|
|
4214
4220
|
def ImageUrl(self, ImageUrl):
|
|
4215
4221
|
self._ImageUrl = ImageUrl
|
|
4216
4222
|
|
|
4223
|
+
@property
|
|
4224
|
+
def SceneType(self):
|
|
4225
|
+
r"""<p>是否输出具体场景标签。注:开启后耗时会增加。</p>
|
|
4226
|
+
:rtype: bool
|
|
4227
|
+
"""
|
|
4228
|
+
return self._SceneType
|
|
4229
|
+
|
|
4230
|
+
@SceneType.setter
|
|
4231
|
+
def SceneType(self, SceneType):
|
|
4232
|
+
self._SceneType = SceneType
|
|
4233
|
+
|
|
4234
|
+
@property
|
|
4235
|
+
def StoreInfo(self):
|
|
4236
|
+
r"""<p>输入商户名称,辅助判断具体场景标签。注:仅SceneType配置为true时支持。</p>
|
|
4237
|
+
:rtype: str
|
|
4238
|
+
"""
|
|
4239
|
+
return self._StoreInfo
|
|
4240
|
+
|
|
4241
|
+
@StoreInfo.setter
|
|
4242
|
+
def StoreInfo(self, StoreInfo):
|
|
4243
|
+
self._StoreInfo = StoreInfo
|
|
4244
|
+
|
|
4217
4245
|
|
|
4218
4246
|
def _deserialize(self, params):
|
|
4219
4247
|
self._ImageBase64 = params.get("ImageBase64")
|
|
4220
4248
|
self._ImageUrl = params.get("ImageUrl")
|
|
4249
|
+
self._SceneType = params.get("SceneType")
|
|
4250
|
+
self._StoreInfo = params.get("StoreInfo")
|
|
4221
4251
|
memeber_set = set(params.keys())
|
|
4222
4252
|
for name, value in vars(self).items():
|
|
4223
4253
|
property_name = name[1:]
|
|
@@ -4235,17 +4265,20 @@ class ClassifyStoreNameResponse(AbstractModel):
|
|
|
4235
4265
|
|
|
4236
4266
|
def __init__(self):
|
|
4237
4267
|
r"""
|
|
4238
|
-
:param _StoreLabel:
|
|
4268
|
+
:param _StoreLabel: <p>门头照标签</p>
|
|
4239
4269
|
:type StoreLabel: list of str
|
|
4270
|
+
:param _SceneType: <p>具体场景标签,输出3个最匹配的场景, 注:仅SceneType配置为true时支持。</p>
|
|
4271
|
+
:type SceneType: str
|
|
4240
4272
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4241
4273
|
:type RequestId: str
|
|
4242
4274
|
"""
|
|
4243
4275
|
self._StoreLabel = None
|
|
4276
|
+
self._SceneType = None
|
|
4244
4277
|
self._RequestId = None
|
|
4245
4278
|
|
|
4246
4279
|
@property
|
|
4247
4280
|
def StoreLabel(self):
|
|
4248
|
-
r"""
|
|
4281
|
+
r"""<p>门头照标签</p>
|
|
4249
4282
|
:rtype: list of str
|
|
4250
4283
|
"""
|
|
4251
4284
|
return self._StoreLabel
|
|
@@ -4254,6 +4287,17 @@ class ClassifyStoreNameResponse(AbstractModel):
|
|
|
4254
4287
|
def StoreLabel(self, StoreLabel):
|
|
4255
4288
|
self._StoreLabel = StoreLabel
|
|
4256
4289
|
|
|
4290
|
+
@property
|
|
4291
|
+
def SceneType(self):
|
|
4292
|
+
r"""<p>具体场景标签,输出3个最匹配的场景, 注:仅SceneType配置为true时支持。</p>
|
|
4293
|
+
:rtype: str
|
|
4294
|
+
"""
|
|
4295
|
+
return self._SceneType
|
|
4296
|
+
|
|
4297
|
+
@SceneType.setter
|
|
4298
|
+
def SceneType(self, SceneType):
|
|
4299
|
+
self._SceneType = SceneType
|
|
4300
|
+
|
|
4257
4301
|
@property
|
|
4258
4302
|
def RequestId(self):
|
|
4259
4303
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -4268,6 +4312,7 @@ class ClassifyStoreNameResponse(AbstractModel):
|
|
|
4268
4312
|
|
|
4269
4313
|
def _deserialize(self, params):
|
|
4270
4314
|
self._StoreLabel = params.get("StoreLabel")
|
|
4315
|
+
self._SceneType = params.get("SceneType")
|
|
4271
4316
|
self._RequestId = params.get("RequestId")
|
|
4272
4317
|
|
|
4273
4318
|
|
|
@@ -4485,6 +4530,252 @@ class Coord(AbstractModel):
|
|
|
4485
4530
|
|
|
4486
4531
|
|
|
4487
4532
|
|
|
4533
|
+
class CropEnhanceImageOCRRequest(AbstractModel):
|
|
4534
|
+
r"""CropEnhanceImageOCR请求参数结构体
|
|
4535
|
+
|
|
4536
|
+
"""
|
|
4537
|
+
|
|
4538
|
+
def __init__(self):
|
|
4539
|
+
r"""
|
|
4540
|
+
:param _ImageBase64: <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
4541
|
+
:type ImageBase64: str
|
|
4542
|
+
:param _ImageUrl: <p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
4543
|
+
:type ImageUrl: str
|
|
4544
|
+
:param _PdfPageNumber: <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。</p>
|
|
4545
|
+
:type PdfPageNumber: int
|
|
4546
|
+
:param _Crop: <p>0表示关闭切边<br>1表示开启切边,默认为1</p>
|
|
4547
|
+
:type Crop: int
|
|
4548
|
+
:param _Deskew: <p>0表示关闭弯曲矫正<br>1表示开启弯曲矫正,默认为1</p>
|
|
4549
|
+
:type Deskew: int
|
|
4550
|
+
:param _OnlyPosition: <p>0表示返回处理后的图和坐标,默认为0<br>1表示只返回坐标,不返回图片</p>
|
|
4551
|
+
:type OnlyPosition: int
|
|
4552
|
+
:param _EnhanceType: <p>默认-1</p><ul><li>-1 不处理增强</li><li>1 增亮</li><li>2 增强并锐化</li><li>3 黑白</li><li>4 灰度</li><li>5 去阴影增强</li><li>6 点阵图</li></ul>
|
|
4553
|
+
:type EnhanceType: int
|
|
4554
|
+
:param _AdjustOrientation: <p>0表示不矫正图像方向,默认为0 1表示矫正图像方向</p>
|
|
4555
|
+
:type AdjustOrientation: int
|
|
4556
|
+
"""
|
|
4557
|
+
self._ImageBase64 = None
|
|
4558
|
+
self._ImageUrl = None
|
|
4559
|
+
self._PdfPageNumber = None
|
|
4560
|
+
self._Crop = None
|
|
4561
|
+
self._Deskew = None
|
|
4562
|
+
self._OnlyPosition = None
|
|
4563
|
+
self._EnhanceType = None
|
|
4564
|
+
self._AdjustOrientation = None
|
|
4565
|
+
|
|
4566
|
+
@property
|
|
4567
|
+
def ImageBase64(self):
|
|
4568
|
+
r"""<p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
4569
|
+
:rtype: str
|
|
4570
|
+
"""
|
|
4571
|
+
return self._ImageBase64
|
|
4572
|
+
|
|
4573
|
+
@ImageBase64.setter
|
|
4574
|
+
def ImageBase64(self, ImageBase64):
|
|
4575
|
+
self._ImageBase64 = ImageBase64
|
|
4576
|
+
|
|
4577
|
+
@property
|
|
4578
|
+
def ImageUrl(self):
|
|
4579
|
+
r"""<p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
4580
|
+
:rtype: str
|
|
4581
|
+
"""
|
|
4582
|
+
return self._ImageUrl
|
|
4583
|
+
|
|
4584
|
+
@ImageUrl.setter
|
|
4585
|
+
def ImageUrl(self, ImageUrl):
|
|
4586
|
+
self._ImageUrl = ImageUrl
|
|
4587
|
+
|
|
4588
|
+
@property
|
|
4589
|
+
def PdfPageNumber(self):
|
|
4590
|
+
r"""<p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。</p>
|
|
4591
|
+
:rtype: int
|
|
4592
|
+
"""
|
|
4593
|
+
return self._PdfPageNumber
|
|
4594
|
+
|
|
4595
|
+
@PdfPageNumber.setter
|
|
4596
|
+
def PdfPageNumber(self, PdfPageNumber):
|
|
4597
|
+
self._PdfPageNumber = PdfPageNumber
|
|
4598
|
+
|
|
4599
|
+
@property
|
|
4600
|
+
def Crop(self):
|
|
4601
|
+
r"""<p>0表示关闭切边<br>1表示开启切边,默认为1</p>
|
|
4602
|
+
:rtype: int
|
|
4603
|
+
"""
|
|
4604
|
+
return self._Crop
|
|
4605
|
+
|
|
4606
|
+
@Crop.setter
|
|
4607
|
+
def Crop(self, Crop):
|
|
4608
|
+
self._Crop = Crop
|
|
4609
|
+
|
|
4610
|
+
@property
|
|
4611
|
+
def Deskew(self):
|
|
4612
|
+
r"""<p>0表示关闭弯曲矫正<br>1表示开启弯曲矫正,默认为1</p>
|
|
4613
|
+
:rtype: int
|
|
4614
|
+
"""
|
|
4615
|
+
return self._Deskew
|
|
4616
|
+
|
|
4617
|
+
@Deskew.setter
|
|
4618
|
+
def Deskew(self, Deskew):
|
|
4619
|
+
self._Deskew = Deskew
|
|
4620
|
+
|
|
4621
|
+
@property
|
|
4622
|
+
def OnlyPosition(self):
|
|
4623
|
+
r"""<p>0表示返回处理后的图和坐标,默认为0<br>1表示只返回坐标,不返回图片</p>
|
|
4624
|
+
:rtype: int
|
|
4625
|
+
"""
|
|
4626
|
+
return self._OnlyPosition
|
|
4627
|
+
|
|
4628
|
+
@OnlyPosition.setter
|
|
4629
|
+
def OnlyPosition(self, OnlyPosition):
|
|
4630
|
+
self._OnlyPosition = OnlyPosition
|
|
4631
|
+
|
|
4632
|
+
@property
|
|
4633
|
+
def EnhanceType(self):
|
|
4634
|
+
r"""<p>默认-1</p><ul><li>-1 不处理增强</li><li>1 增亮</li><li>2 增强并锐化</li><li>3 黑白</li><li>4 灰度</li><li>5 去阴影增强</li><li>6 点阵图</li></ul>
|
|
4635
|
+
:rtype: int
|
|
4636
|
+
"""
|
|
4637
|
+
return self._EnhanceType
|
|
4638
|
+
|
|
4639
|
+
@EnhanceType.setter
|
|
4640
|
+
def EnhanceType(self, EnhanceType):
|
|
4641
|
+
self._EnhanceType = EnhanceType
|
|
4642
|
+
|
|
4643
|
+
@property
|
|
4644
|
+
def AdjustOrientation(self):
|
|
4645
|
+
r"""<p>0表示不矫正图像方向,默认为0 1表示矫正图像方向</p>
|
|
4646
|
+
:rtype: int
|
|
4647
|
+
"""
|
|
4648
|
+
return self._AdjustOrientation
|
|
4649
|
+
|
|
4650
|
+
@AdjustOrientation.setter
|
|
4651
|
+
def AdjustOrientation(self, AdjustOrientation):
|
|
4652
|
+
self._AdjustOrientation = AdjustOrientation
|
|
4653
|
+
|
|
4654
|
+
|
|
4655
|
+
def _deserialize(self, params):
|
|
4656
|
+
self._ImageBase64 = params.get("ImageBase64")
|
|
4657
|
+
self._ImageUrl = params.get("ImageUrl")
|
|
4658
|
+
self._PdfPageNumber = params.get("PdfPageNumber")
|
|
4659
|
+
self._Crop = params.get("Crop")
|
|
4660
|
+
self._Deskew = params.get("Deskew")
|
|
4661
|
+
self._OnlyPosition = params.get("OnlyPosition")
|
|
4662
|
+
self._EnhanceType = params.get("EnhanceType")
|
|
4663
|
+
self._AdjustOrientation = params.get("AdjustOrientation")
|
|
4664
|
+
memeber_set = set(params.keys())
|
|
4665
|
+
for name, value in vars(self).items():
|
|
4666
|
+
property_name = name[1:]
|
|
4667
|
+
if property_name in memeber_set:
|
|
4668
|
+
memeber_set.remove(property_name)
|
|
4669
|
+
if len(memeber_set) > 0:
|
|
4670
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4671
|
+
|
|
4672
|
+
|
|
4673
|
+
|
|
4674
|
+
class CropEnhanceImageOCRResponse(AbstractModel):
|
|
4675
|
+
r"""CropEnhanceImageOCR返回参数结构体
|
|
4676
|
+
|
|
4677
|
+
"""
|
|
4678
|
+
|
|
4679
|
+
def __init__(self):
|
|
4680
|
+
r"""
|
|
4681
|
+
:param _CroppedWidth: <p>处理后图的宽</p>
|
|
4682
|
+
:type CroppedWidth: int
|
|
4683
|
+
:param _CroppedHeight: <p>处理后图的高</p>
|
|
4684
|
+
:type CroppedHeight: int
|
|
4685
|
+
:param _CroppedImage: <p>图像处理后的jpg图片,base64格式</p>
|
|
4686
|
+
:type CroppedImage: str
|
|
4687
|
+
:param _Position: <p>切图区域的4个角点坐标, 是个长度为8的数组<br>[0,1,2,3,4,5,6,7]</p><p>(0,1) 左上角坐标<br>(2,3) 右上角坐标<br>(4,5) 右下角坐标<br>(6,7) 左下角坐标</p>
|
|
4688
|
+
:type Position: list of int
|
|
4689
|
+
:param _Angle: <p>图像角度,AdjustOrientation =1时生效, 返回值如下 -1: 失败 0、90、180、270</p>
|
|
4690
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4691
|
+
:type Angle: int
|
|
4692
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4693
|
+
:type RequestId: str
|
|
4694
|
+
"""
|
|
4695
|
+
self._CroppedWidth = None
|
|
4696
|
+
self._CroppedHeight = None
|
|
4697
|
+
self._CroppedImage = None
|
|
4698
|
+
self._Position = None
|
|
4699
|
+
self._Angle = None
|
|
4700
|
+
self._RequestId = None
|
|
4701
|
+
|
|
4702
|
+
@property
|
|
4703
|
+
def CroppedWidth(self):
|
|
4704
|
+
r"""<p>处理后图的宽</p>
|
|
4705
|
+
:rtype: int
|
|
4706
|
+
"""
|
|
4707
|
+
return self._CroppedWidth
|
|
4708
|
+
|
|
4709
|
+
@CroppedWidth.setter
|
|
4710
|
+
def CroppedWidth(self, CroppedWidth):
|
|
4711
|
+
self._CroppedWidth = CroppedWidth
|
|
4712
|
+
|
|
4713
|
+
@property
|
|
4714
|
+
def CroppedHeight(self):
|
|
4715
|
+
r"""<p>处理后图的高</p>
|
|
4716
|
+
:rtype: int
|
|
4717
|
+
"""
|
|
4718
|
+
return self._CroppedHeight
|
|
4719
|
+
|
|
4720
|
+
@CroppedHeight.setter
|
|
4721
|
+
def CroppedHeight(self, CroppedHeight):
|
|
4722
|
+
self._CroppedHeight = CroppedHeight
|
|
4723
|
+
|
|
4724
|
+
@property
|
|
4725
|
+
def CroppedImage(self):
|
|
4726
|
+
r"""<p>图像处理后的jpg图片,base64格式</p>
|
|
4727
|
+
:rtype: str
|
|
4728
|
+
"""
|
|
4729
|
+
return self._CroppedImage
|
|
4730
|
+
|
|
4731
|
+
@CroppedImage.setter
|
|
4732
|
+
def CroppedImage(self, CroppedImage):
|
|
4733
|
+
self._CroppedImage = CroppedImage
|
|
4734
|
+
|
|
4735
|
+
@property
|
|
4736
|
+
def Position(self):
|
|
4737
|
+
r"""<p>切图区域的4个角点坐标, 是个长度为8的数组<br>[0,1,2,3,4,5,6,7]</p><p>(0,1) 左上角坐标<br>(2,3) 右上角坐标<br>(4,5) 右下角坐标<br>(6,7) 左下角坐标</p>
|
|
4738
|
+
:rtype: list of int
|
|
4739
|
+
"""
|
|
4740
|
+
return self._Position
|
|
4741
|
+
|
|
4742
|
+
@Position.setter
|
|
4743
|
+
def Position(self, Position):
|
|
4744
|
+
self._Position = Position
|
|
4745
|
+
|
|
4746
|
+
@property
|
|
4747
|
+
def Angle(self):
|
|
4748
|
+
r"""<p>图像角度,AdjustOrientation =1时生效, 返回值如下 -1: 失败 0、90、180、270</p>
|
|
4749
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4750
|
+
:rtype: int
|
|
4751
|
+
"""
|
|
4752
|
+
return self._Angle
|
|
4753
|
+
|
|
4754
|
+
@Angle.setter
|
|
4755
|
+
def Angle(self, Angle):
|
|
4756
|
+
self._Angle = Angle
|
|
4757
|
+
|
|
4758
|
+
@property
|
|
4759
|
+
def RequestId(self):
|
|
4760
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4761
|
+
:rtype: str
|
|
4762
|
+
"""
|
|
4763
|
+
return self._RequestId
|
|
4764
|
+
|
|
4765
|
+
@RequestId.setter
|
|
4766
|
+
def RequestId(self, RequestId):
|
|
4767
|
+
self._RequestId = RequestId
|
|
4768
|
+
|
|
4769
|
+
|
|
4770
|
+
def _deserialize(self, params):
|
|
4771
|
+
self._CroppedWidth = params.get("CroppedWidth")
|
|
4772
|
+
self._CroppedHeight = params.get("CroppedHeight")
|
|
4773
|
+
self._CroppedImage = params.get("CroppedImage")
|
|
4774
|
+
self._Position = params.get("Position")
|
|
4775
|
+
self._Angle = params.get("Angle")
|
|
4776
|
+
self._RequestId = params.get("RequestId")
|
|
4777
|
+
|
|
4778
|
+
|
|
4488
4779
|
class CustomsDeclaration(AbstractModel):
|
|
4489
4780
|
r"""海关进/出口货物报关单
|
|
4490
4781
|
|
|
@@ -8677,6 +8968,183 @@ class EnterpriseLicenseOCRResponse(AbstractModel):
|
|
|
8677
8968
|
self._RequestId = params.get("RequestId")
|
|
8678
8969
|
|
|
8679
8970
|
|
|
8971
|
+
class EraseHandwrittenImageOCRRequest(AbstractModel):
|
|
8972
|
+
r"""EraseHandwrittenImageOCR请求参数结构体
|
|
8973
|
+
|
|
8974
|
+
"""
|
|
8975
|
+
|
|
8976
|
+
def __init__(self):
|
|
8977
|
+
r"""
|
|
8978
|
+
:param _ImageBase64: 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
8979
|
+
:type ImageBase64: str
|
|
8980
|
+
:param _ImageUrl: 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
8981
|
+
:type ImageUrl: str
|
|
8982
|
+
:param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。
|
|
8983
|
+
:type PdfPageNumber: int
|
|
8984
|
+
:param _Crop: 0表示关闭切边,默认为0
|
|
8985
|
+
1表示开启切边
|
|
8986
|
+
:type Crop: int
|
|
8987
|
+
:param _Deskew: 0表示关闭弯曲矫正,默认为0
|
|
8988
|
+
1表示开启弯曲矫正
|
|
8989
|
+
:type Deskew: int
|
|
8990
|
+
:param _Sharpen: 0表示关闭增强锐化,默认为0
|
|
8991
|
+
1表示开启增强锐化
|
|
8992
|
+
:type Sharpen: int
|
|
8993
|
+
:param _Grayscale: 0表示返回黑白图像
|
|
8994
|
+
1表示返回彩色图像,默认为1
|
|
8995
|
+
:type Grayscale: int
|
|
8996
|
+
"""
|
|
8997
|
+
self._ImageBase64 = None
|
|
8998
|
+
self._ImageUrl = None
|
|
8999
|
+
self._PdfPageNumber = None
|
|
9000
|
+
self._Crop = None
|
|
9001
|
+
self._Deskew = None
|
|
9002
|
+
self._Sharpen = None
|
|
9003
|
+
self._Grayscale = None
|
|
9004
|
+
|
|
9005
|
+
@property
|
|
9006
|
+
def ImageBase64(self):
|
|
9007
|
+
r"""图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
9008
|
+
:rtype: str
|
|
9009
|
+
"""
|
|
9010
|
+
return self._ImageBase64
|
|
9011
|
+
|
|
9012
|
+
@ImageBase64.setter
|
|
9013
|
+
def ImageBase64(self, ImageBase64):
|
|
9014
|
+
self._ImageBase64 = ImageBase64
|
|
9015
|
+
|
|
9016
|
+
@property
|
|
9017
|
+
def ImageUrl(self):
|
|
9018
|
+
r"""图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
9019
|
+
:rtype: str
|
|
9020
|
+
"""
|
|
9021
|
+
return self._ImageUrl
|
|
9022
|
+
|
|
9023
|
+
@ImageUrl.setter
|
|
9024
|
+
def ImageUrl(self, ImageUrl):
|
|
9025
|
+
self._ImageUrl = ImageUrl
|
|
9026
|
+
|
|
9027
|
+
@property
|
|
9028
|
+
def PdfPageNumber(self):
|
|
9029
|
+
r"""需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。
|
|
9030
|
+
:rtype: int
|
|
9031
|
+
"""
|
|
9032
|
+
return self._PdfPageNumber
|
|
9033
|
+
|
|
9034
|
+
@PdfPageNumber.setter
|
|
9035
|
+
def PdfPageNumber(self, PdfPageNumber):
|
|
9036
|
+
self._PdfPageNumber = PdfPageNumber
|
|
9037
|
+
|
|
9038
|
+
@property
|
|
9039
|
+
def Crop(self):
|
|
9040
|
+
r"""0表示关闭切边,默认为0
|
|
9041
|
+
1表示开启切边
|
|
9042
|
+
:rtype: int
|
|
9043
|
+
"""
|
|
9044
|
+
return self._Crop
|
|
9045
|
+
|
|
9046
|
+
@Crop.setter
|
|
9047
|
+
def Crop(self, Crop):
|
|
9048
|
+
self._Crop = Crop
|
|
9049
|
+
|
|
9050
|
+
@property
|
|
9051
|
+
def Deskew(self):
|
|
9052
|
+
r"""0表示关闭弯曲矫正,默认为0
|
|
9053
|
+
1表示开启弯曲矫正
|
|
9054
|
+
:rtype: int
|
|
9055
|
+
"""
|
|
9056
|
+
return self._Deskew
|
|
9057
|
+
|
|
9058
|
+
@Deskew.setter
|
|
9059
|
+
def Deskew(self, Deskew):
|
|
9060
|
+
self._Deskew = Deskew
|
|
9061
|
+
|
|
9062
|
+
@property
|
|
9063
|
+
def Sharpen(self):
|
|
9064
|
+
r"""0表示关闭增强锐化,默认为0
|
|
9065
|
+
1表示开启增强锐化
|
|
9066
|
+
:rtype: int
|
|
9067
|
+
"""
|
|
9068
|
+
return self._Sharpen
|
|
9069
|
+
|
|
9070
|
+
@Sharpen.setter
|
|
9071
|
+
def Sharpen(self, Sharpen):
|
|
9072
|
+
self._Sharpen = Sharpen
|
|
9073
|
+
|
|
9074
|
+
@property
|
|
9075
|
+
def Grayscale(self):
|
|
9076
|
+
r"""0表示返回黑白图像
|
|
9077
|
+
1表示返回彩色图像,默认为1
|
|
9078
|
+
:rtype: int
|
|
9079
|
+
"""
|
|
9080
|
+
return self._Grayscale
|
|
9081
|
+
|
|
9082
|
+
@Grayscale.setter
|
|
9083
|
+
def Grayscale(self, Grayscale):
|
|
9084
|
+
self._Grayscale = Grayscale
|
|
9085
|
+
|
|
9086
|
+
|
|
9087
|
+
def _deserialize(self, params):
|
|
9088
|
+
self._ImageBase64 = params.get("ImageBase64")
|
|
9089
|
+
self._ImageUrl = params.get("ImageUrl")
|
|
9090
|
+
self._PdfPageNumber = params.get("PdfPageNumber")
|
|
9091
|
+
self._Crop = params.get("Crop")
|
|
9092
|
+
self._Deskew = params.get("Deskew")
|
|
9093
|
+
self._Sharpen = params.get("Sharpen")
|
|
9094
|
+
self._Grayscale = params.get("Grayscale")
|
|
9095
|
+
memeber_set = set(params.keys())
|
|
9096
|
+
for name, value in vars(self).items():
|
|
9097
|
+
property_name = name[1:]
|
|
9098
|
+
if property_name in memeber_set:
|
|
9099
|
+
memeber_set.remove(property_name)
|
|
9100
|
+
if len(memeber_set) > 0:
|
|
9101
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9102
|
+
|
|
9103
|
+
|
|
9104
|
+
|
|
9105
|
+
class EraseHandwrittenImageOCRResponse(AbstractModel):
|
|
9106
|
+
r"""EraseHandwrittenImageOCR返回参数结构体
|
|
9107
|
+
|
|
9108
|
+
"""
|
|
9109
|
+
|
|
9110
|
+
def __init__(self):
|
|
9111
|
+
r"""
|
|
9112
|
+
:param _Image: 图像处理后的jpg图片,base64格式
|
|
9113
|
+
:type Image: str
|
|
9114
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9115
|
+
:type RequestId: str
|
|
9116
|
+
"""
|
|
9117
|
+
self._Image = None
|
|
9118
|
+
self._RequestId = None
|
|
9119
|
+
|
|
9120
|
+
@property
|
|
9121
|
+
def Image(self):
|
|
9122
|
+
r"""图像处理后的jpg图片,base64格式
|
|
9123
|
+
:rtype: str
|
|
9124
|
+
"""
|
|
9125
|
+
return self._Image
|
|
9126
|
+
|
|
9127
|
+
@Image.setter
|
|
9128
|
+
def Image(self, Image):
|
|
9129
|
+
self._Image = Image
|
|
9130
|
+
|
|
9131
|
+
@property
|
|
9132
|
+
def RequestId(self):
|
|
9133
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9134
|
+
:rtype: str
|
|
9135
|
+
"""
|
|
9136
|
+
return self._RequestId
|
|
9137
|
+
|
|
9138
|
+
@RequestId.setter
|
|
9139
|
+
def RequestId(self, RequestId):
|
|
9140
|
+
self._RequestId = RequestId
|
|
9141
|
+
|
|
9142
|
+
|
|
9143
|
+
def _deserialize(self, params):
|
|
9144
|
+
self._Image = params.get("Image")
|
|
9145
|
+
self._RequestId = params.get("RequestId")
|
|
9146
|
+
|
|
9147
|
+
|
|
8680
9148
|
class EstateCertOCRRequest(AbstractModel):
|
|
8681
9149
|
r"""EstateCertOCR请求参数结构体
|
|
8682
9150
|
|
|
@@ -21571,40 +22039,36 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21571
22039
|
|
|
21572
22040
|
def __init__(self):
|
|
21573
22041
|
r"""
|
|
21574
|
-
:param _Type:
|
|
22042
|
+
:param _Type: <p>证件类型(护照信息页识别结果)</p>
|
|
21575
22043
|
:type Type: str
|
|
21576
|
-
:param _IssuingCountry:
|
|
22044
|
+
:param _IssuingCountry: <p>发行国家(护照信息页识别结果)</p>
|
|
21577
22045
|
:type IssuingCountry: str
|
|
21578
|
-
:param _PassportID:
|
|
22046
|
+
:param _PassportID: <p>护照号码(护照信息页识别结果)</p>
|
|
21579
22047
|
:type PassportID: str
|
|
21580
|
-
:param _Surname:
|
|
22048
|
+
:param _Surname: <p>姓(护照信息页识别结果)</p>
|
|
21581
22049
|
:type Surname: str
|
|
21582
|
-
:param _GivenName:
|
|
22050
|
+
:param _GivenName: <p>名(护照信息页识别结果)</p>
|
|
21583
22051
|
:type GivenName: str
|
|
21584
|
-
:param _Name:
|
|
22052
|
+
:param _Name: <p>姓名(护照信息页识别结果)</p>
|
|
21585
22053
|
:type Name: str
|
|
21586
|
-
:param _Nationality:
|
|
22054
|
+
:param _Nationality: <p>国籍信息(护照信息页识别结果)</p>
|
|
21587
22055
|
:type Nationality: str
|
|
21588
|
-
:param _DateOfBirth:
|
|
22056
|
+
:param _DateOfBirth: <p>出生日期(护照信息页识别结果)</p>
|
|
21589
22057
|
:type DateOfBirth: str
|
|
21590
|
-
:param _Sex:
|
|
22058
|
+
:param _Sex: <p>性别(护照信息页识别结果)</p>
|
|
21591
22059
|
:type Sex: str
|
|
21592
|
-
:param _DateOfIssuance:
|
|
22060
|
+
:param _DateOfIssuance: <p>发行日期(护照信息页识别结果)</p>
|
|
21593
22061
|
:type DateOfIssuance: str
|
|
21594
|
-
:param _DateOfExpiration:
|
|
22062
|
+
:param _DateOfExpiration: <p>截止日期(护照信息页识别结果)</p>
|
|
21595
22063
|
:type DateOfExpiration: str
|
|
21596
|
-
:param _Signature:
|
|
21597
|
-
|
|
21598
|
-
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
|
|
22064
|
+
:param _Signature: <p>持证人签名(护照信息页识别结果)</p><p>仅中国大陆护照支持返回此字段,港澳台及境外护照不支持</p>
|
|
21599
22065
|
:type Signature: str
|
|
21600
|
-
:param _IssuePlace:
|
|
21601
|
-
|
|
21602
|
-
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
|
|
22066
|
+
:param _IssuePlace: <p>签发地点(护照信息页识别结果)</p><p>仅中国大陆护照支持返回此字段,港澳台及境外护照不支持</p>
|
|
21603
22067
|
:type IssuePlace: str
|
|
21604
|
-
:param _IssuingAuthority:
|
|
21605
|
-
|
|
21606
|
-
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
|
|
22068
|
+
:param _IssuingAuthority: <p>签发机关(护照信息页识别结果)</p><p>仅中国大陆护照支持返回此字段,港澳台及境外护照不支持</p>
|
|
21607
22069
|
:type IssuingAuthority: str
|
|
22070
|
+
:param _BirthPlace: <p>出生地(护照信息页识别结果)</p>
|
|
22071
|
+
:type BirthPlace: str
|
|
21608
22072
|
"""
|
|
21609
22073
|
self._Type = None
|
|
21610
22074
|
self._IssuingCountry = None
|
|
@@ -21620,10 +22084,11 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21620
22084
|
self._Signature = None
|
|
21621
22085
|
self._IssuePlace = None
|
|
21622
22086
|
self._IssuingAuthority = None
|
|
22087
|
+
self._BirthPlace = None
|
|
21623
22088
|
|
|
21624
22089
|
@property
|
|
21625
22090
|
def Type(self):
|
|
21626
|
-
r"""
|
|
22091
|
+
r"""<p>证件类型(护照信息页识别结果)</p>
|
|
21627
22092
|
:rtype: str
|
|
21628
22093
|
"""
|
|
21629
22094
|
return self._Type
|
|
@@ -21634,7 +22099,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21634
22099
|
|
|
21635
22100
|
@property
|
|
21636
22101
|
def IssuingCountry(self):
|
|
21637
|
-
r"""
|
|
22102
|
+
r"""<p>发行国家(护照信息页识别结果)</p>
|
|
21638
22103
|
:rtype: str
|
|
21639
22104
|
"""
|
|
21640
22105
|
return self._IssuingCountry
|
|
@@ -21645,7 +22110,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21645
22110
|
|
|
21646
22111
|
@property
|
|
21647
22112
|
def PassportID(self):
|
|
21648
|
-
r"""
|
|
22113
|
+
r"""<p>护照号码(护照信息页识别结果)</p>
|
|
21649
22114
|
:rtype: str
|
|
21650
22115
|
"""
|
|
21651
22116
|
return self._PassportID
|
|
@@ -21656,7 +22121,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21656
22121
|
|
|
21657
22122
|
@property
|
|
21658
22123
|
def Surname(self):
|
|
21659
|
-
r"""
|
|
22124
|
+
r"""<p>姓(护照信息页识别结果)</p>
|
|
21660
22125
|
:rtype: str
|
|
21661
22126
|
"""
|
|
21662
22127
|
return self._Surname
|
|
@@ -21667,7 +22132,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21667
22132
|
|
|
21668
22133
|
@property
|
|
21669
22134
|
def GivenName(self):
|
|
21670
|
-
r"""
|
|
22135
|
+
r"""<p>名(护照信息页识别结果)</p>
|
|
21671
22136
|
:rtype: str
|
|
21672
22137
|
"""
|
|
21673
22138
|
return self._GivenName
|
|
@@ -21678,7 +22143,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21678
22143
|
|
|
21679
22144
|
@property
|
|
21680
22145
|
def Name(self):
|
|
21681
|
-
r"""
|
|
22146
|
+
r"""<p>姓名(护照信息页识别结果)</p>
|
|
21682
22147
|
:rtype: str
|
|
21683
22148
|
"""
|
|
21684
22149
|
return self._Name
|
|
@@ -21689,7 +22154,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21689
22154
|
|
|
21690
22155
|
@property
|
|
21691
22156
|
def Nationality(self):
|
|
21692
|
-
r"""
|
|
22157
|
+
r"""<p>国籍信息(护照信息页识别结果)</p>
|
|
21693
22158
|
:rtype: str
|
|
21694
22159
|
"""
|
|
21695
22160
|
return self._Nationality
|
|
@@ -21700,7 +22165,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21700
22165
|
|
|
21701
22166
|
@property
|
|
21702
22167
|
def DateOfBirth(self):
|
|
21703
|
-
r"""
|
|
22168
|
+
r"""<p>出生日期(护照信息页识别结果)</p>
|
|
21704
22169
|
:rtype: str
|
|
21705
22170
|
"""
|
|
21706
22171
|
return self._DateOfBirth
|
|
@@ -21711,7 +22176,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21711
22176
|
|
|
21712
22177
|
@property
|
|
21713
22178
|
def Sex(self):
|
|
21714
|
-
r"""
|
|
22179
|
+
r"""<p>性别(护照信息页识别结果)</p>
|
|
21715
22180
|
:rtype: str
|
|
21716
22181
|
"""
|
|
21717
22182
|
return self._Sex
|
|
@@ -21722,7 +22187,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21722
22187
|
|
|
21723
22188
|
@property
|
|
21724
22189
|
def DateOfIssuance(self):
|
|
21725
|
-
r"""
|
|
22190
|
+
r"""<p>发行日期(护照信息页识别结果)</p>
|
|
21726
22191
|
:rtype: str
|
|
21727
22192
|
"""
|
|
21728
22193
|
return self._DateOfIssuance
|
|
@@ -21733,7 +22198,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21733
22198
|
|
|
21734
22199
|
@property
|
|
21735
22200
|
def DateOfExpiration(self):
|
|
21736
|
-
r"""
|
|
22201
|
+
r"""<p>截止日期(护照信息页识别结果)</p>
|
|
21737
22202
|
:rtype: str
|
|
21738
22203
|
"""
|
|
21739
22204
|
return self._DateOfExpiration
|
|
@@ -21744,9 +22209,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21744
22209
|
|
|
21745
22210
|
@property
|
|
21746
22211
|
def Signature(self):
|
|
21747
|
-
r"""
|
|
21748
|
-
|
|
21749
|
-
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
|
|
22212
|
+
r"""<p>持证人签名(护照信息页识别结果)</p><p>仅中国大陆护照支持返回此字段,港澳台及境外护照不支持</p>
|
|
21750
22213
|
:rtype: str
|
|
21751
22214
|
"""
|
|
21752
22215
|
return self._Signature
|
|
@@ -21757,9 +22220,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21757
22220
|
|
|
21758
22221
|
@property
|
|
21759
22222
|
def IssuePlace(self):
|
|
21760
|
-
r"""
|
|
21761
|
-
|
|
21762
|
-
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
|
|
22223
|
+
r"""<p>签发地点(护照信息页识别结果)</p><p>仅中国大陆护照支持返回此字段,港澳台及境外护照不支持</p>
|
|
21763
22224
|
:rtype: str
|
|
21764
22225
|
"""
|
|
21765
22226
|
return self._IssuePlace
|
|
@@ -21770,9 +22231,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21770
22231
|
|
|
21771
22232
|
@property
|
|
21772
22233
|
def IssuingAuthority(self):
|
|
21773
|
-
r"""
|
|
21774
|
-
|
|
21775
|
-
仅中国大陆护照支持返回此字段,港澳台及境外护照不支持
|
|
22234
|
+
r"""<p>签发机关(护照信息页识别结果)</p><p>仅中国大陆护照支持返回此字段,港澳台及境外护照不支持</p>
|
|
21776
22235
|
:rtype: str
|
|
21777
22236
|
"""
|
|
21778
22237
|
return self._IssuingAuthority
|
|
@@ -21781,6 +22240,17 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21781
22240
|
def IssuingAuthority(self, IssuingAuthority):
|
|
21782
22241
|
self._IssuingAuthority = IssuingAuthority
|
|
21783
22242
|
|
|
22243
|
+
@property
|
|
22244
|
+
def BirthPlace(self):
|
|
22245
|
+
r"""<p>出生地(护照信息页识别结果)</p>
|
|
22246
|
+
:rtype: str
|
|
22247
|
+
"""
|
|
22248
|
+
return self._BirthPlace
|
|
22249
|
+
|
|
22250
|
+
@BirthPlace.setter
|
|
22251
|
+
def BirthPlace(self, BirthPlace):
|
|
22252
|
+
self._BirthPlace = BirthPlace
|
|
22253
|
+
|
|
21784
22254
|
|
|
21785
22255
|
def _deserialize(self, params):
|
|
21786
22256
|
self._Type = params.get("Type")
|
|
@@ -21797,6 +22267,7 @@ class PassportRecognizeInfos(AbstractModel):
|
|
|
21797
22267
|
self._Signature = params.get("Signature")
|
|
21798
22268
|
self._IssuePlace = params.get("IssuePlace")
|
|
21799
22269
|
self._IssuingAuthority = params.get("IssuingAuthority")
|
|
22270
|
+
self._BirthPlace = params.get("BirthPlace")
|
|
21800
22271
|
memeber_set = set(params.keys())
|
|
21801
22272
|
for name, value in vars(self).items():
|
|
21802
22273
|
property_name = name[1:]
|
|
@@ -33695,22 +34166,23 @@ class TextDetection(AbstractModel):
|
|
|
33695
34166
|
|
|
33696
34167
|
def __init__(self):
|
|
33697
34168
|
r"""
|
|
33698
|
-
:param _DetectedText:
|
|
34169
|
+
:param _DetectedText: <p>识别出的文本行内容</p>
|
|
33699
34170
|
:type DetectedText: str
|
|
33700
|
-
:param _Confidence:
|
|
34171
|
+
:param _Confidence: <p>置信度 0 ~100</p>
|
|
33701
34172
|
:type Confidence: int
|
|
33702
|
-
:param _Polygon:
|
|
34173
|
+
:param _Polygon: <p>文本行坐标,以四个顶点坐标表示</p>
|
|
33703
34174
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33704
34175
|
:type Polygon: list of Coord
|
|
33705
|
-
:param _AdvancedInfo:
|
|
33706
|
-
GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
34176
|
+
:param _AdvancedInfo: <p>此字段为扩展字段。<br>GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。</p>
|
|
33707
34177
|
:type AdvancedInfo: str
|
|
33708
|
-
:param _ItemPolygon:
|
|
34178
|
+
:param _ItemPolygon: <p>文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)</p>
|
|
33709
34179
|
:type ItemPolygon: :class:`tencentcloud.ocr.v20181119.models.ItemCoord`
|
|
33710
|
-
:param _Words:
|
|
34180
|
+
:param _Words: <p>识别出来的单字信息包括单字(包括单字Character和单字置信度confidence), 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR</p>
|
|
33711
34181
|
:type Words: list of DetectedWords
|
|
33712
|
-
:param _WordCoordPoint:
|
|
34182
|
+
:param _WordCoordPoint: <p>单字在原图中的四点坐标, 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR</p>
|
|
33713
34183
|
:type WordCoordPoint: list of DetectedWordCoordPoint
|
|
34184
|
+
:param _Language: <p>语种信息。zh:中文; en:英文; th:泰语; id:印尼语; ja:日语; ko:韩语; es:西班牙语; fr:法语; de:德语; pt:葡萄牙语; vi:越南语; ms:马来语; ru:俄语; it:意大利语; nl:荷兰语; sv:瑞典语; fi:芬兰语; no:挪威语; hu:匈牙利语; ar:阿拉伯语; hi:印地语</p>
|
|
34185
|
+
:type Language: str
|
|
33714
34186
|
"""
|
|
33715
34187
|
self._DetectedText = None
|
|
33716
34188
|
self._Confidence = None
|
|
@@ -33719,10 +34191,11 @@ GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
|
33719
34191
|
self._ItemPolygon = None
|
|
33720
34192
|
self._Words = None
|
|
33721
34193
|
self._WordCoordPoint = None
|
|
34194
|
+
self._Language = None
|
|
33722
34195
|
|
|
33723
34196
|
@property
|
|
33724
34197
|
def DetectedText(self):
|
|
33725
|
-
r"""
|
|
34198
|
+
r"""<p>识别出的文本行内容</p>
|
|
33726
34199
|
:rtype: str
|
|
33727
34200
|
"""
|
|
33728
34201
|
return self._DetectedText
|
|
@@ -33733,7 +34206,7 @@ GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
|
33733
34206
|
|
|
33734
34207
|
@property
|
|
33735
34208
|
def Confidence(self):
|
|
33736
|
-
r"""
|
|
34209
|
+
r"""<p>置信度 0 ~100</p>
|
|
33737
34210
|
:rtype: int
|
|
33738
34211
|
"""
|
|
33739
34212
|
return self._Confidence
|
|
@@ -33744,7 +34217,7 @@ GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
|
33744
34217
|
|
|
33745
34218
|
@property
|
|
33746
34219
|
def Polygon(self):
|
|
33747
|
-
r"""
|
|
34220
|
+
r"""<p>文本行坐标,以四个顶点坐标表示</p>
|
|
33748
34221
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
33749
34222
|
:rtype: list of Coord
|
|
33750
34223
|
"""
|
|
@@ -33756,8 +34229,7 @@ GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
|
33756
34229
|
|
|
33757
34230
|
@property
|
|
33758
34231
|
def AdvancedInfo(self):
|
|
33759
|
-
r"""
|
|
33760
|
-
GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
34232
|
+
r"""<p>此字段为扩展字段。<br>GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。</p>
|
|
33761
34233
|
:rtype: str
|
|
33762
34234
|
"""
|
|
33763
34235
|
return self._AdvancedInfo
|
|
@@ -33768,7 +34240,7 @@ GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
|
33768
34240
|
|
|
33769
34241
|
@property
|
|
33770
34242
|
def ItemPolygon(self):
|
|
33771
|
-
r"""
|
|
34243
|
+
r"""<p>文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)</p>
|
|
33772
34244
|
:rtype: :class:`tencentcloud.ocr.v20181119.models.ItemCoord`
|
|
33773
34245
|
"""
|
|
33774
34246
|
return self._ItemPolygon
|
|
@@ -33779,7 +34251,7 @@ GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
|
33779
34251
|
|
|
33780
34252
|
@property
|
|
33781
34253
|
def Words(self):
|
|
33782
|
-
r"""
|
|
34254
|
+
r"""<p>识别出来的单字信息包括单字(包括单字Character和单字置信度confidence), 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR</p>
|
|
33783
34255
|
:rtype: list of DetectedWords
|
|
33784
34256
|
"""
|
|
33785
34257
|
return self._Words
|
|
@@ -33790,7 +34262,7 @@ GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
|
33790
34262
|
|
|
33791
34263
|
@property
|
|
33792
34264
|
def WordCoordPoint(self):
|
|
33793
|
-
r"""
|
|
34265
|
+
r"""<p>单字在原图中的四点坐标, 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR</p>
|
|
33794
34266
|
:rtype: list of DetectedWordCoordPoint
|
|
33795
34267
|
"""
|
|
33796
34268
|
return self._WordCoordPoint
|
|
@@ -33799,6 +34271,17 @@ GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
|
33799
34271
|
def WordCoordPoint(self, WordCoordPoint):
|
|
33800
34272
|
self._WordCoordPoint = WordCoordPoint
|
|
33801
34273
|
|
|
34274
|
+
@property
|
|
34275
|
+
def Language(self):
|
|
34276
|
+
r"""<p>语种信息。zh:中文; en:英文; th:泰语; id:印尼语; ja:日语; ko:韩语; es:西班牙语; fr:法语; de:德语; pt:葡萄牙语; vi:越南语; ms:马来语; ru:俄语; it:意大利语; nl:荷兰语; sv:瑞典语; fi:芬兰语; no:挪威语; hu:匈牙利语; ar:阿拉伯语; hi:印地语</p>
|
|
34277
|
+
:rtype: str
|
|
34278
|
+
"""
|
|
34279
|
+
return self._Language
|
|
34280
|
+
|
|
34281
|
+
@Language.setter
|
|
34282
|
+
def Language(self, Language):
|
|
34283
|
+
self._Language = Language
|
|
34284
|
+
|
|
33802
34285
|
|
|
33803
34286
|
def _deserialize(self, params):
|
|
33804
34287
|
self._DetectedText = params.get("DetectedText")
|
|
@@ -33825,6 +34308,7 @@ GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
|
33825
34308
|
obj = DetectedWordCoordPoint()
|
|
33826
34309
|
obj._deserialize(item)
|
|
33827
34310
|
self._WordCoordPoint.append(obj)
|
|
34311
|
+
self._Language = params.get("Language")
|
|
33828
34312
|
memeber_set = set(params.keys())
|
|
33829
34313
|
for name, value in vars(self).items():
|
|
33830
34314
|
property_name = name[1:]
|
|
@@ -42345,9 +42829,9 @@ class VerifyBizLicenseEnterprise4Response(AbstractModel):
|
|
|
42345
42829
|
:type IsLrNameConsistent: bool
|
|
42346
42830
|
:param _IsIdNumConsistent: <p>注册登记证件号码是否一致<br>仅StatusCode为0时返回,企业名称与统一社会信用代码均未查得时,固定返回false</p>
|
|
42347
42831
|
:type IsIdNumConsistent: bool
|
|
42348
|
-
:param _OperatingStatus: <p>经营状态</p><p>枚举值:</p><ul><li>1: 开业(在营)</li><li>2: 迁出</li><li>3: 注销</li><li>4: 吊销</li><li>5: 撤销</li><li>6: 停业</li><li>0: 其他</li><li
|
|
42832
|
+
:param _OperatingStatus: <p>经营状态</p><p>枚举值:</p><ul><li>1: 开业(在营)</li><li>2: 迁出</li><li>3: 注销</li><li>4: 吊销</li><li>5: 撤销</li><li>6: 停业</li><li>7: 撤销登记</li><li>0: 其他</li><li>/: 无法查询</li></ul>
|
|
42349
42833
|
:type OperatingStatus: str
|
|
42350
|
-
:param _OperatingPeriod: <p>营业期限:一般包括营业开始时间和结束时间</p><p>参数格式:yyyy-MM-dd/yyyy-MM-dd</p><p>无固定期限的格式为:yyyy-MM-dd/<br>部分企业历史数据可能为空,将返回:/<br
|
|
42834
|
+
:param _OperatingPeriod: <p>营业期限:一般包括营业开始时间和结束时间</p><p>参数格式:yyyy-MM-dd/yyyy-MM-dd</p><p>无固定期限的格式为:yyyy-MM-dd/<br>部分企业历史数据可能为空,将返回:/<br>无法查询,将返回:/</p>
|
|
42351
42835
|
:type OperatingPeriod: str
|
|
42352
42836
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
42353
42837
|
:type RequestId: str
|
|
@@ -42430,7 +42914,7 @@ class VerifyBizLicenseEnterprise4Response(AbstractModel):
|
|
|
42430
42914
|
|
|
42431
42915
|
@property
|
|
42432
42916
|
def OperatingStatus(self):
|
|
42433
|
-
r"""<p>经营状态</p><p>枚举值:</p><ul><li>1: 开业(在营)</li><li>2: 迁出</li><li>3: 注销</li><li>4: 吊销</li><li>5: 撤销</li><li>6: 停业</li><li>0: 其他</li><li
|
|
42917
|
+
r"""<p>经营状态</p><p>枚举值:</p><ul><li>1: 开业(在营)</li><li>2: 迁出</li><li>3: 注销</li><li>4: 吊销</li><li>5: 撤销</li><li>6: 停业</li><li>7: 撤销登记</li><li>0: 其他</li><li>/: 无法查询</li></ul>
|
|
42434
42918
|
:rtype: str
|
|
42435
42919
|
"""
|
|
42436
42920
|
return self._OperatingStatus
|
|
@@ -42441,7 +42925,7 @@ class VerifyBizLicenseEnterprise4Response(AbstractModel):
|
|
|
42441
42925
|
|
|
42442
42926
|
@property
|
|
42443
42927
|
def OperatingPeriod(self):
|
|
42444
|
-
r"""<p>营业期限:一般包括营业开始时间和结束时间</p><p>参数格式:yyyy-MM-dd/yyyy-MM-dd</p><p>无固定期限的格式为:yyyy-MM-dd/<br>部分企业历史数据可能为空,将返回:/<br
|
|
42928
|
+
r"""<p>营业期限:一般包括营业开始时间和结束时间</p><p>参数格式:yyyy-MM-dd/yyyy-MM-dd</p><p>无固定期限的格式为:yyyy-MM-dd/<br>部分企业历史数据可能为空,将返回:/<br>无法查询,将返回:/</p>
|
|
42445
42929
|
:rtype: str
|
|
42446
42930
|
"""
|
|
42447
42931
|
return self._OperatingPeriod
|
|
@@ -276,6 +276,29 @@ class OcrClient(AbstractClient):
|
|
|
276
276
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
277
277
|
|
|
278
278
|
|
|
279
|
+
def CropEnhanceImageOCR(self, request):
|
|
280
|
+
r"""图像切边矫正增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度,可以作为所有识别场景的图像预处理原子能力,从而提升识别效果。
|
|
281
|
+
|
|
282
|
+
:param request: Request instance for CropEnhanceImageOCR.
|
|
283
|
+
:type request: :class:`tencentcloud.ocr.v20181119.models.CropEnhanceImageOCRRequest`
|
|
284
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.CropEnhanceImageOCRResponse`
|
|
285
|
+
|
|
286
|
+
"""
|
|
287
|
+
try:
|
|
288
|
+
params = request._serialize()
|
|
289
|
+
headers = request.headers
|
|
290
|
+
body = self.call("CropEnhanceImageOCR", params, headers=headers)
|
|
291
|
+
response = json.loads(body)
|
|
292
|
+
model = models.CropEnhanceImageOCRResponse()
|
|
293
|
+
model._deserialize(response["Response"])
|
|
294
|
+
return model
|
|
295
|
+
except Exception as e:
|
|
296
|
+
if isinstance(e, TencentCloudSDKException):
|
|
297
|
+
raise
|
|
298
|
+
else:
|
|
299
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
300
|
+
|
|
301
|
+
|
|
279
302
|
def DescribeExtractDocAgentJob(self, request):
|
|
280
303
|
r"""模型参数更大,速度更慢。推荐场景:可以接受异步(超过30s返回),样本输入输出token大于2000,长文本类文档建议用异步模型。需要 SubmitExtractDocAgentJob(提交任务)、DescribeExtractDocAgentJob(查询任务)两个接口配套使用,计费发生在提交任务后。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10记一次费用】
|
|
281
304
|
|
|
@@ -483,6 +506,29 @@ class OcrClient(AbstractClient):
|
|
|
483
506
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
484
507
|
|
|
485
508
|
|
|
509
|
+
def EraseHandwrittenImageOCR(self, request):
|
|
510
|
+
r"""本功能可自动清除试卷图片中的手写与批改痕迹,并输出洁净的空白试卷。也可以配合集成图像切边矫正技术,能自动定位、拉平试卷区域,从而在最优预处理基础上实现更佳的擦除效果。
|
|
511
|
+
|
|
512
|
+
:param request: Request instance for EraseHandwrittenImageOCR.
|
|
513
|
+
:type request: :class:`tencentcloud.ocr.v20181119.models.EraseHandwrittenImageOCRRequest`
|
|
514
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.EraseHandwrittenImageOCRResponse`
|
|
515
|
+
|
|
516
|
+
"""
|
|
517
|
+
try:
|
|
518
|
+
params = request._serialize()
|
|
519
|
+
headers = request.headers
|
|
520
|
+
body = self.call("EraseHandwrittenImageOCR", params, headers=headers)
|
|
521
|
+
response = json.loads(body)
|
|
522
|
+
model = models.EraseHandwrittenImageOCRResponse()
|
|
523
|
+
model._deserialize(response["Response"])
|
|
524
|
+
return model
|
|
525
|
+
except Exception as e:
|
|
526
|
+
if isinstance(e, TencentCloudSDKException):
|
|
527
|
+
raise
|
|
528
|
+
else:
|
|
529
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
530
|
+
|
|
531
|
+
|
|
486
532
|
def EstateCertOCR(self, request):
|
|
487
533
|
r"""本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
|
|
488
534
|
|
|
@@ -225,6 +225,24 @@ class OcrClient(AbstractClient):
|
|
|
225
225
|
|
|
226
226
|
return await self.call_and_deserialize(**kwargs)
|
|
227
227
|
|
|
228
|
+
async def CropEnhanceImageOCR(
|
|
229
|
+
self,
|
|
230
|
+
request: models.CropEnhanceImageOCRRequest,
|
|
231
|
+
opts: Dict = None,
|
|
232
|
+
) -> models.CropEnhanceImageOCRResponse:
|
|
233
|
+
"""
|
|
234
|
+
图像切边矫正增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度,可以作为所有识别场景的图像预处理原子能力,从而提升识别效果。
|
|
235
|
+
"""
|
|
236
|
+
|
|
237
|
+
kwargs = {}
|
|
238
|
+
kwargs["action"] = "CropEnhanceImageOCR"
|
|
239
|
+
kwargs["params"] = request._serialize()
|
|
240
|
+
kwargs["resp_cls"] = models.CropEnhanceImageOCRResponse
|
|
241
|
+
kwargs["headers"] = request.headers
|
|
242
|
+
kwargs["opts"] = opts or {}
|
|
243
|
+
|
|
244
|
+
return await self.call_and_deserialize(**kwargs)
|
|
245
|
+
|
|
228
246
|
async def DescribeExtractDocAgentJob(
|
|
229
247
|
self,
|
|
230
248
|
request: models.DescribeExtractDocAgentJobRequest,
|
|
@@ -392,6 +410,24 @@ class OcrClient(AbstractClient):
|
|
|
392
410
|
|
|
393
411
|
return await self.call_and_deserialize(**kwargs)
|
|
394
412
|
|
|
413
|
+
async def EraseHandwrittenImageOCR(
|
|
414
|
+
self,
|
|
415
|
+
request: models.EraseHandwrittenImageOCRRequest,
|
|
416
|
+
opts: Dict = None,
|
|
417
|
+
) -> models.EraseHandwrittenImageOCRResponse:
|
|
418
|
+
"""
|
|
419
|
+
本功能可自动清除试卷图片中的手写与批改痕迹,并输出洁净的空白试卷。也可以配合集成图像切边矫正技术,能自动定位、拉平试卷区域,从而在最优预处理基础上实现更佳的擦除效果。
|
|
420
|
+
"""
|
|
421
|
+
|
|
422
|
+
kwargs = {}
|
|
423
|
+
kwargs["action"] = "EraseHandwrittenImageOCR"
|
|
424
|
+
kwargs["params"] = request._serialize()
|
|
425
|
+
kwargs["resp_cls"] = models.EraseHandwrittenImageOCRResponse
|
|
426
|
+
kwargs["headers"] = request.headers
|
|
427
|
+
kwargs["opts"] = opts or {}
|
|
428
|
+
|
|
429
|
+
return await self.call_and_deserialize(**kwargs)
|
|
430
|
+
|
|
395
431
|
async def EstateCertOCR(
|
|
396
432
|
self,
|
|
397
433
|
request: models.EstateCertOCRRequest,
|
|
@@ -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.73
|
|
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.73
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.73
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.62
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|