tencentcloud-sdk-python-ocr 3.0.1438__tar.gz → 3.0.1443__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-ocr might be problematic. Click here for more details.
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/tencentcloud/ocr/v20181119/models.py +34 -0
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1443/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1438/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1438 → tencentcloud-sdk-python-ocr-3.0.1443}/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.1443,<4.0.0"],
|
12
12
|
version=tencentcloud.__version__,
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
14
14
|
long_description=open('README.rst').read(),
|
@@ -3608,6 +3608,10 @@ class CardWarnInfo(AbstractModel):
|
|
3608
3608
|
:type BlurCheck: int
|
3609
3609
|
:param _BlurScore: 模糊分数, 范围:0.0-1.0,分数越高越模糊,建议阈值为0.5
|
3610
3610
|
:type BlurScore: float
|
3611
|
+
:param _ElectronCheck: 是否电子身份证
|
3612
|
+
0:否
|
3613
|
+
1:是电子身份证
|
3614
|
+
:type ElectronCheck: int
|
3611
3615
|
"""
|
3612
3616
|
self._BorderCheck = None
|
3613
3617
|
self._OcclusionCheck = None
|
@@ -3616,6 +3620,7 @@ class CardWarnInfo(AbstractModel):
|
|
3616
3620
|
self._PSCheck = None
|
3617
3621
|
self._BlurCheck = None
|
3618
3622
|
self._BlurScore = None
|
3623
|
+
self._ElectronCheck = None
|
3619
3624
|
|
3620
3625
|
@property
|
3621
3626
|
def BorderCheck(self):
|
@@ -3706,6 +3711,19 @@ class CardWarnInfo(AbstractModel):
|
|
3706
3711
|
def BlurScore(self, BlurScore):
|
3707
3712
|
self._BlurScore = BlurScore
|
3708
3713
|
|
3714
|
+
@property
|
3715
|
+
def ElectronCheck(self):
|
3716
|
+
"""是否电子身份证
|
3717
|
+
0:否
|
3718
|
+
1:是电子身份证
|
3719
|
+
:rtype: int
|
3720
|
+
"""
|
3721
|
+
return self._ElectronCheck
|
3722
|
+
|
3723
|
+
@ElectronCheck.setter
|
3724
|
+
def ElectronCheck(self, ElectronCheck):
|
3725
|
+
self._ElectronCheck = ElectronCheck
|
3726
|
+
|
3709
3727
|
|
3710
3728
|
def _deserialize(self, params):
|
3711
3729
|
self._BorderCheck = params.get("BorderCheck")
|
@@ -3715,6 +3733,7 @@ class CardWarnInfo(AbstractModel):
|
|
3715
3733
|
self._PSCheck = params.get("PSCheck")
|
3716
3734
|
self._BlurCheck = params.get("BlurCheck")
|
3717
3735
|
self._BlurScore = params.get("BlurScore")
|
3736
|
+
self._ElectronCheck = params.get("ElectronCheck")
|
3718
3737
|
memeber_set = set(params.keys())
|
3719
3738
|
for name, value in vars(self).items():
|
3720
3739
|
property_name = name[1:]
|
@@ -27157,6 +27176,8 @@ class RecognizeValidIDCardOCRRequest(AbstractModel):
|
|
27157
27176
|
:type EnableWordCheck: bool
|
27158
27177
|
:param _EnableQualityCheck: 默认值为false,打开返回证件是否模糊。
|
27159
27178
|
:type EnableQualityCheck: bool
|
27179
|
+
:param _EnableElectronCheck: 默认值为false,打开返回是否存在电子身份证判断。
|
27180
|
+
:type EnableElectronCheck: bool
|
27160
27181
|
"""
|
27161
27182
|
self._ImageBase64 = None
|
27162
27183
|
self._ImageUrl = None
|
@@ -27170,6 +27191,7 @@ class RecognizeValidIDCardOCRRequest(AbstractModel):
|
|
27170
27191
|
self._EnablePSCheck = None
|
27171
27192
|
self._EnableWordCheck = None
|
27172
27193
|
self._EnableQualityCheck = None
|
27194
|
+
self._EnableElectronCheck = None
|
27173
27195
|
|
27174
27196
|
@property
|
27175
27197
|
def ImageBase64(self):
|
@@ -27316,6 +27338,17 @@ class RecognizeValidIDCardOCRRequest(AbstractModel):
|
|
27316
27338
|
def EnableQualityCheck(self, EnableQualityCheck):
|
27317
27339
|
self._EnableQualityCheck = EnableQualityCheck
|
27318
27340
|
|
27341
|
+
@property
|
27342
|
+
def EnableElectronCheck(self):
|
27343
|
+
"""默认值为false,打开返回是否存在电子身份证判断。
|
27344
|
+
:rtype: bool
|
27345
|
+
"""
|
27346
|
+
return self._EnableElectronCheck
|
27347
|
+
|
27348
|
+
@EnableElectronCheck.setter
|
27349
|
+
def EnableElectronCheck(self, EnableElectronCheck):
|
27350
|
+
self._EnableElectronCheck = EnableElectronCheck
|
27351
|
+
|
27319
27352
|
|
27320
27353
|
def _deserialize(self, params):
|
27321
27354
|
self._ImageBase64 = params.get("ImageBase64")
|
@@ -27330,6 +27363,7 @@ class RecognizeValidIDCardOCRRequest(AbstractModel):
|
|
27330
27363
|
self._EnablePSCheck = params.get("EnablePSCheck")
|
27331
27364
|
self._EnableWordCheck = params.get("EnableWordCheck")
|
27332
27365
|
self._EnableQualityCheck = params.get("EnableQualityCheck")
|
27366
|
+
self._EnableElectronCheck = params.get("EnableElectronCheck")
|
27333
27367
|
memeber_set = set(params.keys())
|
27334
27368
|
for name, value in vars(self).items():
|
27335
27369
|
property_name = name[1:]
|
@@ -0,0 +1 @@
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1443
|
@@ -1 +0,0 @@
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1438
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|