tencentcloud-sdk-python-ocr 3.1.190__tar.gz → 3.1.193__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.190 → tencentcloud_sdk_python_ocr-3.1.193}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/setup.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/tencentcloud/ocr/v20181119/models.py +93 -14
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ocr-3.1.193/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ocr-3.1.190/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/README.rst +0 -0
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/tencentcloud/ocr/v20181119/ocr_client_async.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.190 → tencentcloud_sdk_python_ocr-3.1.193}/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.193
|
|
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.193
|
|
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.193,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ocr SDK for Python',
|
|
@@ -30607,9 +30607,9 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
30607
30607
|
|
|
30608
30608
|
def __init__(self):
|
|
30609
30609
|
r"""
|
|
30610
|
-
:param _ImageBase64: <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl
|
|
30610
|
+
:param _ImageBase64: <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
30611
30611
|
:type ImageBase64: str
|
|
30612
|
-
:param _ImageUrl: <p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url
|
|
30612
|
+
:param _ImageUrl: <p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
30613
30613
|
:type ImageUrl: str
|
|
30614
30614
|
:param _PdfPageNumber: <p>不传则默认识别整个PDF,如果识别单页则输入指定页码</p>
|
|
30615
30615
|
:type PdfPageNumber: int
|
|
@@ -30619,17 +30619,17 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
30619
30619
|
:type EnableDeepThink: bool
|
|
30620
30620
|
:param _QuestionConfigMap: <p>题目信息输出配置,当key对应为true表示开启配置开关。<br>当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;<br>当key为TrueAnswer value为true 表示输出每道题的正确答案 ;<br>当key为StepCorrection value为true表示启用步骤级批改;<br>当key为DisableAnswerAnalysis value为true表示不输出答案解析;<br>当key为OutputSubQuestionsAndCoords value为true表示输出子题干和插图坐标;<br>当key为UseCoordAssist value为true表示使用精调坐标辅助模型,false表示默认模型坐标(性能更优);</p>
|
|
30621
30621
|
:type QuestionConfigMap: str
|
|
30622
|
-
:param _ReferenceAnswer: <p
|
|
30622
|
+
:param _ReferenceAnswer: <p>【废弃字段】</p>
|
|
30623
30623
|
:type ReferenceAnswer: str
|
|
30624
|
-
:param _ImageBase64List: <p>批量base64图片入口,每个base64参考单独ImageBase64参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N
|
|
30624
|
+
:param _ImageBase64List: <p>批量base64图片入口,每个base64参考单独ImageBase64参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N来输入含正确解析试卷,最多1张</li><li>当AssistMarkType为0时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
|
|
30625
30625
|
:type ImageBase64List: list of str
|
|
30626
|
-
:param _ImageUrlList: <p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N
|
|
30626
|
+
:param _ImageUrlList: <p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N 来输入含正确解析试卷,最多1张</li><li>当AssistMarkType为1时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
|
|
30627
30627
|
:type ImageUrlList: list of str
|
|
30628
30628
|
:param _AssistMarkType: <p>辅助批改类型</p><p>枚举值:</p><ul><li>0: 无辅助批改,直接模型批改</li><li>1: 单题文本辅助批改,配合AnswerAssistMap使用</li><li>2: 整页辅助批改,待批改试卷使用ImageUrl/ImageBase64,答案部分使用ImageBase64List.N/ImageUrlList.N</li></ul><p>默认值:0</p>
|
|
30629
30629
|
:type AssistMarkType: int
|
|
30630
30630
|
:param _AnswerAssistMap: <p>单题辅助批改文本内容列表,当AssistMarkType为1时生效,用于提供题目相关的辅助文本信息。</p><ol><li>当key为ReferenceAnswer,value可以输入单题的辅助答案文本。</li><li>当key为QuestionAuxStem,value可以输入单题的辅助题干。</li></ol>
|
|
30631
30631
|
:type AnswerAssistMap: str
|
|
30632
|
-
:param _EnableImageCrop: <p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-> ReturnImageUr中l,默认为false
|
|
30632
|
+
:param _EnableImageCrop: <p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-> ReturnImageUr中l,默认为false不开启</p>
|
|
30633
30633
|
:type EnableImageCrop: bool
|
|
30634
30634
|
"""
|
|
30635
30635
|
self._ImageBase64 = None
|
|
@@ -30647,7 +30647,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
30647
30647
|
|
|
30648
30648
|
@property
|
|
30649
30649
|
def ImageBase64(self):
|
|
30650
|
-
r"""<p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl
|
|
30650
|
+
r"""<p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
30651
30651
|
:rtype: str
|
|
30652
30652
|
"""
|
|
30653
30653
|
return self._ImageBase64
|
|
@@ -30658,7 +30658,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
30658
30658
|
|
|
30659
30659
|
@property
|
|
30660
30660
|
def ImageUrl(self):
|
|
30661
|
-
r"""<p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url
|
|
30661
|
+
r"""<p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
30662
30662
|
:rtype: str
|
|
30663
30663
|
"""
|
|
30664
30664
|
return self._ImageUrl
|
|
@@ -30721,7 +30721,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
30721
30721
|
|
|
30722
30722
|
@property
|
|
30723
30723
|
def ReferenceAnswer(self):
|
|
30724
|
-
r"""<p
|
|
30724
|
+
r"""<p>【废弃字段】</p>
|
|
30725
30725
|
:rtype: str
|
|
30726
30726
|
"""
|
|
30727
30727
|
return self._ReferenceAnswer
|
|
@@ -30732,7 +30732,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
30732
30732
|
|
|
30733
30733
|
@property
|
|
30734
30734
|
def ImageBase64List(self):
|
|
30735
|
-
r"""<p>批量base64图片入口,每个base64参考单独ImageBase64参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N
|
|
30735
|
+
r"""<p>批量base64图片入口,每个base64参考单独ImageBase64参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N来输入含正确解析试卷,最多1张</li><li>当AssistMarkType为0时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
|
|
30736
30736
|
:rtype: list of str
|
|
30737
30737
|
"""
|
|
30738
30738
|
return self._ImageBase64List
|
|
@@ -30743,7 +30743,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
30743
30743
|
|
|
30744
30744
|
@property
|
|
30745
30745
|
def ImageUrlList(self):
|
|
30746
|
-
r"""<p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N
|
|
30746
|
+
r"""<p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N 来输入含正确解析试卷,最多1张</li><li>当AssistMarkType为1时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
|
|
30747
30747
|
:rtype: list of str
|
|
30748
30748
|
"""
|
|
30749
30749
|
return self._ImageUrlList
|
|
@@ -30776,7 +30776,7 @@ class SubmitQuestionMarkAgentJobRequest(AbstractModel):
|
|
|
30776
30776
|
|
|
30777
30777
|
@property
|
|
30778
30778
|
def EnableImageCrop(self):
|
|
30779
|
-
r"""<p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-> ReturnImageUr中l,默认为false
|
|
30779
|
+
r"""<p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-> ReturnImageUr中l,默认为false不开启</p>
|
|
30780
30780
|
:rtype: bool
|
|
30781
30781
|
"""
|
|
30782
30782
|
return self._EnableImageCrop
|
|
@@ -30822,7 +30822,7 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
|
|
|
30822
30822
|
:type QuestionInfo: list of QuestionInfo
|
|
30823
30823
|
:param _QuestionCount: <p>题目切题数量,作为计费题目数总量</p>
|
|
30824
30824
|
:type QuestionCount: str
|
|
30825
|
-
:param _OriginalImageUrl: <p
|
|
30825
|
+
:param _OriginalImageUrl: <p>【废弃字段】</p>
|
|
30826
30826
|
:type OriginalImageUrl: str
|
|
30827
30827
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30828
30828
|
:type RequestId: str
|
|
@@ -30868,7 +30868,7 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
|
|
|
30868
30868
|
|
|
30869
30869
|
@property
|
|
30870
30870
|
def OriginalImageUrl(self):
|
|
30871
|
-
r"""<p
|
|
30871
|
+
r"""<p>【废弃字段】</p>
|
|
30872
30872
|
:rtype: str
|
|
30873
30873
|
"""
|
|
30874
30874
|
return self._OriginalImageUrl
|
|
@@ -41508,10 +41508,19 @@ class VerifyGeneralCardWarnRequest(AbstractModel):
|
|
|
41508
41508
|
:type ImageUrl: str
|
|
41509
41509
|
:param _ImageBase64: <p>图片的 Base64 值。要求图片经Base64编码后不超过 10M。</p>
|
|
41510
41510
|
:type ImageBase64: str
|
|
41511
|
+
:param _ReasoningPrompt: <p>推理 Prompt 模板,默认使用 VLM 对图片进行理解推理,同时支持使用 ${变量名} 进行推理。传入该参数即开启推理流程。</p><p>入参限制:长度限制:1–3000 字符</p>
|
|
41512
|
+
:type ReasoningPrompt: str
|
|
41513
|
+
:param _ReasoningConfig: <p>推理输出配置。当 ReasoningPrompt 传入时建议同步传入,未传入时使用默认配置(OutputMode=enum, EnumValues=["true","false"], EnableImageInput=true)。</p>
|
|
41514
|
+
:type ReasoningConfig: :class:`tencentcloud.ocr.v20181119.models.ReasoningConfig`
|
|
41515
|
+
:param _IgnoreWatermarkCategories: <p>水印提示排除类型,选择出参“水印提示”排除掉的水印类型,不传的话即代表任意水印都会提示。 PhoneCam:手机相机水印 WatermarkCam:水印相机水印</p>
|
|
41516
|
+
:type IgnoreWatermarkCategories: list of str
|
|
41511
41517
|
"""
|
|
41512
41518
|
self._CardType = None
|
|
41513
41519
|
self._ImageUrl = None
|
|
41514
41520
|
self._ImageBase64 = None
|
|
41521
|
+
self._ReasoningPrompt = None
|
|
41522
|
+
self._ReasoningConfig = None
|
|
41523
|
+
self._IgnoreWatermarkCategories = None
|
|
41515
41524
|
|
|
41516
41525
|
@property
|
|
41517
41526
|
def CardType(self):
|
|
@@ -41546,11 +41555,49 @@ class VerifyGeneralCardWarnRequest(AbstractModel):
|
|
|
41546
41555
|
def ImageBase64(self, ImageBase64):
|
|
41547
41556
|
self._ImageBase64 = ImageBase64
|
|
41548
41557
|
|
|
41558
|
+
@property
|
|
41559
|
+
def ReasoningPrompt(self):
|
|
41560
|
+
r"""<p>推理 Prompt 模板,默认使用 VLM 对图片进行理解推理,同时支持使用 ${变量名} 进行推理。传入该参数即开启推理流程。</p><p>入参限制:长度限制:1–3000 字符</p>
|
|
41561
|
+
:rtype: str
|
|
41562
|
+
"""
|
|
41563
|
+
return self._ReasoningPrompt
|
|
41564
|
+
|
|
41565
|
+
@ReasoningPrompt.setter
|
|
41566
|
+
def ReasoningPrompt(self, ReasoningPrompt):
|
|
41567
|
+
self._ReasoningPrompt = ReasoningPrompt
|
|
41568
|
+
|
|
41569
|
+
@property
|
|
41570
|
+
def ReasoningConfig(self):
|
|
41571
|
+
r"""<p>推理输出配置。当 ReasoningPrompt 传入时建议同步传入,未传入时使用默认配置(OutputMode=enum, EnumValues=["true","false"], EnableImageInput=true)。</p>
|
|
41572
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.ReasoningConfig`
|
|
41573
|
+
"""
|
|
41574
|
+
return self._ReasoningConfig
|
|
41575
|
+
|
|
41576
|
+
@ReasoningConfig.setter
|
|
41577
|
+
def ReasoningConfig(self, ReasoningConfig):
|
|
41578
|
+
self._ReasoningConfig = ReasoningConfig
|
|
41579
|
+
|
|
41580
|
+
@property
|
|
41581
|
+
def IgnoreWatermarkCategories(self):
|
|
41582
|
+
r"""<p>水印提示排除类型,选择出参“水印提示”排除掉的水印类型,不传的话即代表任意水印都会提示。 PhoneCam:手机相机水印 WatermarkCam:水印相机水印</p>
|
|
41583
|
+
:rtype: list of str
|
|
41584
|
+
"""
|
|
41585
|
+
return self._IgnoreWatermarkCategories
|
|
41586
|
+
|
|
41587
|
+
@IgnoreWatermarkCategories.setter
|
|
41588
|
+
def IgnoreWatermarkCategories(self, IgnoreWatermarkCategories):
|
|
41589
|
+
self._IgnoreWatermarkCategories = IgnoreWatermarkCategories
|
|
41590
|
+
|
|
41549
41591
|
|
|
41550
41592
|
def _deserialize(self, params):
|
|
41551
41593
|
self._CardType = params.get("CardType")
|
|
41552
41594
|
self._ImageUrl = params.get("ImageUrl")
|
|
41553
41595
|
self._ImageBase64 = params.get("ImageBase64")
|
|
41596
|
+
self._ReasoningPrompt = params.get("ReasoningPrompt")
|
|
41597
|
+
if params.get("ReasoningConfig") is not None:
|
|
41598
|
+
self._ReasoningConfig = ReasoningConfig()
|
|
41599
|
+
self._ReasoningConfig._deserialize(params.get("ReasoningConfig"))
|
|
41600
|
+
self._IgnoreWatermarkCategories = params.get("IgnoreWatermarkCategories")
|
|
41554
41601
|
memeber_set = set(params.keys())
|
|
41555
41602
|
for name, value in vars(self).items():
|
|
41556
41603
|
property_name = name[1:]
|
|
@@ -41596,6 +41643,10 @@ class VerifyGeneralCardWarnResponse(AbstractModel):
|
|
|
41596
41643
|
:type TextWatermark: :class:`tencentcloud.ocr.v20181119.models.GeneralCardWarnInfo`
|
|
41597
41644
|
:param _WatermarkContent: <p>水印内容,当未检测到文字水印时不返回,返回多组水印时以 | 分隔。</p>
|
|
41598
41645
|
:type WatermarkContent: str
|
|
41646
|
+
:param _ReasoningResult: <p>VLM 推理结果。仅当请求中传入 ReasoningPrompt 时返回,否则不返回此字段。</p>
|
|
41647
|
+
:type ReasoningResult: :class:`tencentcloud.ocr.v20181119.models.ReasoningResult`
|
|
41648
|
+
:param _IsKeyFieldTamper: <p>是否关键字段被篡改(用于排除卡证背景等非字段区域篡改),目前支持的卡证类型:行驶证、驾驶证。<br>枚举值:<br>是<br>否<br>暂不支持</p>
|
|
41649
|
+
:type IsKeyFieldTamper: str
|
|
41599
41650
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
41600
41651
|
:type RequestId: str
|
|
41601
41652
|
"""
|
|
@@ -41613,6 +41664,8 @@ class VerifyGeneralCardWarnResponse(AbstractModel):
|
|
|
41613
41664
|
self._Electron = None
|
|
41614
41665
|
self._TextWatermark = None
|
|
41615
41666
|
self._WatermarkContent = None
|
|
41667
|
+
self._ReasoningResult = None
|
|
41668
|
+
self._IsKeyFieldTamper = None
|
|
41616
41669
|
self._RequestId = None
|
|
41617
41670
|
|
|
41618
41671
|
@property
|
|
@@ -41769,6 +41822,28 @@ class VerifyGeneralCardWarnResponse(AbstractModel):
|
|
|
41769
41822
|
def WatermarkContent(self, WatermarkContent):
|
|
41770
41823
|
self._WatermarkContent = WatermarkContent
|
|
41771
41824
|
|
|
41825
|
+
@property
|
|
41826
|
+
def ReasoningResult(self):
|
|
41827
|
+
r"""<p>VLM 推理结果。仅当请求中传入 ReasoningPrompt 时返回,否则不返回此字段。</p>
|
|
41828
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.ReasoningResult`
|
|
41829
|
+
"""
|
|
41830
|
+
return self._ReasoningResult
|
|
41831
|
+
|
|
41832
|
+
@ReasoningResult.setter
|
|
41833
|
+
def ReasoningResult(self, ReasoningResult):
|
|
41834
|
+
self._ReasoningResult = ReasoningResult
|
|
41835
|
+
|
|
41836
|
+
@property
|
|
41837
|
+
def IsKeyFieldTamper(self):
|
|
41838
|
+
r"""<p>是否关键字段被篡改(用于排除卡证背景等非字段区域篡改),目前支持的卡证类型:行驶证、驾驶证。<br>枚举值:<br>是<br>否<br>暂不支持</p>
|
|
41839
|
+
:rtype: str
|
|
41840
|
+
"""
|
|
41841
|
+
return self._IsKeyFieldTamper
|
|
41842
|
+
|
|
41843
|
+
@IsKeyFieldTamper.setter
|
|
41844
|
+
def IsKeyFieldTamper(self, IsKeyFieldTamper):
|
|
41845
|
+
self._IsKeyFieldTamper = IsKeyFieldTamper
|
|
41846
|
+
|
|
41772
41847
|
@property
|
|
41773
41848
|
def RequestId(self):
|
|
41774
41849
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -41822,6 +41897,10 @@ class VerifyGeneralCardWarnResponse(AbstractModel):
|
|
|
41822
41897
|
self._TextWatermark = GeneralCardWarnInfo()
|
|
41823
41898
|
self._TextWatermark._deserialize(params.get("TextWatermark"))
|
|
41824
41899
|
self._WatermarkContent = params.get("WatermarkContent")
|
|
41900
|
+
if params.get("ReasoningResult") is not None:
|
|
41901
|
+
self._ReasoningResult = ReasoningResult()
|
|
41902
|
+
self._ReasoningResult._deserialize(params.get("ReasoningResult"))
|
|
41903
|
+
self._IsKeyFieldTamper = params.get("IsKeyFieldTamper")
|
|
41825
41904
|
self._RequestId = params.get("RequestId")
|
|
41826
41905
|
|
|
41827
41906
|
|
|
@@ -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.193
|
|
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.193
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.193
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.190
|
|
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
|