tencentcloud-sdk-python-ocr 3.0.1396__py2.py3-none-any.whl → 3.0.1398__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ocr/v20181119/models.py +72 -0
- tencentcloud/ocr/v20181119/ocr_client.py +0 -3
- {tencentcloud_sdk_python_ocr-3.0.1396.dist-info → tencentcloud_sdk_python_ocr-3.0.1398.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_ocr-3.0.1398.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_ocr-3.0.1396.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_ocr-3.0.1396.dist-info → tencentcloud_sdk_python_ocr-3.0.1398.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_ocr-3.0.1396.dist-info → tencentcloud_sdk_python_ocr-3.0.1398.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -12661,6 +12661,8 @@ Config = {"CropIdCard":true,"CropPortrait":true}
|
|
12661
12661
|
|
12662
12662
|
@property
|
12663
12663
|
def EnableDateVerify(self):
|
12664
|
+
warnings.warn("parameter `EnableDateVerify` is deprecated", DeprecationWarning)
|
12665
|
+
|
12664
12666
|
"""用于控制是否开启日期校验,默认值为true,打开会进行日期校验。
|
12665
12667
|
:rtype: bool
|
12666
12668
|
"""
|
@@ -12668,6 +12670,8 @@ Config = {"CropIdCard":true,"CropPortrait":true}
|
|
12668
12670
|
|
12669
12671
|
@EnableDateVerify.setter
|
12670
12672
|
def EnableDateVerify(self, EnableDateVerify):
|
12673
|
+
warnings.warn("parameter `EnableDateVerify` is deprecated", DeprecationWarning)
|
12674
|
+
|
12671
12675
|
self._EnableDateVerify = EnableDateVerify
|
12672
12676
|
|
12673
12677
|
|
@@ -23793,6 +23797,14 @@ MainlandPermit:港澳台来往内地通行证
|
|
23793
23797
|
:type Reflection: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
|
23794
23798
|
:param _Reprint: 翻拍件信息
|
23795
23799
|
:type Reprint: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
|
23800
|
+
:param _Screenshot: 是否截图
|
23801
|
+
:type Screenshot: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
|
23802
|
+
:param _Cover: 是否遮挡
|
23803
|
+
:type Cover: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
|
23804
|
+
:param _Overlap: 是否重叠
|
23805
|
+
:type Overlap: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
|
23806
|
+
:param _Watermark: 是否水印
|
23807
|
+
:type Watermark: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
|
23796
23808
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23797
23809
|
:type RequestId: str
|
23798
23810
|
"""
|
@@ -23803,6 +23815,10 @@ MainlandPermit:港澳台来往内地通行证
|
|
23803
23815
|
self._Ps = None
|
23804
23816
|
self._Reflection = None
|
23805
23817
|
self._Reprint = None
|
23818
|
+
self._Screenshot = None
|
23819
|
+
self._Cover = None
|
23820
|
+
self._Overlap = None
|
23821
|
+
self._Watermark = None
|
23806
23822
|
self._RequestId = None
|
23807
23823
|
|
23808
23824
|
@property
|
@@ -23892,6 +23908,50 @@ MainlandPermit:港澳台来往内地通行证
|
|
23892
23908
|
def Reprint(self, Reprint):
|
23893
23909
|
self._Reprint = Reprint
|
23894
23910
|
|
23911
|
+
@property
|
23912
|
+
def Screenshot(self):
|
23913
|
+
"""是否截图
|
23914
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
|
23915
|
+
"""
|
23916
|
+
return self._Screenshot
|
23917
|
+
|
23918
|
+
@Screenshot.setter
|
23919
|
+
def Screenshot(self, Screenshot):
|
23920
|
+
self._Screenshot = Screenshot
|
23921
|
+
|
23922
|
+
@property
|
23923
|
+
def Cover(self):
|
23924
|
+
"""是否遮挡
|
23925
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
|
23926
|
+
"""
|
23927
|
+
return self._Cover
|
23928
|
+
|
23929
|
+
@Cover.setter
|
23930
|
+
def Cover(self, Cover):
|
23931
|
+
self._Cover = Cover
|
23932
|
+
|
23933
|
+
@property
|
23934
|
+
def Overlap(self):
|
23935
|
+
"""是否重叠
|
23936
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
|
23937
|
+
"""
|
23938
|
+
return self._Overlap
|
23939
|
+
|
23940
|
+
@Overlap.setter
|
23941
|
+
def Overlap(self, Overlap):
|
23942
|
+
self._Overlap = Overlap
|
23943
|
+
|
23944
|
+
@property
|
23945
|
+
def Watermark(self):
|
23946
|
+
"""是否水印
|
23947
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
|
23948
|
+
"""
|
23949
|
+
return self._Watermark
|
23950
|
+
|
23951
|
+
@Watermark.setter
|
23952
|
+
def Watermark(self, Watermark):
|
23953
|
+
self._Watermark = Watermark
|
23954
|
+
|
23895
23955
|
@property
|
23896
23956
|
def RequestId(self):
|
23897
23957
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -23924,6 +23984,18 @@ MainlandPermit:港澳台来往内地通行证
|
|
23924
23984
|
if params.get("Reprint") is not None:
|
23925
23985
|
self._Reprint = GeneralCardWarnInfo()
|
23926
23986
|
self._Reprint._deserialize(params.get("Reprint"))
|
23987
|
+
if params.get("Screenshot") is not None:
|
23988
|
+
self._Screenshot = GeneralCardWarnInfo()
|
23989
|
+
self._Screenshot._deserialize(params.get("Screenshot"))
|
23990
|
+
if params.get("Cover") is not None:
|
23991
|
+
self._Cover = GeneralCardWarnInfo()
|
23992
|
+
self._Cover._deserialize(params.get("Cover"))
|
23993
|
+
if params.get("Overlap") is not None:
|
23994
|
+
self._Overlap = GeneralCardWarnInfo()
|
23995
|
+
self._Overlap._deserialize(params.get("Overlap"))
|
23996
|
+
if params.get("Watermark") is not None:
|
23997
|
+
self._Watermark = GeneralCardWarnInfo()
|
23998
|
+
self._Watermark._deserialize(params.get("Watermark"))
|
23927
23999
|
self._RequestId = params.get("RequestId")
|
23928
24000
|
|
23929
24001
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1398
|
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 (==3.0.
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.1398)
|
19
19
|
|
20
20
|
============================
|
21
21
|
Tencent Cloud SDK for Python
|
@@ -0,0 +1,10 @@
|
|
1
|
+
tencentcloud/__init__.py,sha256=pKr6brC7YUjBkrxyLokSpN1rFqXikExgD0hq20xAUMo,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=L12AZxzshizeJibob00zcd-pBSaeP5XE7OlNM1Firlk,7012
|
5
|
+
tencentcloud/ocr/v20181119/models.py,sha256=7jbTQ90VQxWvlow6dI6eIDSvY_gLO6QSnUEvJGMgX9c,1343964
|
6
|
+
tencentcloud/ocr/v20181119/ocr_client.py,sha256=63Uvt-PV7CA0t2EqryhTjrgIhaD-66Kzp7-rlxBRTRA,119565
|
7
|
+
tencentcloud_sdk_python_ocr-3.0.1398.dist-info/METADATA,sha256=UGFUcvoIrH8eHo2sUmlZoYVvuxhK9xdjYogBSxpcI7A,1496
|
8
|
+
tencentcloud_sdk_python_ocr-3.0.1398.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
9
|
+
tencentcloud_sdk_python_ocr-3.0.1398.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
10
|
+
tencentcloud_sdk_python_ocr-3.0.1398.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
tencentcloud/__init__.py,sha256=aQq7OeUiWZ2krYinw5AnSR1-wI877fcbDjhgDMKz-DA,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=L12AZxzshizeJibob00zcd-pBSaeP5XE7OlNM1Firlk,7012
|
5
|
-
tencentcloud/ocr/v20181119/models.py,sha256=AHKIDAhsq4d-Uk6eWkMkkick-BbQlMJ2VtrcAufMmow,1341430
|
6
|
-
tencentcloud/ocr/v20181119/ocr_client.py,sha256=Pas4-fw0ctpJnMBWOVUQ_4jYSIsE-2fUk-ss-_ULP3Q,119695
|
7
|
-
tencentcloud_sdk_python_ocr-3.0.1396.dist-info/METADATA,sha256=xKCWjkuCKSeixlesx8am9OreHPpEoRnNGWU8Zb1QBcg,1496
|
8
|
-
tencentcloud_sdk_python_ocr-3.0.1396.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
9
|
-
tencentcloud_sdk_python_ocr-3.0.1396.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
10
|
-
tencentcloud_sdk_python_ocr-3.0.1396.dist-info/RECORD,,
|
File without changes
|
File without changes
|