tencentcloud-sdk-python-ocr 3.0.1327__tar.gz → 3.0.1329__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.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/tencentcloud/ocr/v20181119/models.py +23 -0
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/tencentcloud/ocr/v20181119/ocr_client.py +10 -0
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1329/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1327/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1327 → tencentcloud-sdk-python-ocr-3.0.1329}/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.1329"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -10630,11 +10630,14 @@ class GeneralEfficientOCRResponse(AbstractModel):
|
|
|
10630
10630
|
:type TextDetections: list of TextDetection
|
|
10631
10631
|
:param _Angel: 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
|
10632
10632
|
:type Angel: float
|
|
10633
|
+
:param _Angle: 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
|
10634
|
+
:type Angle: float
|
|
10633
10635
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10634
10636
|
:type RequestId: str
|
|
10635
10637
|
"""
|
|
10636
10638
|
self._TextDetections = None
|
|
10637
10639
|
self._Angel = None
|
|
10640
|
+
self._Angle = None
|
|
10638
10641
|
self._RequestId = None
|
|
10639
10642
|
|
|
10640
10643
|
@property
|
|
@@ -10650,6 +10653,8 @@ class GeneralEfficientOCRResponse(AbstractModel):
|
|
|
10650
10653
|
|
|
10651
10654
|
@property
|
|
10652
10655
|
def Angel(self):
|
|
10656
|
+
warnings.warn("parameter `Angel` is deprecated", DeprecationWarning)
|
|
10657
|
+
|
|
10653
10658
|
"""图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
|
10654
10659
|
:rtype: float
|
|
10655
10660
|
"""
|
|
@@ -10657,8 +10662,21 @@ class GeneralEfficientOCRResponse(AbstractModel):
|
|
|
10657
10662
|
|
|
10658
10663
|
@Angel.setter
|
|
10659
10664
|
def Angel(self, Angel):
|
|
10665
|
+
warnings.warn("parameter `Angel` is deprecated", DeprecationWarning)
|
|
10666
|
+
|
|
10660
10667
|
self._Angel = Angel
|
|
10661
10668
|
|
|
10669
|
+
@property
|
|
10670
|
+
def Angle(self):
|
|
10671
|
+
"""图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
|
10672
|
+
:rtype: float
|
|
10673
|
+
"""
|
|
10674
|
+
return self._Angle
|
|
10675
|
+
|
|
10676
|
+
@Angle.setter
|
|
10677
|
+
def Angle(self, Angle):
|
|
10678
|
+
self._Angle = Angle
|
|
10679
|
+
|
|
10662
10680
|
@property
|
|
10663
10681
|
def RequestId(self):
|
|
10664
10682
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -10679,6 +10697,7 @@ class GeneralEfficientOCRResponse(AbstractModel):
|
|
|
10679
10697
|
obj._deserialize(item)
|
|
10680
10698
|
self._TextDetections.append(obj)
|
|
10681
10699
|
self._Angel = params.get("Angel")
|
|
10700
|
+
self._Angle = params.get("Angle")
|
|
10682
10701
|
self._RequestId = params.get("RequestId")
|
|
10683
10702
|
|
|
10684
10703
|
|
|
@@ -24100,6 +24119,8 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
|
24100
24119
|
15:非税发票
|
|
24101
24120
|
16:全电发票
|
|
24102
24121
|
17:医疗发票
|
|
24122
|
+
18:完税凭证
|
|
24123
|
+
19:海关缴款书
|
|
24103
24124
|
-1:其他发票
|
|
24104
24125
|
:type Types: list of int
|
|
24105
24126
|
:param _EnableOther: 是否开启其他票识别,默认值为true,开启后可支持其他发票的智能识别。
|
|
@@ -24174,6 +24195,8 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
|
24174
24195
|
15:非税发票
|
|
24175
24196
|
16:全电发票
|
|
24176
24197
|
17:医疗发票
|
|
24198
|
+
18:完税凭证
|
|
24199
|
+
19:海关缴款书
|
|
24177
24200
|
-1:其他发票
|
|
24178
24201
|
:rtype: list of int
|
|
24179
24202
|
"""
|
|
@@ -1827,6 +1827,16 @@ class OcrClient(AbstractClient):
|
|
|
1827
1827
|
<td> 医疗住院收费票据(电子) </td>
|
|
1828
1828
|
<td> 17 </td>
|
|
1829
1829
|
</tr>
|
|
1830
|
+
<tr>
|
|
1831
|
+
<td> TaxPayment </td>
|
|
1832
|
+
<td> 完税凭证 </td>
|
|
1833
|
+
<td> 18 </td>
|
|
1834
|
+
</tr>
|
|
1835
|
+
<tr>
|
|
1836
|
+
<td> CustomsPaymentReceipt </td>
|
|
1837
|
+
<td> 海关缴款 </td>
|
|
1838
|
+
<td> 19 </td>
|
|
1839
|
+
</tr>
|
|
1830
1840
|
<tr>
|
|
1831
1841
|
<td> OtherInvoice </td>
|
|
1832
1842
|
<td> 其他发票 </td>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1329
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1327
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|