tencentcloud-sdk-python-ocr 3.0.1226__tar.gz → 3.0.1232__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.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/tencentcloud/ocr/v20181119/models.py +38 -6
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1232/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1226/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1226 → tencentcloud-sdk-python-ocr-3.0.1232}/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.1232"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1594,6 +1594,8 @@ WARN_RESHOOT_CARD翻拍件告警
|
|
|
1594
1594
|
:type SerialNumber: str
|
|
1595
1595
|
:param _RegistrationAuthority: 登记机关
|
|
1596
1596
|
:type RegistrationAuthority: str
|
|
1597
|
+
:param _Electronic: 是否是电子营业执照。0为不是,1为是。
|
|
1598
|
+
:type Electronic: bool
|
|
1597
1599
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1598
1600
|
:type RequestId: str
|
|
1599
1601
|
"""
|
|
@@ -1618,6 +1620,7 @@ WARN_RESHOOT_CARD翻拍件告警
|
|
|
1618
1620
|
self._Title = None
|
|
1619
1621
|
self._SerialNumber = None
|
|
1620
1622
|
self._RegistrationAuthority = None
|
|
1623
|
+
self._Electronic = None
|
|
1621
1624
|
self._RequestId = None
|
|
1622
1625
|
|
|
1623
1626
|
@property
|
|
@@ -1788,6 +1791,14 @@ WARN_RESHOOT_CARD翻拍件告警
|
|
|
1788
1791
|
def RegistrationAuthority(self, RegistrationAuthority):
|
|
1789
1792
|
self._RegistrationAuthority = RegistrationAuthority
|
|
1790
1793
|
|
|
1794
|
+
@property
|
|
1795
|
+
def Electronic(self):
|
|
1796
|
+
return self._Electronic
|
|
1797
|
+
|
|
1798
|
+
@Electronic.setter
|
|
1799
|
+
def Electronic(self, Electronic):
|
|
1800
|
+
self._Electronic = Electronic
|
|
1801
|
+
|
|
1791
1802
|
@property
|
|
1792
1803
|
def RequestId(self):
|
|
1793
1804
|
return self._RequestId
|
|
@@ -1819,6 +1830,7 @@ WARN_RESHOOT_CARD翻拍件告警
|
|
|
1819
1830
|
self._Title = params.get("Title")
|
|
1820
1831
|
self._SerialNumber = params.get("SerialNumber")
|
|
1821
1832
|
self._RegistrationAuthority = params.get("RegistrationAuthority")
|
|
1833
|
+
self._Electronic = params.get("Electronic")
|
|
1822
1834
|
self._RequestId = params.get("RequestId")
|
|
1823
1835
|
|
|
1824
1836
|
|
|
@@ -7829,13 +7841,9 @@ class GeneralBasicOCRRequest(AbstractModel):
|
|
|
7829
7841
|
|
|
7830
7842
|
def __init__(self):
|
|
7831
7843
|
r"""
|
|
7832
|
-
:param _ImageBase64: 图片/PDF的 Base64
|
|
7833
|
-
要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。
|
|
7834
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
7844
|
+
:param _ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
7835
7845
|
:type ImageBase64: str
|
|
7836
|
-
:param _ImageUrl: 图片/PDF的 Url
|
|
7837
|
-
要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。
|
|
7838
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
7846
|
+
:param _ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
7839
7847
|
:type ImageUrl: str
|
|
7840
7848
|
:param _Scene: 保留字段。
|
|
7841
7849
|
:type Scene: str
|
|
@@ -12036,6 +12044,8 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
12036
12044
|
:type Type: str
|
|
12037
12045
|
:param _Profile: RetProfile为True时返回头像字段, Base64编码
|
|
12038
12046
|
:type Profile: str
|
|
12047
|
+
:param _Nationality: 国籍
|
|
12048
|
+
:type Nationality: str
|
|
12039
12049
|
:param _MainlandTravelPermitBackInfos: 背面字段信息
|
|
12040
12050
|
:type MainlandTravelPermitBackInfos: :class:`tencentcloud.ocr.v20181119.models.MainlandTravelPermitBackInfos`
|
|
12041
12051
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -12052,6 +12062,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
12052
12062
|
self._IssueNumber = None
|
|
12053
12063
|
self._Type = None
|
|
12054
12064
|
self._Profile = None
|
|
12065
|
+
self._Nationality = None
|
|
12055
12066
|
self._MainlandTravelPermitBackInfos = None
|
|
12056
12067
|
self._RequestId = None
|
|
12057
12068
|
|
|
@@ -12143,6 +12154,14 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
12143
12154
|
def Profile(self, Profile):
|
|
12144
12155
|
self._Profile = Profile
|
|
12145
12156
|
|
|
12157
|
+
@property
|
|
12158
|
+
def Nationality(self):
|
|
12159
|
+
return self._Nationality
|
|
12160
|
+
|
|
12161
|
+
@Nationality.setter
|
|
12162
|
+
def Nationality(self, Nationality):
|
|
12163
|
+
self._Nationality = Nationality
|
|
12164
|
+
|
|
12146
12165
|
@property
|
|
12147
12166
|
def MainlandTravelPermitBackInfos(self):
|
|
12148
12167
|
return self._MainlandTravelPermitBackInfos
|
|
@@ -12172,6 +12191,7 @@ class MainlandPermitOCRResponse(AbstractModel):
|
|
|
12172
12191
|
self._IssueNumber = params.get("IssueNumber")
|
|
12173
12192
|
self._Type = params.get("Type")
|
|
12174
12193
|
self._Profile = params.get("Profile")
|
|
12194
|
+
self._Nationality = params.get("Nationality")
|
|
12175
12195
|
if params.get("MainlandTravelPermitBackInfos") is not None:
|
|
12176
12196
|
self._MainlandTravelPermitBackInfos = MainlandTravelPermitBackInfos()
|
|
12177
12197
|
self._MainlandTravelPermitBackInfos._deserialize(params.get("MainlandTravelPermitBackInfos"))
|
|
@@ -14867,6 +14887,8 @@ class PermitOCRResponse(AbstractModel):
|
|
|
14867
14887
|
:type Birthday: str
|
|
14868
14888
|
:param _PortraitImage: 头像照片的base64
|
|
14869
14889
|
:type PortraitImage: str
|
|
14890
|
+
:param _Type: 返回类型
|
|
14891
|
+
:type Type: str
|
|
14870
14892
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14871
14893
|
:type RequestId: str
|
|
14872
14894
|
"""
|
|
@@ -14879,6 +14901,7 @@ class PermitOCRResponse(AbstractModel):
|
|
|
14879
14901
|
self._IssueAddress = None
|
|
14880
14902
|
self._Birthday = None
|
|
14881
14903
|
self._PortraitImage = None
|
|
14904
|
+
self._Type = None
|
|
14882
14905
|
self._RequestId = None
|
|
14883
14906
|
|
|
14884
14907
|
@property
|
|
@@ -14953,6 +14976,14 @@ class PermitOCRResponse(AbstractModel):
|
|
|
14953
14976
|
def PortraitImage(self, PortraitImage):
|
|
14954
14977
|
self._PortraitImage = PortraitImage
|
|
14955
14978
|
|
|
14979
|
+
@property
|
|
14980
|
+
def Type(self):
|
|
14981
|
+
return self._Type
|
|
14982
|
+
|
|
14983
|
+
@Type.setter
|
|
14984
|
+
def Type(self, Type):
|
|
14985
|
+
self._Type = Type
|
|
14986
|
+
|
|
14956
14987
|
@property
|
|
14957
14988
|
def RequestId(self):
|
|
14958
14989
|
return self._RequestId
|
|
@@ -14972,6 +15003,7 @@ class PermitOCRResponse(AbstractModel):
|
|
|
14972
15003
|
self._IssueAddress = params.get("IssueAddress")
|
|
14973
15004
|
self._Birthday = params.get("Birthday")
|
|
14974
15005
|
self._PortraitImage = params.get("PortraitImage")
|
|
15006
|
+
self._Type = params.get("Type")
|
|
14975
15007
|
self._RequestId = params.get("RequestId")
|
|
14976
15008
|
|
|
14977
15009
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1232
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1226
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|