tencentcloud-sdk-python-ocr 3.0.1438__py2.py3-none-any.whl → 3.0.1443__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1438'
17
+ __version__ = '3.0.1443'
@@ -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:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.0.1438
3
+ Version: 3.0.1443
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.0.1438)
18
+ Requires-Dist: tencentcloud-sdk-python-common (<4.0.0,>=3.0.1443)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=XZH4VAZz9WH1-EhCd0jNUtOoc4aJ9MfjvVt7tg5nyYE,631
2
+ tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/ocr/v20181119/errorcodes.py,sha256=F14bbQDRi4P9JfBfjuTGaR08iiQkY3d3KcyBwscqAtk,6985
5
+ tencentcloud/ocr/v20181119/models.py,sha256=DFkTEVN27Z9rieAtKTgZZ0Ds_hHiqB45uGfqxFFBEYc,1383996
6
+ tencentcloud/ocr/v20181119/ocr_client.py,sha256=D9rJ5NROJ6i0WjWIUXD0CvY_NTYq74un_lPz_o3DcKQ,123525
7
+ tencentcloud_sdk_python_ocr-3.0.1443.dist-info/METADATA,sha256=cxoZK6pRq8f9-FAwiG7XmbRilmuIvNwrfc2Cskt5b-A,1503
8
+ tencentcloud_sdk_python_ocr-3.0.1443.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_ocr-3.0.1443.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_ocr-3.0.1443.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=L9ZWJfKuTSRkkepyZo_LE4xEIrV3t8FJ4Mq0rSjpuP0,631
2
- tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/ocr/v20181119/errorcodes.py,sha256=F14bbQDRi4P9JfBfjuTGaR08iiQkY3d3KcyBwscqAtk,6985
5
- tencentcloud/ocr/v20181119/models.py,sha256=_lSP58lyhycpyQ8jt7di77_Ev6l2smj0_cLXlauZDK0,1382890
6
- tencentcloud/ocr/v20181119/ocr_client.py,sha256=D9rJ5NROJ6i0WjWIUXD0CvY_NTYq74un_lPz_o3DcKQ,123525
7
- tencentcloud_sdk_python_ocr-3.0.1438.dist-info/METADATA,sha256=8ChXFrc4BkdFuhmHxoGZNyPce-MWHer4Vy48XzVyI1A,1503
8
- tencentcloud_sdk_python_ocr-3.0.1438.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_ocr-3.0.1438.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_ocr-3.0.1438.dist-info/RECORD,,