tencentcloud-sdk-python-ocr 3.1.157__tar.gz → 3.1.161__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.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/setup.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/tencentcloud/ocr/v20181119/models.py +22 -22
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ocr-3.1.161/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ocr-3.1.157/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/README.rst +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/tencentcloud/ocr/v20181119/ocr_client_async.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.161}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.161
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.161
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.161,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ocr SDK for Python',
|
|
@@ -4909,14 +4909,14 @@ class DescribeMarkEssayAgentJobRequest(AbstractModel):
|
|
|
4909
4909
|
|
|
4910
4910
|
def __init__(self):
|
|
4911
4911
|
r"""
|
|
4912
|
-
:param _JobId:
|
|
4912
|
+
:param _JobId: <p>任务唯一ID。由服务端生成。</p>
|
|
4913
4913
|
:type JobId: str
|
|
4914
4914
|
"""
|
|
4915
4915
|
self._JobId = None
|
|
4916
4916
|
|
|
4917
4917
|
@property
|
|
4918
4918
|
def JobId(self):
|
|
4919
|
-
r"""
|
|
4919
|
+
r"""<p>任务唯一ID。由服务端生成。</p>
|
|
4920
4920
|
:rtype: str
|
|
4921
4921
|
"""
|
|
4922
4922
|
return self._JobId
|
|
@@ -4945,15 +4945,15 @@ class DescribeMarkEssayAgentJobResponse(AbstractModel):
|
|
|
4945
4945
|
|
|
4946
4946
|
def __init__(self):
|
|
4947
4947
|
r"""
|
|
4948
|
-
:param _Angle:
|
|
4948
|
+
:param _Angle: <p>图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。</p>
|
|
4949
4949
|
:type Angle: float
|
|
4950
|
-
:param _SentenceSuggests:
|
|
4950
|
+
:param _SentenceSuggests: <p>配置结构化文本信息。</p>
|
|
4951
4951
|
:type SentenceSuggests: list of MarkEssaySuggestions
|
|
4952
|
-
:param _ErrorCode:
|
|
4952
|
+
:param _ErrorCode: <p>任务执行错误码。当任务状态不为 FAIL 时,该值为""。</p>
|
|
4953
4953
|
:type ErrorCode: str
|
|
4954
|
-
:param _ErrorMessage:
|
|
4954
|
+
:param _ErrorMessage: <p>任务执行错误信息。当任务状态不为 FAIL 时,该值为""。</p>
|
|
4955
4955
|
:type ErrorMessage: str
|
|
4956
|
-
:param _JobStatus:
|
|
4956
|
+
:param _JobStatus: <p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功</p>
|
|
4957
4957
|
:type JobStatus: str
|
|
4958
4958
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4959
4959
|
:type RequestId: str
|
|
@@ -4967,7 +4967,7 @@ class DescribeMarkEssayAgentJobResponse(AbstractModel):
|
|
|
4967
4967
|
|
|
4968
4968
|
@property
|
|
4969
4969
|
def Angle(self):
|
|
4970
|
-
r"""
|
|
4970
|
+
r"""<p>图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。</p>
|
|
4971
4971
|
:rtype: float
|
|
4972
4972
|
"""
|
|
4973
4973
|
return self._Angle
|
|
@@ -4978,7 +4978,7 @@ class DescribeMarkEssayAgentJobResponse(AbstractModel):
|
|
|
4978
4978
|
|
|
4979
4979
|
@property
|
|
4980
4980
|
def SentenceSuggests(self):
|
|
4981
|
-
r"""
|
|
4981
|
+
r"""<p>配置结构化文本信息。</p>
|
|
4982
4982
|
:rtype: list of MarkEssaySuggestions
|
|
4983
4983
|
"""
|
|
4984
4984
|
return self._SentenceSuggests
|
|
@@ -4989,7 +4989,7 @@ class DescribeMarkEssayAgentJobResponse(AbstractModel):
|
|
|
4989
4989
|
|
|
4990
4990
|
@property
|
|
4991
4991
|
def ErrorCode(self):
|
|
4992
|
-
r"""
|
|
4992
|
+
r"""<p>任务执行错误码。当任务状态不为 FAIL 时,该值为""。</p>
|
|
4993
4993
|
:rtype: str
|
|
4994
4994
|
"""
|
|
4995
4995
|
return self._ErrorCode
|
|
@@ -5000,7 +5000,7 @@ class DescribeMarkEssayAgentJobResponse(AbstractModel):
|
|
|
5000
5000
|
|
|
5001
5001
|
@property
|
|
5002
5002
|
def ErrorMessage(self):
|
|
5003
|
-
r"""
|
|
5003
|
+
r"""<p>任务执行错误信息。当任务状态不为 FAIL 时,该值为""。</p>
|
|
5004
5004
|
:rtype: str
|
|
5005
5005
|
"""
|
|
5006
5006
|
return self._ErrorMessage
|
|
@@ -5011,7 +5011,7 @@ class DescribeMarkEssayAgentJobResponse(AbstractModel):
|
|
|
5011
5011
|
|
|
5012
5012
|
@property
|
|
5013
5013
|
def JobStatus(self):
|
|
5014
|
-
r"""
|
|
5014
|
+
r"""<p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功</p>
|
|
5015
5015
|
:rtype: str
|
|
5016
5016
|
"""
|
|
5017
5017
|
return self._JobStatus
|
|
@@ -29341,13 +29341,13 @@ class SubmitMarkEssayAgentJobRequest(AbstractModel):
|
|
|
29341
29341
|
|
|
29342
29342
|
def __init__(self):
|
|
29343
29343
|
r"""
|
|
29344
|
-
:param _ImageBase64List:
|
|
29344
|
+
:param _ImageBase64List: <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==</p>
|
|
29345
29345
|
:type ImageBase64List: list of str
|
|
29346
|
-
:param _ImageUrlList:
|
|
29346
|
+
:param _ImageUrlList: <p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg</p>
|
|
29347
29347
|
:type ImageUrlList: list of str
|
|
29348
|
-
:param _PdfPageNumber:
|
|
29348
|
+
:param _PdfPageNumber: <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。 示例值:1</p>
|
|
29349
29349
|
:type PdfPageNumber: int
|
|
29350
|
-
:param _QuestionConfigMap:
|
|
29350
|
+
:param _QuestionConfigMap: <p>批改信息输出配置,当key对应为1表示开启配置开关。 当key为StructureAndContent value为1 表示SentenceSuggest返回篇章结构和内容信息,默认只返回词汇、语句</p>
|
|
29351
29351
|
:type QuestionConfigMap: str
|
|
29352
29352
|
"""
|
|
29353
29353
|
self._ImageBase64List = None
|
|
@@ -29357,7 +29357,7 @@ class SubmitMarkEssayAgentJobRequest(AbstractModel):
|
|
|
29357
29357
|
|
|
29358
29358
|
@property
|
|
29359
29359
|
def ImageBase64List(self):
|
|
29360
|
-
r"""
|
|
29360
|
+
r"""<p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==</p>
|
|
29361
29361
|
:rtype: list of str
|
|
29362
29362
|
"""
|
|
29363
29363
|
return self._ImageBase64List
|
|
@@ -29368,7 +29368,7 @@ class SubmitMarkEssayAgentJobRequest(AbstractModel):
|
|
|
29368
29368
|
|
|
29369
29369
|
@property
|
|
29370
29370
|
def ImageUrlList(self):
|
|
29371
|
-
r"""
|
|
29371
|
+
r"""<p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg</p>
|
|
29372
29372
|
:rtype: list of str
|
|
29373
29373
|
"""
|
|
29374
29374
|
return self._ImageUrlList
|
|
@@ -29379,7 +29379,7 @@ class SubmitMarkEssayAgentJobRequest(AbstractModel):
|
|
|
29379
29379
|
|
|
29380
29380
|
@property
|
|
29381
29381
|
def PdfPageNumber(self):
|
|
29382
|
-
r"""
|
|
29382
|
+
r"""<p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。 示例值:1</p>
|
|
29383
29383
|
:rtype: int
|
|
29384
29384
|
"""
|
|
29385
29385
|
return self._PdfPageNumber
|
|
@@ -29390,7 +29390,7 @@ class SubmitMarkEssayAgentJobRequest(AbstractModel):
|
|
|
29390
29390
|
|
|
29391
29391
|
@property
|
|
29392
29392
|
def QuestionConfigMap(self):
|
|
29393
|
-
r"""
|
|
29393
|
+
r"""<p>批改信息输出配置,当key对应为1表示开启配置开关。 当key为StructureAndContent value为1 表示SentenceSuggest返回篇章结构和内容信息,默认只返回词汇、语句</p>
|
|
29394
29394
|
:rtype: str
|
|
29395
29395
|
"""
|
|
29396
29396
|
return self._QuestionConfigMap
|
|
@@ -29422,7 +29422,7 @@ class SubmitMarkEssayAgentJobResponse(AbstractModel):
|
|
|
29422
29422
|
|
|
29423
29423
|
def __init__(self):
|
|
29424
29424
|
r"""
|
|
29425
|
-
:param _JobIds:
|
|
29425
|
+
:param _JobIds: <p>任务唯一ID。由服务端生成。 示例值:1334797167793684480</p>
|
|
29426
29426
|
:type JobIds: list of str
|
|
29427
29427
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
29428
29428
|
:type RequestId: str
|
|
@@ -29432,7 +29432,7 @@ class SubmitMarkEssayAgentJobResponse(AbstractModel):
|
|
|
29432
29432
|
|
|
29433
29433
|
@property
|
|
29434
29434
|
def JobIds(self):
|
|
29435
|
-
r"""
|
|
29435
|
+
r"""<p>任务唯一ID。由服务端生成。 示例值:1334797167793684480</p>
|
|
29436
29436
|
:rtype: list of str
|
|
29437
29437
|
"""
|
|
29438
29438
|
return self._JobIds
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.161
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.161
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.161
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.157
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|