tencentcloud-sdk-python-ocr 3.0.1416__tar.gz → 3.0.1418__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.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/tencentcloud/ocr/v20181119/models.py +55 -0
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1418/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1416/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1416 → tencentcloud-sdk-python-ocr-3.0.1418}/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.1418"],
|
12
12
|
version=tencentcloud.__version__,
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
14
14
|
long_description=open('README.rst').read(),
|
@@ -3499,12 +3499,20 @@ class CardWarnInfo(AbstractModel):
|
|
3499
3499
|
0:正常
|
3500
3500
|
1:有PS
|
3501
3501
|
:type PSCheck: int
|
3502
|
+
:param _BlurCheck: 是否模糊:
|
3503
|
+
0:正常
|
3504
|
+
1:模糊
|
3505
|
+
:type BlurCheck: int
|
3506
|
+
:param _BlurScore: 模糊分数, 范围:0.0-1.0,分数越高越模糊,建议阈值为0.5
|
3507
|
+
:type BlurScore: float
|
3502
3508
|
"""
|
3503
3509
|
self._BorderCheck = None
|
3504
3510
|
self._OcclusionCheck = None
|
3505
3511
|
self._CopyCheck = None
|
3506
3512
|
self._ReshootCheck = None
|
3507
3513
|
self._PSCheck = None
|
3514
|
+
self._BlurCheck = None
|
3515
|
+
self._BlurScore = None
|
3508
3516
|
|
3509
3517
|
@property
|
3510
3518
|
def BorderCheck(self):
|
@@ -3571,6 +3579,30 @@ class CardWarnInfo(AbstractModel):
|
|
3571
3579
|
def PSCheck(self, PSCheck):
|
3572
3580
|
self._PSCheck = PSCheck
|
3573
3581
|
|
3582
|
+
@property
|
3583
|
+
def BlurCheck(self):
|
3584
|
+
"""是否模糊:
|
3585
|
+
0:正常
|
3586
|
+
1:模糊
|
3587
|
+
:rtype: int
|
3588
|
+
"""
|
3589
|
+
return self._BlurCheck
|
3590
|
+
|
3591
|
+
@BlurCheck.setter
|
3592
|
+
def BlurCheck(self, BlurCheck):
|
3593
|
+
self._BlurCheck = BlurCheck
|
3594
|
+
|
3595
|
+
@property
|
3596
|
+
def BlurScore(self):
|
3597
|
+
"""模糊分数, 范围:0.0-1.0,分数越高越模糊,建议阈值为0.5
|
3598
|
+
:rtype: float
|
3599
|
+
"""
|
3600
|
+
return self._BlurScore
|
3601
|
+
|
3602
|
+
@BlurScore.setter
|
3603
|
+
def BlurScore(self, BlurScore):
|
3604
|
+
self._BlurScore = BlurScore
|
3605
|
+
|
3574
3606
|
|
3575
3607
|
def _deserialize(self, params):
|
3576
3608
|
self._BorderCheck = params.get("BorderCheck")
|
@@ -3578,6 +3610,8 @@ class CardWarnInfo(AbstractModel):
|
|
3578
3610
|
self._CopyCheck = params.get("CopyCheck")
|
3579
3611
|
self._ReshootCheck = params.get("ReshootCheck")
|
3580
3612
|
self._PSCheck = params.get("PSCheck")
|
3613
|
+
self._BlurCheck = params.get("BlurCheck")
|
3614
|
+
self._BlurScore = params.get("BlurScore")
|
3581
3615
|
memeber_set = set(params.keys())
|
3582
3616
|
for name, value in vars(self).items():
|
3583
3617
|
property_name = name[1:]
|
@@ -8481,6 +8515,9 @@ AirWayBill -- 航空运单识别模板
|
|
8481
8515
|
Table -- 表格模版
|
8482
8516
|
SteelLabel -- 实物标签识别模板
|
8483
8517
|
CarInsurance -- 车辆保险单识别模板
|
8518
|
+
MultiRealEstateCertificate -- 房产材料识别模板
|
8519
|
+
MultiRealEstateMaterial -- 房产证明识别模板
|
8520
|
+
HongKongUtilityBill -- 香港水电煤单识别模板
|
8484
8521
|
:type ConfigId: str
|
8485
8522
|
:param _EnableCoord: 是否开启全文字段坐标值的识别
|
8486
8523
|
:type EnableCoord: bool
|
@@ -8585,6 +8622,9 @@ AirWayBill -- 航空运单识别模板
|
|
8585
8622
|
Table -- 表格模版
|
8586
8623
|
SteelLabel -- 实物标签识别模板
|
8587
8624
|
CarInsurance -- 车辆保险单识别模板
|
8625
|
+
MultiRealEstateCertificate -- 房产材料识别模板
|
8626
|
+
MultiRealEstateMaterial -- 房产证明识别模板
|
8627
|
+
HongKongUtilityBill -- 香港水电煤单识别模板
|
8588
8628
|
:rtype: str
|
8589
8629
|
"""
|
8590
8630
|
return self._ConfigId
|
@@ -26844,6 +26884,8 @@ class RecognizeValidIDCardOCRRequest(AbstractModel):
|
|
26844
26884
|
:type EnablePSCheck: bool
|
26845
26885
|
:param _EnableWordCheck: 默认值为false,打开返回字段级反光和字段级完整性告警。类型为:临时、港澳台居住证、外国人居住证失效
|
26846
26886
|
:type EnableWordCheck: bool
|
26887
|
+
:param _EnableQualityCheck: 默认值为false,打开返回证件是否模糊。
|
26888
|
+
:type EnableQualityCheck: bool
|
26847
26889
|
"""
|
26848
26890
|
self._ImageBase64 = None
|
26849
26891
|
self._ImageUrl = None
|
@@ -26856,6 +26898,7 @@ class RecognizeValidIDCardOCRRequest(AbstractModel):
|
|
26856
26898
|
self._EnableReshootCheck = None
|
26857
26899
|
self._EnablePSCheck = None
|
26858
26900
|
self._EnableWordCheck = None
|
26901
|
+
self._EnableQualityCheck = None
|
26859
26902
|
|
26860
26903
|
@property
|
26861
26904
|
def ImageBase64(self):
|
@@ -26991,6 +27034,17 @@ class RecognizeValidIDCardOCRRequest(AbstractModel):
|
|
26991
27034
|
def EnableWordCheck(self, EnableWordCheck):
|
26992
27035
|
self._EnableWordCheck = EnableWordCheck
|
26993
27036
|
|
27037
|
+
@property
|
27038
|
+
def EnableQualityCheck(self):
|
27039
|
+
"""默认值为false,打开返回证件是否模糊。
|
27040
|
+
:rtype: bool
|
27041
|
+
"""
|
27042
|
+
return self._EnableQualityCheck
|
27043
|
+
|
27044
|
+
@EnableQualityCheck.setter
|
27045
|
+
def EnableQualityCheck(self, EnableQualityCheck):
|
27046
|
+
self._EnableQualityCheck = EnableQualityCheck
|
27047
|
+
|
26994
27048
|
|
26995
27049
|
def _deserialize(self, params):
|
26996
27050
|
self._ImageBase64 = params.get("ImageBase64")
|
@@ -27004,6 +27058,7 @@ class RecognizeValidIDCardOCRRequest(AbstractModel):
|
|
27004
27058
|
self._EnableReshootCheck = params.get("EnableReshootCheck")
|
27005
27059
|
self._EnablePSCheck = params.get("EnablePSCheck")
|
27006
27060
|
self._EnableWordCheck = params.get("EnableWordCheck")
|
27061
|
+
self._EnableQualityCheck = params.get("EnableQualityCheck")
|
27007
27062
|
memeber_set = set(params.keys())
|
27008
27063
|
for name, value in vars(self).items():
|
27009
27064
|
property_name = name[1:]
|
@@ -0,0 +1 @@
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1418
|
@@ -1 +0,0 @@
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1416
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|