tencentcloud-sdk-python-ocr 3.0.1233__tar.gz → 3.0.1241__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.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/tencentcloud/ocr/v20181119/models.py +21 -0
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1241/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1233/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1233 → tencentcloud-sdk-python-ocr-3.0.1241}/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.1241"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2871,6 +2871,8 @@ HmtResidentPermitFront: 港澳台居住证正面
|
|
|
2871
2871
|
HmtResidentPermitBack: 港澳台居住证背面
|
|
2872
2872
|
EstateCert: 不动产证
|
|
2873
2873
|
BizLicense: 营业执照
|
|
2874
|
+
ForeignPermanentResidentFront: 外国人永居证正面识别
|
|
2875
|
+
ForeignPermanentResidentBack: 外国人永居证背面识别
|
|
2874
2876
|
:type DiscernType: list of str
|
|
2875
2877
|
"""
|
|
2876
2878
|
self._ImageBase64 = None
|
|
@@ -11300,6 +11302,15 @@ class MLIDPassportOCRResponse(AbstractModel):
|
|
|
11300
11302
|
:type Type: str
|
|
11301
11303
|
:param _PassportRecognizeInfos: 信息区证件内容
|
|
11302
11304
|
:type PassportRecognizeInfos: :class:`tencentcloud.ocr.v20181119.models.PassportRecognizeInfos`
|
|
11305
|
+
:param _WarnCardInfos: 告警码
|
|
11306
|
+
-9101 证件边框不完整告警
|
|
11307
|
+
-9102 证件复印件告警
|
|
11308
|
+
-9103 证件翻拍告警
|
|
11309
|
+
-9104 证件PS告警
|
|
11310
|
+
-9107 证件反光告警
|
|
11311
|
+
-9108 证件模糊告警
|
|
11312
|
+
-9109 告警能力未开通
|
|
11313
|
+
:type WarnCardInfos: list of int
|
|
11303
11314
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11304
11315
|
:type RequestId: str
|
|
11305
11316
|
"""
|
|
@@ -11319,6 +11330,7 @@ class MLIDPassportOCRResponse(AbstractModel):
|
|
|
11319
11330
|
self._GivenName = None
|
|
11320
11331
|
self._Type = None
|
|
11321
11332
|
self._PassportRecognizeInfos = None
|
|
11333
|
+
self._WarnCardInfos = None
|
|
11322
11334
|
self._RequestId = None
|
|
11323
11335
|
|
|
11324
11336
|
@property
|
|
@@ -11449,6 +11461,14 @@ class MLIDPassportOCRResponse(AbstractModel):
|
|
|
11449
11461
|
def PassportRecognizeInfos(self, PassportRecognizeInfos):
|
|
11450
11462
|
self._PassportRecognizeInfos = PassportRecognizeInfos
|
|
11451
11463
|
|
|
11464
|
+
@property
|
|
11465
|
+
def WarnCardInfos(self):
|
|
11466
|
+
return self._WarnCardInfos
|
|
11467
|
+
|
|
11468
|
+
@WarnCardInfos.setter
|
|
11469
|
+
def WarnCardInfos(self, WarnCardInfos):
|
|
11470
|
+
self._WarnCardInfos = WarnCardInfos
|
|
11471
|
+
|
|
11452
11472
|
@property
|
|
11453
11473
|
def RequestId(self):
|
|
11454
11474
|
return self._RequestId
|
|
@@ -11477,6 +11497,7 @@ class MLIDPassportOCRResponse(AbstractModel):
|
|
|
11477
11497
|
if params.get("PassportRecognizeInfos") is not None:
|
|
11478
11498
|
self._PassportRecognizeInfos = PassportRecognizeInfos()
|
|
11479
11499
|
self._PassportRecognizeInfos._deserialize(params.get("PassportRecognizeInfos"))
|
|
11500
|
+
self._WarnCardInfos = params.get("WarnCardInfos")
|
|
11480
11501
|
self._RequestId = params.get("RequestId")
|
|
11481
11502
|
|
|
11482
11503
|
|
|
@@ -1760,7 +1760,7 @@ class OcrClient(AbstractClient):
|
|
|
1760
1760
|
def RecognizeIndonesiaIDCardOCR(self, request):
|
|
1761
1761
|
"""印尼身份证识别
|
|
1762
1762
|
|
|
1763
|
-
默认接口请求频率限制:
|
|
1763
|
+
默认接口请求频率限制:5次/秒。
|
|
1764
1764
|
|
|
1765
1765
|
:param request: Request instance for RecognizeIndonesiaIDCardOCR.
|
|
1766
1766
|
:type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeIndonesiaIDCardOCRRequest`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1241
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1233
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|