tencentcloud-sdk-python-ocr 3.0.1246__tar.gz → 3.0.1258__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.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/tencentcloud/ocr/v20181119/errorcodes.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/tencentcloud/ocr/v20181119/models.py +8 -16
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/tencentcloud/ocr/v20181119/ocr_client.py +1 -0
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1258/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1246/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1246 → tencentcloud-sdk-python-ocr-3.0.1258}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1258"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -170,7 +170,7 @@ RESOURCENOTFOUND_NOINVOICE = 'ResourceNotFound.NoInvoice'
|
|
|
170
170
|
# 不支持当天发票查询。
|
|
171
171
|
RESOURCENOTFOUND_NOTSUPPORTCURRENTINVOICEQUERY = 'ResourceNotFound.NotSupportCurrentInvoiceQuery'
|
|
172
172
|
|
|
173
|
-
#
|
|
173
|
+
# 账号已欠费。
|
|
174
174
|
RESOURCEUNAVAILABLE_INARREARS = 'ResourceUnavailable.InArrears'
|
|
175
175
|
|
|
176
176
|
# 账号资源包耗尽。
|
|
@@ -1582,11 +1582,11 @@ WARN_RESHOOT_CARD翻拍件告警
|
|
|
1582
1582
|
|
|
1583
1583
|
|
|
1584
1584
|
:type Angle: float
|
|
1585
|
-
:param _NationalEmblem: 是否有国徽。
|
|
1585
|
+
:param _NationalEmblem: 是否有国徽。false为没有,true为有。
|
|
1586
1586
|
:type NationalEmblem: bool
|
|
1587
|
-
:param _QRCode: 是否有二维码。
|
|
1587
|
+
:param _QRCode: 是否有二维码。false为没有,true为有。
|
|
1588
1588
|
:type QRCode: bool
|
|
1589
|
-
:param _Seal: 是否有印章。
|
|
1589
|
+
:param _Seal: 是否有印章。false为没有,true为有。
|
|
1590
1590
|
:type Seal: bool
|
|
1591
1591
|
:param _Title: 标题
|
|
1592
1592
|
:type Title: str
|
|
@@ -1594,7 +1594,7 @@ WARN_RESHOOT_CARD翻拍件告警
|
|
|
1594
1594
|
:type SerialNumber: str
|
|
1595
1595
|
:param _RegistrationAuthority: 登记机关
|
|
1596
1596
|
:type RegistrationAuthority: str
|
|
1597
|
-
:param _Electronic: 是否是电子营业执照。
|
|
1597
|
+
:param _Electronic: 是否是电子营业执照。false为没有,true为有。
|
|
1598
1598
|
:type Electronic: bool
|
|
1599
1599
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1600
1600
|
:type RequestId: str
|
|
@@ -11066,6 +11066,7 @@ MyKid 儿童卡
|
|
|
11066
11066
|
-9101 证件边框不完整告警
|
|
11067
11067
|
-9102 证件复印件告警
|
|
11068
11068
|
-9103 证件翻拍告警
|
|
11069
|
+
-9104 证件PS告警
|
|
11069
11070
|
-9107 证件反光告警
|
|
11070
11071
|
-9108 证件模糊告警
|
|
11071
11072
|
-9109 告警能力未开通
|
|
@@ -16584,7 +16585,7 @@ class RecognizeEncryptedIDCardOCRRequest(AbstractModel):
|
|
|
16584
16585
|
:param _ImageBase64: 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
|
|
16585
16586
|
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
16586
16587
|
:type ImageBase64: str
|
|
16587
|
-
:param _ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3
|
|
16588
|
+
:param _ImageUrl: 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
|
|
16588
16589
|
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
|
16589
16590
|
:type ImageUrl: str
|
|
16590
16591
|
:param _CardSide: FRONT:身份证有照片的一面(人像面),
|
|
@@ -22455,18 +22456,9 @@ class SmartStructuralOCRV2Request(AbstractModel):
|
|
|
22455
22456
|
|
|
22456
22457
|
def __init__(self):
|
|
22457
22458
|
r"""
|
|
22458
|
-
:param _ImageUrl: 图片的 Url
|
|
22459
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
22460
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
22461
|
-
支持的图片像素:需介于20-10000px之间。
|
|
22462
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
22463
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
22459
|
+
:param _ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
22464
22460
|
:type ImageUrl: str
|
|
22465
|
-
:param _ImageBase64: 图片的 Base64
|
|
22466
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
22467
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
22468
|
-
支持的图片像素:需介于20-10000px之间。
|
|
22469
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
22461
|
+
:param _ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
22470
22462
|
:type ImageBase64: str
|
|
22471
22463
|
:param _IsPdf: 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
|
22472
22464
|
:type IsPdf: bool
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1258
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1246
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|