tencentcloud-sdk-python-ocr 3.1.207__py2.py3-none-any.whl → 3.1.209__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.207'
17
+ __version__ = '3.1.209'
@@ -32,6 +32,9 @@ FAILEDOPERATION_DETECTFAILED = 'FailedOperation.DetectFailed'
32
32
  # 文件下载失败。
33
33
  FAILEDOPERATION_DOWNLOADERROR = 'FailedOperation.DownLoadError'
34
34
 
35
+ # 空文件。
36
+ FAILEDOPERATION_EMPTYFILEERROR = 'FailedOperation.EmptyFileError'
37
+
35
38
  # 图片内容为空。
36
39
  FAILEDOPERATION_EMPTYIMAGEERROR = 'FailedOperation.EmptyImageError'
37
40
 
@@ -20109,6 +20109,8 @@ class MultimodalDocParseRequest(AbstractModel):
20109
20109
  :type PageRange: str
20110
20110
  :param _TaskType: <p>任务类型</p><p>枚举值:</p><ul><li>0: 文档解析</li><li>1: 图片OCR识别</li><li>2: 切片文字识别</li><li>3: 切片表格识别</li><li>4: 切片代码识别</li></ul><p>默认值:0</p>
20111
20111
  :type TaskType: int
20112
+ :param _EnableTableCellCoord: <p>是否输出单元格坐标。开启后,耗时会稍有增加。<br>默认值:false</p>
20113
+ :type EnableTableCellCoord: bool
20112
20114
  """
20113
20115
  self._FileUrl = None
20114
20116
  self._FileType = None
@@ -20116,6 +20118,7 @@ class MultimodalDocParseRequest(AbstractModel):
20116
20118
  self._EnableSubImg = None
20117
20119
  self._PageRange = None
20118
20120
  self._TaskType = None
20121
+ self._EnableTableCellCoord = None
20119
20122
 
20120
20123
  @property
20121
20124
  def FileUrl(self):
@@ -20183,6 +20186,17 @@ class MultimodalDocParseRequest(AbstractModel):
20183
20186
  def TaskType(self, TaskType):
20184
20187
  self._TaskType = TaskType
20185
20188
 
20189
+ @property
20190
+ def EnableTableCellCoord(self):
20191
+ r"""<p>是否输出单元格坐标。开启后,耗时会稍有增加。<br>默认值:false</p>
20192
+ :rtype: bool
20193
+ """
20194
+ return self._EnableTableCellCoord
20195
+
20196
+ @EnableTableCellCoord.setter
20197
+ def EnableTableCellCoord(self, EnableTableCellCoord):
20198
+ self._EnableTableCellCoord = EnableTableCellCoord
20199
+
20186
20200
 
20187
20201
  def _deserialize(self, params):
20188
20202
  self._FileUrl = params.get("FileUrl")
@@ -20191,6 +20205,7 @@ class MultimodalDocParseRequest(AbstractModel):
20191
20205
  self._EnableSubImg = params.get("EnableSubImg")
20192
20206
  self._PageRange = params.get("PageRange")
20193
20207
  self._TaskType = params.get("TaskType")
20208
+ self._EnableTableCellCoord = params.get("EnableTableCellCoord")
20194
20209
  memeber_set = set(params.keys())
20195
20210
  for name, value in vars(self).items():
20196
20211
  property_name = name[1:]
@@ -31881,6 +31896,8 @@ class SubmitMultimodalDocParseJobRequest(AbstractModel):
31881
31896
  :type FileEndPageNumber: int
31882
31897
  :param _TaskType: <p>任务类型,默认为 0。取值:</p><ul><li>0:默认</li><li>1:Free OCR</li><li>2:OCR</li><li>3:表格识别</li><li>4:代码识别</li></ul>
31883
31898
  :type TaskType: int
31899
+ :param _EnableTableCellCoord: <p>是否输出单元格坐标。开启后,耗时会稍有增加。<br>默认值:false</p>
31900
+ :type EnableTableCellCoord: bool
31884
31901
  """
31885
31902
  self._FileType = None
31886
31903
  self._FileUrl = None
