tencentcloud-sdk-python-ocr 3.0.1196__tar.gz → 3.0.1199__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.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/tencentcloud/ocr/v20181119/models.py +36 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1199/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1196/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1196 → tencentcloud-sdk-python-ocr-3.0.1199}/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.1199"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -14690,9 +14690,12 @@ class PermitOCRRequest(AbstractModel):
|
|
|
14690
14690
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
14691
14691
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
14692
14692
|
:type ImageUrl: str
|
|
14693
|
+
:param _CropPortrait: 是否返回头像照片,默认为 false
|
|
14694
|
+
:type CropPortrait: bool
|
|
14693
14695
|
"""
|
|
14694
14696
|
self._ImageBase64 = None
|
|
14695
14697
|
self._ImageUrl = None
|
|
14698
|
+
self._CropPortrait = None
|
|
14696
14699
|
|
|
14697
14700
|
@property
|
|
14698
14701
|
def ImageBase64(self):
|
|
@@ -14710,10 +14713,19 @@ class PermitOCRRequest(AbstractModel):
|
|
|
14710
14713
|
def ImageUrl(self, ImageUrl):
|
|
14711
14714
|
self._ImageUrl = ImageUrl
|
|
14712
14715
|
|
|
14716
|
+
@property
|
|
14717
|
+
def CropPortrait(self):
|
|
14718
|
+
return self._CropPortrait
|
|
14719
|
+
|
|
14720
|
+
@CropPortrait.setter
|
|
14721
|
+
def CropPortrait(self, CropPortrait):
|
|
14722
|
+
self._CropPortrait = CropPortrait
|
|
14723
|
+
|
|
14713
14724
|
|
|
14714
14725
|
def _deserialize(self, params):
|
|
14715
14726
|
self._ImageBase64 = params.get("ImageBase64")
|
|
14716
14727
|
self._ImageUrl = params.get("ImageUrl")
|
|
14728
|
+
self._CropPortrait = params.get("CropPortrait")
|
|
14717
14729
|
memeber_set = set(params.keys())
|
|
14718
14730
|
for name, value in vars(self).items():
|
|
14719
14731
|
property_name = name[1:]
|
|
@@ -14747,6 +14759,8 @@ class PermitOCRResponse(AbstractModel):
|
|
|
14747
14759
|
:type IssueAddress: str
|
|
14748
14760
|
:param _Birthday: 出生日期
|
|
14749
14761
|
:type Birthday: str
|
|
14762
|
+
:param _PortraitImage: 头像照片的base64
|
|
14763
|
+
:type PortraitImage: str
|
|
14750
14764
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14751
14765
|
:type RequestId: str
|
|
14752
14766
|
"""
|
|
@@ -14758,6 +14772,7 @@ class PermitOCRResponse(AbstractModel):
|
|
|
14758
14772
|
self._IssueAuthority = None
|
|
14759
14773
|
self._IssueAddress = None
|
|
14760
14774
|
self._Birthday = None
|
|
14775
|
+
self._PortraitImage = None
|
|
14761
14776
|
self._RequestId = None
|
|
14762
14777
|
|
|
14763
14778
|
@property
|
|
@@ -14824,6 +14839,14 @@ class PermitOCRResponse(AbstractModel):
|
|
|
14824
14839
|
def Birthday(self, Birthday):
|
|
14825
14840
|
self._Birthday = Birthday
|
|
14826
14841
|
|
|
14842
|
+
@property
|
|
14843
|
+
def PortraitImage(self):
|
|
14844
|
+
return self._PortraitImage
|
|
14845
|
+
|
|
14846
|
+
@PortraitImage.setter
|
|
14847
|
+
def PortraitImage(self, PortraitImage):
|
|
14848
|
+
self._PortraitImage = PortraitImage
|
|
14849
|
+
|
|
14827
14850
|
@property
|
|
14828
14851
|
def RequestId(self):
|
|
14829
14852
|
return self._RequestId
|
|
@@ -14842,6 +14865,7 @@ class PermitOCRResponse(AbstractModel):
|
|
|
14842
14865
|
self._IssueAuthority = params.get("IssueAuthority")
|
|
14843
14866
|
self._IssueAddress = params.get("IssueAddress")
|
|
14844
14867
|
self._Birthday = params.get("Birthday")
|
|
14868
|
+
self._PortraitImage = params.get("PortraitImage")
|
|
14845
14869
|
self._RequestId = params.get("RequestId")
|
|
14846
14870
|
|
|
14847
14871
|
|
|
@@ -30587,6 +30611,8 @@ class VerifyOfdVatInvoiceOCRResponse(AbstractModel):
|
|
|
30587
30611
|
:type AirTicketInfo: :class:`tencentcloud.ocr.v20181119.models.AirTicketInfo`
|
|
30588
30612
|
:param _RailwayTicketInfo: 铁路电子客票
|
|
30589
30613
|
:type RailwayTicketInfo: :class:`tencentcloud.ocr.v20181119.models.RailwayTicketInfo`
|
|
30614
|
+
:param _InvoiceTitle: 发票标题
|
|
30615
|
+
:type InvoiceTitle: str
|
|
30590
30616
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30591
30617
|
:type RequestId: str
|
|
30592
30618
|
"""
|
|
@@ -30609,6 +30635,7 @@ class VerifyOfdVatInvoiceOCRResponse(AbstractModel):
|
|
|
30609
30635
|
self._GoodsInfos = None
|
|
30610
30636
|
self._AirTicketInfo = None
|
|
30611
30637
|
self._RailwayTicketInfo = None
|
|
30638
|
+
self._InvoiceTitle = None
|
|
30612
30639
|
self._RequestId = None
|
|
30613
30640
|
|
|
30614
30641
|
@property
|
|
@@ -30763,6 +30790,14 @@ class VerifyOfdVatInvoiceOCRResponse(AbstractModel):
|
|
|
30763
30790
|
def RailwayTicketInfo(self, RailwayTicketInfo):
|
|
30764
30791
|
self._RailwayTicketInfo = RailwayTicketInfo
|
|
30765
30792
|
|
|
30793
|
+
@property
|
|
30794
|
+
def InvoiceTitle(self):
|
|
30795
|
+
return self._InvoiceTitle
|
|
30796
|
+
|
|
30797
|
+
@InvoiceTitle.setter
|
|
30798
|
+
def InvoiceTitle(self, InvoiceTitle):
|
|
30799
|
+
self._InvoiceTitle = InvoiceTitle
|
|
30800
|
+
|
|
30766
30801
|
@property
|
|
30767
30802
|
def RequestId(self):
|
|
30768
30803
|
return self._RequestId
|
|
@@ -30805,6 +30840,7 @@ class VerifyOfdVatInvoiceOCRResponse(AbstractModel):
|
|
|
30805
30840
|
if params.get("RailwayTicketInfo") is not None:
|
|
30806
30841
|
self._RailwayTicketInfo = RailwayTicketInfo()
|
|
30807
30842
|
self._RailwayTicketInfo._deserialize(params.get("RailwayTicketInfo"))
|
|
30843
|
+
self._InvoiceTitle = params.get("InvoiceTitle")
|
|
30808
30844
|
self._RequestId = params.get("RequestId")
|
|
30809
30845
|
|
|
30810
30846
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1199
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1196
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|