tencentcloud-sdk-python-ocr 3.1.164__py2.py3-none-any.whl → 3.1.169__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 +1 -1
- tencentcloud/ocr/v20181119/models.py +387 -74
- tencentcloud/ocr/v20181119/ocr_client.py +46 -0
- tencentcloud/ocr/v20181119/ocr_client_async.py +36 -0
- {tencentcloud_sdk_python_ocr-3.1.164.dist-info → tencentcloud_sdk_python_ocr-3.1.169.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_ocr-3.1.169.dist-info/RECORD +11 -0
- tencentcloud_sdk_python_ocr-3.1.164.dist-info/RECORD +0 -11
- {tencentcloud_sdk_python_ocr-3.1.164.dist-info → tencentcloud_sdk_python_ocr-3.1.169.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_ocr-3.1.164.dist-info → tencentcloud_sdk_python_ocr-3.1.169.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -5205,6 +5205,135 @@ class DescribeQuestionMarkAgentJobResponse(AbstractModel):
|
|
|
5205
5205
|
self._RequestId = params.get("RequestId")
|
|
5206
5206
|
|
|
5207
5207
|
|
|
5208
|
+
class DescribeQuestionSplitJobRequest(AbstractModel):
|
|
5209
|
+
r"""DescribeQuestionSplitJob请求参数结构体
|
|
5210
|
+
|
|
5211
|
+
"""
|
|
5212
|
+
|
|
5213
|
+
def __init__(self):
|
|
5214
|
+
r"""
|
|
5215
|
+
:param _JobId: <p>任务唯一ID。由服务端生成。</p>
|
|
5216
|
+
:type JobId: str
|
|
5217
|
+
"""
|
|
5218
|
+
self._JobId = None
|
|
5219
|
+
|
|
5220
|
+
@property
|
|
5221
|
+
def JobId(self):
|
|
5222
|
+
r"""<p>任务唯一ID。由服务端生成。</p>
|
|
5223
|
+
:rtype: str
|
|
5224
|
+
"""
|
|
5225
|
+
return self._JobId
|
|
5226
|
+
|
|
5227
|
+
@JobId.setter
|
|
5228
|
+
def JobId(self, JobId):
|
|
5229
|
+
self._JobId = JobId
|
|
5230
|
+
|
|
5231
|
+
|
|
5232
|
+
def _deserialize(self, params):
|
|
5233
|
+
self._JobId = params.get("JobId")
|
|
5234
|
+
memeber_set = set(params.keys())
|
|
5235
|
+
for name, value in vars(self).items():
|
|
5236
|
+
property_name = name[1:]
|
|
5237
|
+
if property_name in memeber_set:
|
|
5238
|
+
memeber_set.remove(property_name)
|
|
5239
|
+
if len(memeber_set) > 0:
|
|
5240
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5241
|
+
|
|
5242
|
+
|
|
5243
|
+
|
|
5244
|
+
class DescribeQuestionSplitJobResponse(AbstractModel):
|
|
5245
|
+
r"""DescribeQuestionSplitJob返回参数结构体
|
|
5246
|
+
|
|
5247
|
+
"""
|
|
5248
|
+
|
|
5249
|
+
def __init__(self):
|
|
5250
|
+
r"""
|
|
5251
|
+
:param _QuestionInfo: <p>切题详情</p>
|
|
5252
|
+
:type QuestionInfo: list of QuestionInfo
|
|
5253
|
+
:param _ErrorCode: <p>任务执行错误码。当任务状态不为 FAIL 时,该值为""。</p>
|
|
5254
|
+
:type ErrorCode: str
|
|
5255
|
+
:param _ErrorMessage: <p>任务执行错误信息。当任务状态不为 FAIL 时,该值为""。</p>
|
|
5256
|
+
:type ErrorMessage: str
|
|
5257
|
+
:param _JobStatus: <p>任务状态。</p><p>枚举值:</p><ul><li>WAIT: 等待中</li><li>RUN: 执行中</li><li>FAIL: 任务失败</li><li>DONE: 任务成功</li></ul>
|
|
5258
|
+
:type JobStatus: str
|
|
5259
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5260
|
+
:type RequestId: str
|
|
5261
|
+
"""
|
|
5262
|
+
self._QuestionInfo = None
|
|
5263
|
+
self._ErrorCode = None
|
|
5264
|
+
self._ErrorMessage = None
|
|
5265
|
+
self._JobStatus = None
|
|
5266
|
+
self._RequestId = None
|
|
5267
|
+
|
|
5268
|
+
@property
|
|
5269
|
+
def QuestionInfo(self):
|
|
5270
|
+
r"""<p>切题详情</p>
|
|
5271
|
+
:rtype: list of QuestionInfo
|
|
5272
|
+
"""
|
|
5273
|
+
return self._QuestionInfo
|
|
5274
|
+
|
|
5275
|
+
@QuestionInfo.setter
|
|
5276
|
+
def QuestionInfo(self, QuestionInfo):
|
|
5277
|
+
self._QuestionInfo = QuestionInfo
|
|
5278
|
+
|
|
5279
|
+
@property
|
|
5280
|
+
def ErrorCode(self):
|
|
5281
|
+
r"""<p>任务执行错误码。当任务状态不为 FAIL 时,该值为""。</p>
|
|
5282
|
+
:rtype: str
|
|
5283
|
+
"""
|
|
5284
|
+
return self._ErrorCode
|
|
5285
|
+
|
|
5286
|
+
@ErrorCode.setter
|
|
5287
|
+
def ErrorCode(self, ErrorCode):
|
|
5288
|
+
self._ErrorCode = ErrorCode
|
|
5289
|
+
|
|
5290
|
+
@property
|
|
5291
|
+
def ErrorMessage(self):
|
|
5292
|
+
r"""<p>任务执行错误信息。当任务状态不为 FAIL 时,该值为""。</p>
|
|
5293
|
+
:rtype: str
|
|
5294
|
+
"""
|
|
5295
|
+
return self._ErrorMessage
|
|
5296
|
+
|
|
5297
|
+
@ErrorMessage.setter
|
|
5298
|
+
def ErrorMessage(self, ErrorMessage):
|
|
5299
|
+
self._ErrorMessage = ErrorMessage
|
|
5300
|
+
|
|
5301
|
+
@property
|
|
5302
|
+
def JobStatus(self):
|
|
5303
|
+
r"""<p>任务状态。</p><p>枚举值:</p><ul><li>WAIT: 等待中</li><li>RUN: 执行中</li><li>FAIL: 任务失败</li><li>DONE: 任务成功</li></ul>
|
|
5304
|
+
:rtype: str
|
|
5305
|
+
"""
|
|
5306
|
+
return self._JobStatus
|
|
5307
|
+
|
|
5308
|
+
@JobStatus.setter
|
|
5309
|
+
def JobStatus(self, JobStatus):
|
|
5310
|
+
self._JobStatus = JobStatus
|
|
5311
|
+
|
|
5312
|
+
@property
|
|
5313
|
+
def RequestId(self):
|
|
5314
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5315
|
+
:rtype: str
|
|
5316
|
+
"""
|
|
5317
|
+
return self._RequestId
|
|
5318
|
+
|
|
5319
|
+
@RequestId.setter
|
|
5320
|
+
def RequestId(self, RequestId):
|
|
5321
|
+
self._RequestId = RequestId
|
|
5322
|
+
|
|
5323
|
+
|
|
5324
|
+
def _deserialize(self, params):
|
|
5325
|
+
if params.get("QuestionInfo") is not None:
|
|
5326
|
+
self._QuestionInfo = []
|
|
5327
|
+
for item in params.get("QuestionInfo"):
|
|
5328
|
+
obj = QuestionInfo()
|
|
5329
|
+
obj._deserialize(item)
|
|
5330
|
+
self._QuestionInfo.append(obj)
|
|
5331
|
+
self._ErrorCode = params.get("ErrorCode")
|
|
5332
|
+
self._ErrorMessage = params.get("ErrorMessage")
|
|
5333
|
+
self._JobStatus = params.get("JobStatus")
|
|
5334
|
+
self._RequestId = params.get("RequestId")
|
|
5335
|
+
|
|
5336
|
+
|
|
5208
5337
|
class DetailInformationOfAirTicketTupleList(AbstractModel):
|
|
5209
5338
|
r"""机票详细信息元组
|
|
5210
5339
|
|
|
@@ -7829,27 +7958,30 @@ class Element(AbstractModel):
|
|
|
7829
7958
|
|
|
7830
7959
|
def __init__(self):
|
|
7831
7960
|
r"""
|
|
7832
|
-
:param _Text:
|
|
7961
|
+
:param _Text: <p>元素内容,当type为figure时该字段内容为图片的位置</p>
|
|
7833
7962
|
:type Text: str
|
|
7834
|
-
:param _Coord:
|
|
7963
|
+
:param _Coord: <p>元素坐标</p>
|
|
7835
7964
|
:type Coord: :class:`tencentcloud.ocr.v20181119.models.Polygon`
|
|
7836
|
-
:param _GroupType:
|
|
7965
|
+
:param _GroupType: <p>元素group类型,包括multiple-choice(选择题)、fill-in-the-blank(填空题)、problem-solving(解答题)、arithmetic(算术题)</p>
|
|
7837
7966
|
:type GroupType: str
|
|
7838
|
-
:param _ResultList:
|
|
7967
|
+
:param _ResultList: <p>结果列表</p>
|
|
7839
7968
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7840
7969
|
:type ResultList: list of ResultList
|
|
7841
|
-
:param _Index:
|
|
7970
|
+
:param _Index: <p>元素索引</p>
|
|
7842
7971
|
:type Index: int
|
|
7972
|
+
:param _PageIndex: <p>元素所在页</p><p>单位:页</p><p>默认值:1</p>
|
|
7973
|
+
:type PageIndex: int
|
|
7843
7974
|
"""
|
|
7844
7975
|
self._Text = None
|
|
7845
7976
|
self._Coord = None
|
|
7846
7977
|
self._GroupType = None
|
|
7847
7978
|
self._ResultList = None
|
|
7848
7979
|
self._Index = None
|
|
7980
|
+
self._PageIndex = None
|
|
7849
7981
|
|
|
7850
7982
|
@property
|
|
7851
7983
|
def Text(self):
|
|
7852
|
-
r"""
|
|
7984
|
+
r"""<p>元素内容,当type为figure时该字段内容为图片的位置</p>
|
|
7853
7985
|
:rtype: str
|
|
7854
7986
|
"""
|
|
7855
7987
|
return self._Text
|
|
@@ -7860,7 +7992,7 @@ class Element(AbstractModel):
|
|
|
7860
7992
|
|
|
7861
7993
|
@property
|
|
7862
7994
|
def Coord(self):
|
|
7863
|
-
r"""
|
|
7995
|
+
r"""<p>元素坐标</p>
|
|
7864
7996
|
:rtype: :class:`tencentcloud.ocr.v20181119.models.Polygon`
|
|
7865
7997
|
"""
|
|
7866
7998
|
return self._Coord
|
|
@@ -7871,7 +8003,7 @@ class Element(AbstractModel):
|
|
|
7871
8003
|
|
|
7872
8004
|
@property
|
|
7873
8005
|
def GroupType(self):
|
|
7874
|
-
r"""
|
|
8006
|
+
r"""<p>元素group类型,包括multiple-choice(选择题)、fill-in-the-blank(填空题)、problem-solving(解答题)、arithmetic(算术题)</p>
|
|
7875
8007
|
:rtype: str
|
|
7876
8008
|
"""
|
|
7877
8009
|
return self._GroupType
|
|
@@ -7882,7 +8014,7 @@ class Element(AbstractModel):
|
|
|
7882
8014
|
|
|
7883
8015
|
@property
|
|
7884
8016
|
def ResultList(self):
|
|
7885
|
-
r"""
|
|
8017
|
+
r"""<p>结果列表</p>
|
|
7886
8018
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7887
8019
|
:rtype: list of ResultList
|
|
7888
8020
|
"""
|
|
@@ -7894,7 +8026,7 @@ class Element(AbstractModel):
|
|
|
7894
8026
|
|
|
7895
8027
|
@property
|
|
7896
8028
|
def Index(self):
|
|
7897
|
-
r"""
|
|
8029
|
+
r"""<p>元素索引</p>
|
|
7898
8030
|
:rtype: int
|
|
7899
8031
|
"""
|
|
7900
8032
|
return self._Index
|
|
@@ -7903,6 +8035,17 @@ class Element(AbstractModel):
|
|
|
7903
8035
|
def Index(self, Index):
|
|
7904
8036
|
self._Index = Index
|
|
7905
8037
|
|
|
8038
|
+
@property
|
|
8039
|
+
def PageIndex(self):
|
|
8040
|
+
r"""<p>元素所在页</p><p>单位:页</p><p>默认值:1</p>
|
|
8041
|
+
:rtype: int
|
|
8042
|
+
"""
|
|
8043
|
+
return self._PageIndex
|
|
8044
|
+
|
|
8045
|
+
@PageIndex.setter
|
|
8046
|
+
def PageIndex(self, PageIndex):
|
|
8047
|
+
self._PageIndex = PageIndex
|
|
8048
|
+
|
|
7906
8049
|
|
|
7907
8050
|
def _deserialize(self, params):
|
|
7908
8051
|
self._Text = params.get("Text")
|
|
@@ -7917,6 +8060,7 @@ class Element(AbstractModel):
|
|
|
7917
8060
|
obj._deserialize(item)
|
|
7918
8061
|
self._ResultList.append(obj)
|
|
7919
8062
|
self._Index = params.get("Index")
|
|
8063
|
+
self._PageIndex = params.get("PageIndex")
|
|
7920
8064
|
memeber_set = set(params.keys())
|
|
7921
8065
|
for name, value in vars(self).items():
|
|
7922
8066
|
property_name = name[1:]
|
|
@@ -19015,56 +19159,58 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19015
19159
|
|
|
19016
19160
|
def __init__(self):
|
|
19017
19161
|
r"""
|
|
19018
|
-
:param _Title:
|
|
19162
|
+
:param _Title: <p>发票名称</p>
|
|
19019
19163
|
:type Title: str
|
|
19020
|
-
:param _Number:
|
|
19164
|
+
:param _Number: <p>发票号码</p>
|
|
19021
19165
|
:type Number: str
|
|
19022
|
-
:param _Code:
|
|
19166
|
+
:param _Code: <p>发票代码</p>
|
|
19023
19167
|
:type Code: str
|
|
19024
|
-
:param _CheckCode:
|
|
19168
|
+
:param _CheckCode: <p>校验码</p>
|
|
19025
19169
|
:type CheckCode: str
|
|
19026
|
-
:param _Date:
|
|
19170
|
+
:param _Date: <p>开票日期</p>
|
|
19027
19171
|
:type Date: str
|
|
19028
|
-
:param _Total:
|
|
19172
|
+
:param _Total: <p>价税合计(小写)</p>
|
|
19029
19173
|
:type Total: str
|
|
19030
|
-
:param _TotalCn:
|
|
19174
|
+
:param _TotalCn: <p>价税合计(大写)</p>
|
|
19031
19175
|
:type TotalCn: str
|
|
19032
|
-
:param _Buyer:
|
|
19176
|
+
:param _Buyer: <p>交款人名称</p>
|
|
19033
19177
|
:type Buyer: str
|
|
19034
|
-
:param _BuyerTaxID:
|
|
19178
|
+
:param _BuyerTaxID: <p>交款人纳税人识别号</p>
|
|
19035
19179
|
:type BuyerTaxID: str
|
|
19036
|
-
:param _Seller:
|
|
19180
|
+
:param _Seller: <p>收款人名称</p>
|
|
19037
19181
|
:type Seller: str
|
|
19038
|
-
:param _SellerCompany:
|
|
19182
|
+
:param _SellerCompany: <p>收款单位名称</p>
|
|
19039
19183
|
:type SellerCompany: str
|
|
19040
|
-
:param _Remark:
|
|
19184
|
+
:param _Remark: <p>备注</p>
|
|
19041
19185
|
:type Remark: str
|
|
19042
|
-
:param _CurrencyCode:
|
|
19186
|
+
:param _CurrencyCode: <p>币种</p>
|
|
19043
19187
|
:type CurrencyCode: str
|
|
19044
|
-
:param _Reviewer:
|
|
19188
|
+
:param _Reviewer: <p>复核人</p>
|
|
19045
19189
|
:type Reviewer: str
|
|
19046
|
-
:param _QRCodeMark:
|
|
19190
|
+
:param _QRCodeMark: <p>是否存在二维码(1:有,0:无)</p>
|
|
19047
19191
|
:type QRCodeMark: int
|
|
19048
|
-
:param _OtherInfo:
|
|
19192
|
+
:param _OtherInfo: <p>其他信息</p>
|
|
19049
19193
|
:type OtherInfo: str
|
|
19050
|
-
:param _PaymentCode:
|
|
19194
|
+
:param _PaymentCode: <p>缴款码</p>
|
|
19051
19195
|
:type PaymentCode: str
|
|
19052
|
-
:param _ReceiveUnitCode:
|
|
19196
|
+
:param _ReceiveUnitCode: <p>执收单位编码</p>
|
|
19053
19197
|
:type ReceiveUnitCode: str
|
|
19054
|
-
:param _Receiver:
|
|
19198
|
+
:param _Receiver: <p>执收单位名称</p>
|
|
19055
19199
|
:type Receiver: str
|
|
19056
|
-
:param _Operator:
|
|
19200
|
+
:param _Operator: <p>经办人</p>
|
|
19057
19201
|
:type Operator: str
|
|
19058
|
-
:param _PayerAccount:
|
|
19202
|
+
:param _PayerAccount: <p>付款人账号</p>
|
|
19059
19203
|
:type PayerAccount: str
|
|
19060
|
-
:param _PayerBank:
|
|
19204
|
+
:param _PayerBank: <p>付款人开户银行</p>
|
|
19061
19205
|
:type PayerBank: str
|
|
19062
|
-
:param _ReceiverAccount:
|
|
19206
|
+
:param _ReceiverAccount: <p>收款人账号</p>
|
|
19063
19207
|
:type ReceiverAccount: str
|
|
19064
|
-
:param _ReceiverBank:
|
|
19208
|
+
:param _ReceiverBank: <p>收款人开户银行</p>
|
|
19065
19209
|
:type ReceiverBank: str
|
|
19066
|
-
:param _NonTaxItems:
|
|
19210
|
+
:param _NonTaxItems: <p>条目</p>
|
|
19067
19211
|
:type NonTaxItems: list of NonTaxItem
|
|
19212
|
+
:param _BillName: <p>票据名称</p>
|
|
19213
|
+
:type BillName: str
|
|
19068
19214
|
"""
|
|
19069
19215
|
self._Title = None
|
|
19070
19216
|
self._Number = None
|
|
@@ -19091,10 +19237,11 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19091
19237
|
self._ReceiverAccount = None
|
|
19092
19238
|
self._ReceiverBank = None
|
|
19093
19239
|
self._NonTaxItems = None
|
|
19240
|
+
self._BillName = None
|
|
19094
19241
|
|
|
19095
19242
|
@property
|
|
19096
19243
|
def Title(self):
|
|
19097
|
-
r"""
|
|
19244
|
+
r"""<p>发票名称</p>
|
|
19098
19245
|
:rtype: str
|
|
19099
19246
|
"""
|
|
19100
19247
|
return self._Title
|
|
@@ -19105,7 +19252,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19105
19252
|
|
|
19106
19253
|
@property
|
|
19107
19254
|
def Number(self):
|
|
19108
|
-
r"""
|
|
19255
|
+
r"""<p>发票号码</p>
|
|
19109
19256
|
:rtype: str
|
|
19110
19257
|
"""
|
|
19111
19258
|
return self._Number
|
|
@@ -19116,7 +19263,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19116
19263
|
|
|
19117
19264
|
@property
|
|
19118
19265
|
def Code(self):
|
|
19119
|
-
r"""
|
|
19266
|
+
r"""<p>发票代码</p>
|
|
19120
19267
|
:rtype: str
|
|
19121
19268
|
"""
|
|
19122
19269
|
return self._Code
|
|
@@ -19127,7 +19274,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19127
19274
|
|
|
19128
19275
|
@property
|
|
19129
19276
|
def CheckCode(self):
|
|
19130
|
-
r"""
|
|
19277
|
+
r"""<p>校验码</p>
|
|
19131
19278
|
:rtype: str
|
|
19132
19279
|
"""
|
|
19133
19280
|
return self._CheckCode
|
|
@@ -19138,7 +19285,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19138
19285
|
|
|
19139
19286
|
@property
|
|
19140
19287
|
def Date(self):
|
|
19141
|
-
r"""
|
|
19288
|
+
r"""<p>开票日期</p>
|
|
19142
19289
|
:rtype: str
|
|
19143
19290
|
"""
|
|
19144
19291
|
return self._Date
|
|
@@ -19149,7 +19296,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19149
19296
|
|
|
19150
19297
|
@property
|
|
19151
19298
|
def Total(self):
|
|
19152
|
-
r"""
|
|
19299
|
+
r"""<p>价税合计(小写)</p>
|
|
19153
19300
|
:rtype: str
|
|
19154
19301
|
"""
|
|
19155
19302
|
return self._Total
|
|
@@ -19160,7 +19307,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19160
19307
|
|
|
19161
19308
|
@property
|
|
19162
19309
|
def TotalCn(self):
|
|
19163
|
-
r"""
|
|
19310
|
+
r"""<p>价税合计(大写)</p>
|
|
19164
19311
|
:rtype: str
|
|
19165
19312
|
"""
|
|
19166
19313
|
return self._TotalCn
|
|
@@ -19171,7 +19318,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19171
19318
|
|
|
19172
19319
|
@property
|
|
19173
19320
|
def Buyer(self):
|
|
19174
|
-
r"""
|
|
19321
|
+
r"""<p>交款人名称</p>
|
|
19175
19322
|
:rtype: str
|
|
19176
19323
|
"""
|
|
19177
19324
|
return self._Buyer
|
|
@@ -19182,7 +19329,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19182
19329
|
|
|
19183
19330
|
@property
|
|
19184
19331
|
def BuyerTaxID(self):
|
|
19185
|
-
r"""
|
|
19332
|
+
r"""<p>交款人纳税人识别号</p>
|
|
19186
19333
|
:rtype: str
|
|
19187
19334
|
"""
|
|
19188
19335
|
return self._BuyerTaxID
|
|
@@ -19193,7 +19340,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19193
19340
|
|
|
19194
19341
|
@property
|
|
19195
19342
|
def Seller(self):
|
|
19196
|
-
r"""
|
|
19343
|
+
r"""<p>收款人名称</p>
|
|
19197
19344
|
:rtype: str
|
|
19198
19345
|
"""
|
|
19199
19346
|
return self._Seller
|
|
@@ -19204,7 +19351,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19204
19351
|
|
|
19205
19352
|
@property
|
|
19206
19353
|
def SellerCompany(self):
|
|
19207
|
-
r"""
|
|
19354
|
+
r"""<p>收款单位名称</p>
|
|
19208
19355
|
:rtype: str
|
|
19209
19356
|
"""
|
|
19210
19357
|
return self._SellerCompany
|
|
@@ -19215,7 +19362,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19215
19362
|
|
|
19216
19363
|
@property
|
|
19217
19364
|
def Remark(self):
|
|
19218
|
-
r"""
|
|
19365
|
+
r"""<p>备注</p>
|
|
19219
19366
|
:rtype: str
|
|
19220
19367
|
"""
|
|
19221
19368
|
return self._Remark
|
|
@@ -19226,7 +19373,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19226
19373
|
|
|
19227
19374
|
@property
|
|
19228
19375
|
def CurrencyCode(self):
|
|
19229
|
-
r"""
|
|
19376
|
+
r"""<p>币种</p>
|
|
19230
19377
|
:rtype: str
|
|
19231
19378
|
"""
|
|
19232
19379
|
return self._CurrencyCode
|
|
@@ -19237,7 +19384,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19237
19384
|
|
|
19238
19385
|
@property
|
|
19239
19386
|
def Reviewer(self):
|
|
19240
|
-
r"""
|
|
19387
|
+
r"""<p>复核人</p>
|
|
19241
19388
|
:rtype: str
|
|
19242
19389
|
"""
|
|
19243
19390
|
return self._Reviewer
|
|
@@ -19248,7 +19395,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19248
19395
|
|
|
19249
19396
|
@property
|
|
19250
19397
|
def QRCodeMark(self):
|
|
19251
|
-
r"""
|
|
19398
|
+
r"""<p>是否存在二维码(1:有,0:无)</p>
|
|
19252
19399
|
:rtype: int
|
|
19253
19400
|
"""
|
|
19254
19401
|
return self._QRCodeMark
|
|
@@ -19259,7 +19406,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19259
19406
|
|
|
19260
19407
|
@property
|
|
19261
19408
|
def OtherInfo(self):
|
|
19262
|
-
r"""
|
|
19409
|
+
r"""<p>其他信息</p>
|
|
19263
19410
|
:rtype: str
|
|
19264
19411
|
"""
|
|
19265
19412
|
return self._OtherInfo
|
|
@@ -19270,7 +19417,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19270
19417
|
|
|
19271
19418
|
@property
|
|
19272
19419
|
def PaymentCode(self):
|
|
19273
|
-
r"""
|
|
19420
|
+
r"""<p>缴款码</p>
|
|
19274
19421
|
:rtype: str
|
|
19275
19422
|
"""
|
|
19276
19423
|
return self._PaymentCode
|
|
@@ -19281,7 +19428,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19281
19428
|
|
|
19282
19429
|
@property
|
|
19283
19430
|
def ReceiveUnitCode(self):
|
|
19284
|
-
r"""
|
|
19431
|
+
r"""<p>执收单位编码</p>
|
|
19285
19432
|
:rtype: str
|
|
19286
19433
|
"""
|
|
19287
19434
|
return self._ReceiveUnitCode
|
|
@@ -19292,7 +19439,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19292
19439
|
|
|
19293
19440
|
@property
|
|
19294
19441
|
def Receiver(self):
|
|
19295
|
-
r"""
|
|
19442
|
+
r"""<p>执收单位名称</p>
|
|
19296
19443
|
:rtype: str
|
|
19297
19444
|
"""
|
|
19298
19445
|
return self._Receiver
|
|
@@ -19303,7 +19450,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19303
19450
|
|
|
19304
19451
|
@property
|
|
19305
19452
|
def Operator(self):
|
|
19306
|
-
r"""
|
|
19453
|
+
r"""<p>经办人</p>
|
|
19307
19454
|
:rtype: str
|
|
19308
19455
|
"""
|
|
19309
19456
|
return self._Operator
|
|
@@ -19314,7 +19461,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19314
19461
|
|
|
19315
19462
|
@property
|
|
19316
19463
|
def PayerAccount(self):
|
|
19317
|
-
r"""
|
|
19464
|
+
r"""<p>付款人账号</p>
|
|
19318
19465
|
:rtype: str
|
|
19319
19466
|
"""
|
|
19320
19467
|
return self._PayerAccount
|
|
@@ -19325,7 +19472,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19325
19472
|
|
|
19326
19473
|
@property
|
|
19327
19474
|
def PayerBank(self):
|
|
19328
|
-
r"""
|
|
19475
|
+
r"""<p>付款人开户银行</p>
|
|
19329
19476
|
:rtype: str
|
|
19330
19477
|
"""
|
|
19331
19478
|
return self._PayerBank
|
|
@@ -19336,7 +19483,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19336
19483
|
|
|
19337
19484
|
@property
|
|
19338
19485
|
def ReceiverAccount(self):
|
|
19339
|
-
r"""
|
|
19486
|
+
r"""<p>收款人账号</p>
|
|
19340
19487
|
:rtype: str
|
|
19341
19488
|
"""
|
|
19342
19489
|
return self._ReceiverAccount
|
|
@@ -19347,7 +19494,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19347
19494
|
|
|
19348
19495
|
@property
|
|
19349
19496
|
def ReceiverBank(self):
|
|
19350
|
-
r"""
|
|
19497
|
+
r"""<p>收款人开户银行</p>
|
|
19351
19498
|
:rtype: str
|
|
19352
19499
|
"""
|
|
19353
19500
|
return self._ReceiverBank
|
|
@@ -19358,7 +19505,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19358
19505
|
|
|
19359
19506
|
@property
|
|
19360
19507
|
def NonTaxItems(self):
|
|
19361
|
-
r"""
|
|
19508
|
+
r"""<p>条目</p>
|
|
19362
19509
|
:rtype: list of NonTaxItem
|
|
19363
19510
|
"""
|
|
19364
19511
|
return self._NonTaxItems
|
|
@@ -19367,6 +19514,17 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19367
19514
|
def NonTaxItems(self, NonTaxItems):
|
|
19368
19515
|
self._NonTaxItems = NonTaxItems
|
|
19369
19516
|
|
|
19517
|
+
@property
|
|
19518
|
+
def BillName(self):
|
|
19519
|
+
r"""<p>票据名称</p>
|
|
19520
|
+
:rtype: str
|
|
19521
|
+
"""
|
|
19522
|
+
return self._BillName
|
|
19523
|
+
|
|
19524
|
+
@BillName.setter
|
|
19525
|
+
def BillName(self, BillName):
|
|
19526
|
+
self._BillName = BillName
|
|
19527
|
+
|
|
19370
19528
|
|
|
19371
19529
|
def _deserialize(self, params):
|
|
19372
19530
|
self._Title = params.get("Title")
|
|
@@ -19399,6 +19557,7 @@ class NonTaxIncomeBill(AbstractModel):
|
|
|
19399
19557
|
obj = NonTaxItem()
|
|
19400
19558
|
obj._deserialize(item)
|
|
19401
19559
|
self._NonTaxItems.append(obj)
|
|
19560
|
+
self._BillName = params.get("BillName")
|
|
19402
19561
|
memeber_set = set(params.keys())
|
|
19403
19562
|
for name, value in vars(self).items():
|
|
19404
19563
|
property_name = name[1:]
|
|
@@ -26661,26 +26820,28 @@ class ResultList(AbstractModel):
|
|
|
26661
26820
|
|
|
26662
26821
|
def __init__(self):
|
|
26663
26822
|
r"""
|
|
26664
|
-
:param _Question:
|
|
26823
|
+
:param _Question: <p>题干</p>
|
|
26665
26824
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26666
26825
|
:type Question: list of Element
|
|
26667
|
-
:param _Option:
|
|
26826
|
+
:param _Option: <p>选项</p>
|
|
26668
26827
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26669
26828
|
:type Option: list of Element
|
|
26670
|
-
:param _Figure:
|
|
26829
|
+
:param _Figure: <p>插图</p>
|
|
26671
26830
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26672
26831
|
:type Figure: list of Element
|
|
26673
|
-
:param _Table:
|
|
26832
|
+
:param _Table: <p>表格</p>
|
|
26674
26833
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26675
26834
|
:type Table: list of Element
|
|
26676
|
-
:param _Answer:
|
|
26835
|
+
:param _Answer: <p>答案</p>
|
|
26677
26836
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26678
26837
|
:type Answer: list of Element
|
|
26679
|
-
:param _Parse:
|
|
26838
|
+
:param _Parse: <p>解析</p>
|
|
26680
26839
|
:type Parse: list of Element
|
|
26681
|
-
:param _Coord:
|
|
26840
|
+
:param _Coord: <p>整题的坐标,多页单题跨页/单页单题跨栏场景下,存在一道题有多个坐标</p>
|
|
26682
26841
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26683
26842
|
:type Coord: list of Polygon
|
|
26843
|
+
:param _CoordPageIndex: <p>多坐标返回,显示坐标所在页</p><p>默认值:[]</p>
|
|
26844
|
+
:type CoordPageIndex: list of int
|
|
26684
26845
|
"""
|
|
26685
26846
|
self._Question = None
|
|
26686
26847
|
self._Option = None
|
|
@@ -26689,10 +26850,11 @@ class ResultList(AbstractModel):
|
|
|
26689
26850
|
self._Answer = None
|
|
26690
26851
|
self._Parse = None
|
|
26691
26852
|
self._Coord = None
|
|
26853
|
+
self._CoordPageIndex = None
|
|
26692
26854
|
|
|
26693
26855
|
@property
|
|
26694
26856
|
def Question(self):
|
|
26695
|
-
r"""
|
|
26857
|
+
r"""<p>题干</p>
|
|
26696
26858
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26697
26859
|
:rtype: list of Element
|
|
26698
26860
|
"""
|
|
@@ -26704,7 +26866,7 @@ class ResultList(AbstractModel):
|
|
|
26704
26866
|
|
|
26705
26867
|
@property
|
|
26706
26868
|
def Option(self):
|
|
26707
|
-
r"""
|
|
26869
|
+
r"""<p>选项</p>
|
|
26708
26870
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26709
26871
|
:rtype: list of Element
|
|
26710
26872
|
"""
|
|
@@ -26716,7 +26878,7 @@ class ResultList(AbstractModel):
|
|
|
26716
26878
|
|
|
26717
26879
|
@property
|
|
26718
26880
|
def Figure(self):
|
|
26719
|
-
r"""
|
|
26881
|
+
r"""<p>插图</p>
|
|
26720
26882
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26721
26883
|
:rtype: list of Element
|
|
26722
26884
|
"""
|
|
@@ -26728,7 +26890,7 @@ class ResultList(AbstractModel):
|
|
|
26728
26890
|
|
|
26729
26891
|
@property
|
|
26730
26892
|
def Table(self):
|
|
26731
|
-
r"""
|
|
26893
|
+
r"""<p>表格</p>
|
|
26732
26894
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26733
26895
|
:rtype: list of Element
|
|
26734
26896
|
"""
|
|
@@ -26740,7 +26902,7 @@ class ResultList(AbstractModel):
|
|
|
26740
26902
|
|
|
26741
26903
|
@property
|
|
26742
26904
|
def Answer(self):
|
|
26743
|
-
r"""
|
|
26905
|
+
r"""<p>答案</p>
|
|
26744
26906
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26745
26907
|
:rtype: list of Element
|
|
26746
26908
|
"""
|
|
@@ -26752,7 +26914,7 @@ class ResultList(AbstractModel):
|
|
|
26752
26914
|
|
|
26753
26915
|
@property
|
|
26754
26916
|
def Parse(self):
|
|
26755
|
-
r"""
|
|
26917
|
+
r"""<p>解析</p>
|
|
26756
26918
|
:rtype: list of Element
|
|
26757
26919
|
"""
|
|
26758
26920
|
return self._Parse
|
|
@@ -26763,7 +26925,7 @@ class ResultList(AbstractModel):
|
|
|
26763
26925
|
|
|
26764
26926
|
@property
|
|
26765
26927
|
def Coord(self):
|
|
26766
|
-
r"""
|
|
26928
|
+
r"""<p>整题的坐标,多页单题跨页/单页单题跨栏场景下,存在一道题有多个坐标</p>
|
|
26767
26929
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26768
26930
|
:rtype: list of Polygon
|
|
26769
26931
|
"""
|
|
@@ -26773,6 +26935,17 @@ class ResultList(AbstractModel):
|
|
|
26773
26935
|
def Coord(self, Coord):
|
|
26774
26936
|
self._Coord = Coord
|
|
26775
26937
|
|
|
26938
|
+
@property
|
|
26939
|
+
def CoordPageIndex(self):
|
|
26940
|
+
r"""<p>多坐标返回,显示坐标所在页</p><p>默认值:[]</p>
|
|
26941
|
+
:rtype: list of int
|
|
26942
|
+
"""
|
|
26943
|
+
return self._CoordPageIndex
|
|
26944
|
+
|
|
26945
|
+
@CoordPageIndex.setter
|
|
26946
|
+
def CoordPageIndex(self, CoordPageIndex):
|
|
26947
|
+
self._CoordPageIndex = CoordPageIndex
|
|
26948
|
+
|
|
26776
26949
|
|
|
26777
26950
|
def _deserialize(self, params):
|
|
26778
26951
|
if params.get("Question") is not None:
|
|
@@ -26817,6 +26990,7 @@ class ResultList(AbstractModel):
|
|
|
26817
26990
|
obj = Polygon()
|
|
26818
26991
|
obj._deserialize(item)
|
|
26819
26992
|
self._Coord.append(obj)
|
|
26993
|
+
self._CoordPageIndex = params.get("CoordPageIndex")
|
|
26820
26994
|
memeber_set = set(params.keys())
|
|
26821
26995
|
for name, value in vars(self).items():
|
|
26822
26996
|
property_name = name[1:]
|
|
@@ -29760,6 +29934,130 @@ class SubmitQuestionMarkAgentJobResponse(AbstractModel):
|
|
|
29760
29934
|
self._RequestId = params.get("RequestId")
|
|
29761
29935
|
|
|
29762
29936
|
|
|
29937
|
+
class SubmitQuestionSplitJobRequest(AbstractModel):
|
|
29938
|
+
r"""SubmitQuestionSplitJob请求参数结构体
|
|
29939
|
+
|
|
29940
|
+
"""
|
|
29941
|
+
|
|
29942
|
+
def __init__(self):
|
|
29943
|
+
r"""
|
|
29944
|
+
:param _ImageUrlList: <p>批量ImageUrl图片入口。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p><p>入参限制:要求pdf只能有一个url或base64</p>
|
|
29945
|
+
:type ImageUrlList: list of str
|
|
29946
|
+
:param _ImageBase64List: <p>批量base64图片入口。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p><p>入参限制:要求pdf只能有一个url或base64</p>
|
|
29947
|
+
:type ImageBase64List: list of str
|
|
29948
|
+
:param _ModelType: <p>选择切题模型</p><p>枚举值:</p><ul><li>youtu_crop: 轻量化切题模型,运算速度更快,适合常规切题</li><li>youtu_crop_pro: 属于切题精调大模型,针对双栏、跨栏等复杂版式识别精度大幅提升,但推理耗时更长</li></ul><p>默认值:youtu_crop</p>
|
|
29949
|
+
:type ModelType: str
|
|
29950
|
+
"""
|
|
29951
|
+
self._ImageUrlList = None
|
|
29952
|
+
self._ImageBase64List = None
|
|
29953
|
+
self._ModelType = None
|
|
29954
|
+
|
|
29955
|
+
@property
|
|
29956
|
+
def ImageUrlList(self):
|
|
29957
|
+
r"""<p>批量ImageUrl图片入口。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p><p>入参限制:要求pdf只能有一个url或base64</p>
|
|
29958
|
+
:rtype: list of str
|
|
29959
|
+
"""
|
|
29960
|
+
return self._ImageUrlList
|
|
29961
|
+
|
|
29962
|
+
@ImageUrlList.setter
|
|
29963
|
+
def ImageUrlList(self, ImageUrlList):
|
|
29964
|
+
self._ImageUrlList = ImageUrlList
|
|
29965
|
+
|
|
29966
|
+
@property
|
|
29967
|
+
def ImageBase64List(self):
|
|
29968
|
+
r"""<p>批量base64图片入口。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p><p>入参限制:要求pdf只能有一个url或base64</p>
|
|
29969
|
+
:rtype: list of str
|
|
29970
|
+
"""
|
|
29971
|
+
return self._ImageBase64List
|
|
29972
|
+
|
|
29973
|
+
@ImageBase64List.setter
|
|
29974
|
+
def ImageBase64List(self, ImageBase64List):
|
|
29975
|
+
self._ImageBase64List = ImageBase64List
|
|
29976
|
+
|
|
29977
|
+
@property
|
|
29978
|
+
def ModelType(self):
|
|
29979
|
+
r"""<p>选择切题模型</p><p>枚举值:</p><ul><li>youtu_crop: 轻量化切题模型,运算速度更快,适合常规切题</li><li>youtu_crop_pro: 属于切题精调大模型,针对双栏、跨栏等复杂版式识别精度大幅提升,但推理耗时更长</li></ul><p>默认值:youtu_crop</p>
|
|
29980
|
+
:rtype: str
|
|
29981
|
+
"""
|
|
29982
|
+
return self._ModelType
|
|
29983
|
+
|
|
29984
|
+
@ModelType.setter
|
|
29985
|
+
def ModelType(self, ModelType):
|
|
29986
|
+
self._ModelType = ModelType
|
|
29987
|
+
|
|
29988
|
+
|
|
29989
|
+
def _deserialize(self, params):
|
|
29990
|
+
self._ImageUrlList = params.get("ImageUrlList")
|
|
29991
|
+
self._ImageBase64List = params.get("ImageBase64List")
|
|
29992
|
+
self._ModelType = params.get("ModelType")
|
|
29993
|
+
memeber_set = set(params.keys())
|
|
29994
|
+
for name, value in vars(self).items():
|
|
29995
|
+
property_name = name[1:]
|
|
29996
|
+
if property_name in memeber_set:
|
|
29997
|
+
memeber_set.remove(property_name)
|
|
29998
|
+
if len(memeber_set) > 0:
|
|
29999
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
30000
|
+
|
|
30001
|
+
|
|
30002
|
+
|
|
30003
|
+
class SubmitQuestionSplitJobResponse(AbstractModel):
|
|
30004
|
+
r"""SubmitQuestionSplitJob返回参数结构体
|
|
30005
|
+
|
|
30006
|
+
"""
|
|
30007
|
+
|
|
30008
|
+
def __init__(self):
|
|
30009
|
+
r"""
|
|
30010
|
+
:param _JobId: <p>任务唯一ID。由服务端生成。</p>
|
|
30011
|
+
:type JobId: str
|
|
30012
|
+
:param _ImageZipUrl: <p>PDF 转完之后的图片压缩包列表地址。</p>
|
|
30013
|
+
:type ImageZipUrl: str
|
|
30014
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30015
|
+
:type RequestId: str
|
|
30016
|
+
"""
|
|
30017
|
+
self._JobId = None
|
|
30018
|
+
self._ImageZipUrl = None
|
|
30019
|
+
self._RequestId = None
|
|
30020
|
+
|
|
30021
|
+
@property
|
|
30022
|
+
def JobId(self):
|
|
30023
|
+
r"""<p>任务唯一ID。由服务端生成。</p>
|
|
30024
|
+
:rtype: str
|
|
30025
|
+
"""
|
|
30026
|
+
return self._JobId
|
|
30027
|
+
|
|
30028
|
+
@JobId.setter
|
|
30029
|
+
def JobId(self, JobId):
|
|
30030
|
+
self._JobId = JobId
|
|
30031
|
+
|
|
30032
|
+
@property
|
|
30033
|
+
def ImageZipUrl(self):
|
|
30034
|
+
r"""<p>PDF 转完之后的图片压缩包列表地址。</p>
|
|
30035
|
+
:rtype: str
|
|
30036
|
+
"""
|
|
30037
|
+
return self._ImageZipUrl
|
|
30038
|
+
|
|
30039
|
+
@ImageZipUrl.setter
|
|
30040
|
+
def ImageZipUrl(self, ImageZipUrl):
|
|
30041
|
+
self._ImageZipUrl = ImageZipUrl
|
|
30042
|
+
|
|
30043
|
+
@property
|
|
30044
|
+
def RequestId(self):
|
|
30045
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30046
|
+
:rtype: str
|
|
30047
|
+
"""
|
|
30048
|
+
return self._RequestId
|
|
30049
|
+
|
|
30050
|
+
@RequestId.setter
|
|
30051
|
+
def RequestId(self, RequestId):
|
|
30052
|
+
self._RequestId = RequestId
|
|
30053
|
+
|
|
30054
|
+
|
|
30055
|
+
def _deserialize(self, params):
|
|
30056
|
+
self._JobId = params.get("JobId")
|
|
30057
|
+
self._ImageZipUrl = params.get("ImageZipUrl")
|
|
30058
|
+
self._RequestId = params.get("RequestId")
|
|
30059
|
+
|
|
30060
|
+
|
|
29763
30061
|
class TableCell(AbstractModel):
|
|
29764
30062
|
r"""单元格数据
|
|
29765
30063
|
|
|
@@ -35411,6 +35709,8 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35411
35709
|
:type DateStart: str
|
|
35412
35710
|
:param _DateEnd: <p>通行日期止</p>
|
|
35413
35711
|
:type DateEnd: str
|
|
35712
|
+
:param _VinNo: <p>车架号</p>
|
|
35713
|
+
:type VinNo: str
|
|
35414
35714
|
"""
|
|
35415
35715
|
self._Name = None
|
|
35416
35716
|
self._Quantity = None
|
|
@@ -35435,6 +35735,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35435
35735
|
self._TravelLevel = None
|
|
35436
35736
|
self._DateStart = None
|
|
35437
35737
|
self._DateEnd = None
|
|
35738
|
+
self._VinNo = None
|
|
35438
35739
|
|
|
35439
35740
|
@property
|
|
35440
35741
|
def Name(self):
|
|
@@ -35689,6 +35990,17 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35689
35990
|
def DateEnd(self, DateEnd):
|
|
35690
35991
|
self._DateEnd = DateEnd
|
|
35691
35992
|
|
|
35993
|
+
@property
|
|
35994
|
+
def VinNo(self):
|
|
35995
|
+
r"""<p>车架号</p>
|
|
35996
|
+
:rtype: str
|
|
35997
|
+
"""
|
|
35998
|
+
return self._VinNo
|
|
35999
|
+
|
|
36000
|
+
@VinNo.setter
|
|
36001
|
+
def VinNo(self, VinNo):
|
|
36002
|
+
self._VinNo = VinNo
|
|
36003
|
+
|
|
35692
36004
|
|
|
35693
36005
|
def _deserialize(self, params):
|
|
35694
36006
|
self._Name = params.get("Name")
|
|
@@ -35714,6 +36026,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35714
36026
|
self._TravelLevel = params.get("TravelLevel")
|
|
35715
36027
|
self._DateStart = params.get("DateStart")
|
|
35716
36028
|
self._DateEnd = params.get("DateEnd")
|
|
36029
|
+
self._VinNo = params.get("VinNo")
|
|
35717
36030
|
memeber_set = set(params.keys())
|
|
35718
36031
|
for name, value in vars(self).items():
|
|
35719
36032
|
property_name = name[1:]
|
|
@@ -348,6 +348,29 @@ class OcrClient(AbstractClient):
|
|
|
348
348
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
349
|
|
|
350
350
|
|
|
351
|
+
def DescribeQuestionSplitJob(self, request):
|
|
352
|
+
r"""异步试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,是试卷切题的接口补充。主要解决试卷录题这类多页场景、单题跨页场景。需要 SubmitQuestionSplitOCRJob(提交任务)、DescribeQuestionSplitOCRJob(查询任务)两个接口配套使用,计费发生在提交任务后。
|
|
353
|
+
|
|
354
|
+
:param request: Request instance for DescribeQuestionSplitJob.
|
|
355
|
+
:type request: :class:`tencentcloud.ocr.v20181119.models.DescribeQuestionSplitJobRequest`
|
|
356
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.DescribeQuestionSplitJobResponse`
|
|
357
|
+
|
|
358
|
+
"""
|
|
359
|
+
try:
|
|
360
|
+
params = request._serialize()
|
|
361
|
+
headers = request.headers
|
|
362
|
+
body = self.call("DescribeQuestionSplitJob", params, headers=headers)
|
|
363
|
+
response = json.loads(body)
|
|
364
|
+
model = models.DescribeQuestionSplitJobResponse()
|
|
365
|
+
model._deserialize(response["Response"])
|
|
366
|
+
return model
|
|
367
|
+
except Exception as e:
|
|
368
|
+
if isinstance(e, TencentCloudSDKException):
|
|
369
|
+
raise
|
|
370
|
+
else:
|
|
371
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
|
+
|
|
373
|
+
|
|
351
374
|
def DriverLicenseOCR(self, request):
|
|
352
375
|
r"""本接口支持驾驶证主页和副页所有字段的自动定位与识别,重点字段的识别准确度达到99%以上。
|
|
353
376
|
|
|
@@ -2109,6 +2132,29 @@ class OcrClient(AbstractClient):
|
|
|
2109
2132
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2110
2133
|
|
|
2111
2134
|
|
|
2135
|
+
def SubmitQuestionSplitJob(self, request):
|
|
2136
|
+
r"""异步试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,是试卷切题的接口补充。主要解决试卷录题这类多页场景、单题跨页场景。需要 SubmitQuestionSplitOCRJob(提交任务)、DescribeQuestionSplitOCRJob(查询任务)两个接口配套使用,计费发生在提交任务后。
|
|
2137
|
+
|
|
2138
|
+
:param request: Request instance for SubmitQuestionSplitJob.
|
|
2139
|
+
:type request: :class:`tencentcloud.ocr.v20181119.models.SubmitQuestionSplitJobRequest`
|
|
2140
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.SubmitQuestionSplitJobResponse`
|
|
2141
|
+
|
|
2142
|
+
"""
|
|
2143
|
+
try:
|
|
2144
|
+
params = request._serialize()
|
|
2145
|
+
headers = request.headers
|
|
2146
|
+
body = self.call("SubmitQuestionSplitJob", params, headers=headers)
|
|
2147
|
+
response = json.loads(body)
|
|
2148
|
+
model = models.SubmitQuestionSplitJobResponse()
|
|
2149
|
+
model._deserialize(response["Response"])
|
|
2150
|
+
return model
|
|
2151
|
+
except Exception as e:
|
|
2152
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2153
|
+
raise
|
|
2154
|
+
else:
|
|
2155
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2156
|
+
|
|
2157
|
+
|
|
2112
2158
|
def TableOCR(self, request):
|
|
2113
2159
|
r"""<b>此接口为表格识别的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/49525">新版表格识别</a>。</b>
|
|
2114
2160
|
|
|
@@ -282,6 +282,24 @@ class OcrClient(AbstractClient):
|
|
|
282
282
|
|
|
283
283
|
return await self.call_and_deserialize(**kwargs)
|
|
284
284
|
|
|
285
|
+
async def DescribeQuestionSplitJob(
|
|
286
|
+
self,
|
|
287
|
+
request: models.DescribeQuestionSplitJobRequest,
|
|
288
|
+
opts: Dict = None,
|
|
289
|
+
) -> models.DescribeQuestionSplitJobResponse:
|
|
290
|
+
"""
|
|
291
|
+
异步试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,是试卷切题的接口补充。主要解决试卷录题这类多页场景、单题跨页场景。需要 SubmitQuestionSplitOCRJob(提交任务)、DescribeQuestionSplitOCRJob(查询任务)两个接口配套使用,计费发生在提交任务后。
|
|
292
|
+
"""
|
|
293
|
+
|
|
294
|
+
kwargs = {}
|
|
295
|
+
kwargs["action"] = "DescribeQuestionSplitJob"
|
|
296
|
+
kwargs["params"] = request._serialize()
|
|
297
|
+
kwargs["resp_cls"] = models.DescribeQuestionSplitJobResponse
|
|
298
|
+
kwargs["headers"] = request.headers
|
|
299
|
+
kwargs["opts"] = opts or {}
|
|
300
|
+
|
|
301
|
+
return await self.call_and_deserialize(**kwargs)
|
|
302
|
+
|
|
285
303
|
async def DriverLicenseOCR(
|
|
286
304
|
self,
|
|
287
305
|
request: models.DriverLicenseOCRRequest,
|
|
@@ -1788,6 +1806,24 @@ class OcrClient(AbstractClient):
|
|
|
1788
1806
|
|
|
1789
1807
|
return await self.call_and_deserialize(**kwargs)
|
|
1790
1808
|
|
|
1809
|
+
async def SubmitQuestionSplitJob(
|
|
1810
|
+
self,
|
|
1811
|
+
request: models.SubmitQuestionSplitJobRequest,
|
|
1812
|
+
opts: Dict = None,
|
|
1813
|
+
) -> models.SubmitQuestionSplitJobResponse:
|
|
1814
|
+
"""
|
|
1815
|
+
异步试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,是试卷切题的接口补充。主要解决试卷录题这类多页场景、单题跨页场景。需要 SubmitQuestionSplitOCRJob(提交任务)、DescribeQuestionSplitOCRJob(查询任务)两个接口配套使用,计费发生在提交任务后。
|
|
1816
|
+
"""
|
|
1817
|
+
|
|
1818
|
+
kwargs = {}
|
|
1819
|
+
kwargs["action"] = "SubmitQuestionSplitJob"
|
|
1820
|
+
kwargs["params"] = request._serialize()
|
|
1821
|
+
kwargs["resp_cls"] = models.SubmitQuestionSplitJobResponse
|
|
1822
|
+
kwargs["headers"] = request.headers
|
|
1823
|
+
kwargs["opts"] = opts or {}
|
|
1824
|
+
|
|
1825
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1826
|
+
|
|
1791
1827
|
async def TableOCR(
|
|
1792
1828
|
self,
|
|
1793
1829
|
request: models.TableOCRRequest,
|
|
@@ -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.169
|
|
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.169
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=HnDCMRL5mci0tPT3Sl0Qh_d1hIggRW83QOx62CbPrW8,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=JIZv0T7mSsIMfQKdQjHDSsF8oW-b9rJTZovBM5qM9xU,7187
|
|
5
|
+
tencentcloud/ocr/v20181119/models.py,sha256=7tofJMA8cX-XPSKSRzykx0J1CPSiqxuqk86ii2ONshQ,1381920
|
|
6
|
+
tencentcloud/ocr/v20181119/ocr_client.py,sha256=MZX3O0TX_12XtVKVOtA1-2fs0KhOCkJ7LAoo2rpW2Ng,118356
|
|
7
|
+
tencentcloud/ocr/v20181119/ocr_client_async.py,sha256=aq83FVT5UoXQ_cwNp5_FHaqcrUXqgPdCmwVI4OA0r30,94327
|
|
8
|
+
tencentcloud_sdk_python_ocr-3.1.169.dist-info/METADATA,sha256=MBLMrechdJUubmmTQxch0R8N2G9geA4eHjEkijFi-Zc,1497
|
|
9
|
+
tencentcloud_sdk_python_ocr-3.1.169.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_ocr-3.1.169.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_ocr-3.1.169.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=uU7__J_ZHKBf7DZFIXDR1_Yv2gZauhGaLmrahoeetO0,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=JIZv0T7mSsIMfQKdQjHDSsF8oW-b9rJTZovBM5qM9xU,7187
|
|
5
|
-
tencentcloud/ocr/v20181119/models.py,sha256=mguSYq84Y7HuwD9jMPQNyL8oELKzXC20qJJxQWan698,1369536
|
|
6
|
-
tencentcloud/ocr/v20181119/ocr_client.py,sha256=ZabsztKSo-Wr7q92zk0c73F9LZI-1Aa--SZ1KPQb37Y,115772
|
|
7
|
-
tencentcloud/ocr/v20181119/ocr_client_async.py,sha256=t3sEKg7Mebi8piK1TTcVDnNQxVnp0YRil-tPvmtctJ0,92353
|
|
8
|
-
tencentcloud_sdk_python_ocr-3.1.164.dist-info/METADATA,sha256=0BZebwyZlcfyarMrZVDzUa6NKQLu55TE4fJeE8IOcfk,1497
|
|
9
|
-
tencentcloud_sdk_python_ocr-3.1.164.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
-
tencentcloud_sdk_python_ocr-3.1.164.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
-
tencentcloud_sdk_python_ocr-3.1.164.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|