@@ -31890,6 +31907,7 @@ class SubmitMultimodalDocParseJobRequest(AbstractModel):
31890
31907
  self._FileStartPageNumber = None
31891
31908
  self._FileEndPageNumber = None
31892
31909
  self._TaskType = None
31910
+ self._EnableTableCellCoord = None
31893
31911
 
31894
31912
  @property
31895
31913
  def FileType(self):
@@ -31979,6 +31997,17 @@ class SubmitMultimodalDocParseJobRequest(AbstractModel):
31979
31997
  def TaskType(self, TaskType):
31980
31998
  self._TaskType = TaskType
31981
31999
 
32000
+ @property
32001
+ def EnableTableCellCoord(self):
32002
+ r"""<p>是否输出单元格坐标。开启后,耗时会稍有增加。<br>默认值:false</p>
32003
+ :rtype: bool
32004
+ """
32005
+ return self._EnableTableCellCoord
32006
+
32007
+ @EnableTableCellCoord.setter
32008
+ def EnableTableCellCoord(self, EnableTableCellCoord):
32009
+ self._EnableTableCellCoord = EnableTableCellCoord
32010
+
31982
32011
 
31983
32012
  def _deserialize(self, params):
31984
32013
  self._FileType = params.get("FileType")
@@ -31989,6 +32018,7 @@ class SubmitMultimodalDocParseJobRequest(AbstractModel):
31989
32018
  self._FileStartPageNumber = params.get("FileStartPageNumber")
31990
32019
  self._FileEndPageNumber = params.get("FileEndPageNumber")
31991
32020
  self._TaskType = params.get("TaskType")
32021
+ self._EnableTableCellCoord = params.get("EnableTableCellCoord")
31992
32022
  memeber_set = set(params.keys())
31993
32023
  for name, value in vars(self).items():
31994
32024
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.1.207
3
+ Version: 3.1.209
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.1.207
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.209
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=HxaKWB9AQn-5cGtS6eg95d3L9qfFXPEBagJwV7yStg0,630
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=DG4UQKGHFyPiTVPmollpXsa2NQv0meGtZC8FYKBdlak,7464
5
+ tencentcloud/ocr/v20181119/models.py,sha256=nfgPeIEJcktAzQjK3SlAVevEaU4wJ5Z3J1bjwli_Ahw,1515244
6
+ tencentcloud/ocr/v20181119/ocr_client.py,sha256=erIkwN1eY70xsRfx6C9yY2vZ73iG1uCuts5-hUGSM98,126903
7
+ tencentcloud/ocr/v20181119/ocr_client_async.py,sha256=jy01jxjsNB8sxbt0ozeB7UuhZu1qrHcvIb2KgNMLTnA,100753
8
+ tencentcloud_sdk_python_ocr-3.1.209.dist-info/METADATA,sha256=3tceEunQzZs0CDNVt2hMlTCih50b7J_XqT0j7OQQXdk,1497
9
+ tencentcloud_sdk_python_ocr-3.1.209.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_ocr-3.1.209.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_ocr-3.1.209.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- tencentcloud/__init__.py,sha256=7wxxwgy4o2cS92M5HhRyu1CjoSZz6utbZRAzG9UpafU,630
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=yxNqH7RE6Oo05S-0NaYN0A4E6YGSQvipKolYzv-TE8E,7382
5
- tencentcloud/ocr/v20181119/models.py,sha256=VXo6lpEGIKSjGmB9TlcJpJDzXTExmxZj8W0tBOF1df8,1513902
6
- tencentcloud/ocr/v20181119/ocr_client.py,sha256=erIkwN1eY70xsRfx6C9yY2vZ73iG1uCuts5-hUGSM98,126903
7
- tencentcloud/ocr/v20181119/ocr_client_async.py,sha256=jy01jxjsNB8sxbt0ozeB7UuhZu1qrHcvIb2KgNMLTnA,100753
8
- tencentcloud_sdk_python_ocr-3.1.207.dist-info/METADATA,sha256=Ee9V_-QwD0quTsPqIL1u04TgdmX9h86-UD2PIdGeNy0,1497
9
- tencentcloud_sdk_python_ocr-3.1.207.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_ocr-3.1.207.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_ocr-3.1.207.dist-info/RECORD,,