tencentcloud-sdk-python 3.0.1274__py2.py3-none-any.whl → 3.0.1276__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/apigateway/v20180808/apigateway_client.py +46 -0
- tencentcloud/apigateway/v20180808/models.py +362 -0
- tencentcloud/autoscaling/v20180419/models.py +28 -11
- tencentcloud/batch/v20170312/models.py +48 -68
- tencentcloud/bi/v20220105/bi_client.py +46 -0
- tencentcloud/bi/v20220105/errorcodes.py +3 -0
- tencentcloud/bi/v20220105/models.py +701 -24
- tencentcloud/billing/v20180709/models.py +150 -34
- tencentcloud/cam/v20190116/models.py +2 -2
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/cdb/v20170320/models.py +732 -48
- tencentcloud/cdwch/v20200915/errorcodes.py +6 -0
- tencentcloud/cdwdoris/v20211228/models.py +2 -2
- tencentcloud/cfs/v20190719/models.py +30 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +1 -1
- tencentcloud/ckafka/v20190819/models.py +490 -324
- tencentcloud/cloudapp/v20220530/models.py +4 -4
- tencentcloud/cloudhsm/v20191112/models.py +10 -170
- tencentcloud/cls/v20201016/cls_client.py +1 -1
- tencentcloud/cls/v20201016/models.py +10 -4
- tencentcloud/config/v20220802/config_client.py +46 -0
- tencentcloud/config/v20220802/models.py +664 -0
- tencentcloud/cvm/v20170312/models.py +48 -68
- tencentcloud/cwp/v20180228/models.py +2 -2
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
- tencentcloud/cynosdb/v20190107/models.py +226 -4
- tencentcloud/dts/v20211206/models.py +30 -0
- tencentcloud/emr/v20190103/models.py +33 -16
- tencentcloud/ess/v20201111/models.py +244 -2
- tencentcloud/essbasic/v20210526/models.py +239 -4
- tencentcloud/faceid/v20180301/models.py +0 -2
- tencentcloud/gwlb/v20240906/models.py +2 -2
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +23 -0
- tencentcloud/hunyuan/v20230901/models.py +595 -4
- tencentcloud/ims/v20201229/models.py +4 -4
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +286 -6
- tencentcloud/ivld/v20210903/errorcodes.py +2 -2
- tencentcloud/ivld/v20210903/ivld_client.py +0 -1
- tencentcloud/ivld/v20210903/models.py +133 -15
- tencentcloud/lcic/v20220817/lcic_client.py +46 -0
- tencentcloud/lcic/v20220817/models.py +494 -12
- tencentcloud/live/v20180801/errorcodes.py +18 -0
- tencentcloud/live/v20180801/live_client.py +208 -0
- tencentcloud/live/v20180801/models.py +1649 -255
- tencentcloud/lke/v20231130/lke_client.py +162 -1
- tencentcloud/lke/v20231130/models.py +1517 -187
- tencentcloud/mps/v20190612/errorcodes.py +2 -173
- tencentcloud/mps/v20190612/models.py +377 -19
- tencentcloud/mrs/v20200910/models.py +0 -2652
- tencentcloud/ocr/v20181119/models.py +156 -2313
- tencentcloud/ocr/v20181119/ocr_client.py +0 -190
- tencentcloud/organization/v20210331/models.py +4 -354
- tencentcloud/privatedns/v20201028/models.py +47 -0
- tencentcloud/rce/v20201103/models.py +2 -2
- tencentcloud/redis/v20180412/models.py +2 -2
- tencentcloud/scf/v20180416/models.py +2 -2
- tencentcloud/teo/v20220901/models.py +366 -18
- tencentcloud/teo/v20220901/teo_client.py +69 -0
- tencentcloud/tke/v20220501/models.py +200 -0
- tencentcloud/tmt/v20180321/tmt_client.py +1 -1
- tencentcloud/trocket/v20230308/models.py +24 -24
- tencentcloud/trtc/v20190722/errorcodes.py +15 -0
- tencentcloud/trtc/v20190722/models.py +448 -0
- tencentcloud/trtc/v20190722/trtc_client.py +47 -0
- tencentcloud/tsf/v20180326/models.py +2405 -334
- tencentcloud/tsf/v20180326/tsf_client.py +3 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/vclm/v20240523/models.py +156 -10
- tencentcloud/vclm/v20240523/vclm_client.py +23 -0
- tencentcloud/vcube/__init__.py +0 -0
- tencentcloud/vcube/v20220410/__init__.py +0 -0
- tencentcloud/vcube/v20220410/errorcodes.py +72 -0
- tencentcloud/vcube/v20220410/models.py +7325 -0
- tencentcloud/vcube/v20220410/vcube_client.py +808 -0
- tencentcloud/vdb/v20230616/models.py +45 -0
- tencentcloud/vod/v20180717/errorcodes.py +6 -0
- tencentcloud/vod/v20180717/models.py +62 -2
- tencentcloud/vod/v20180717/vod_client.py +2 -2
- tencentcloud/vpc/v20170312/models.py +272 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1274.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1274.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/RECORD +88 -83
- {tencentcloud_sdk_python-3.0.1274.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1274.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1274.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/top_level.txt +0 -0
@@ -22777,43 +22777,46 @@ class RecognizeHealthCodeOCRResponse(AbstractModel):
|
|
22777
22777
|
self._RequestId = params.get("RequestId")
|
22778
22778
|
|
22779
22779
|
|
22780
|
-
class
|
22781
|
-
"""
|
22780
|
+
class RecognizeMedicalInvoiceOCRRequest(AbstractModel):
|
22781
|
+
"""RecognizeMedicalInvoiceOCR请求参数结构体
|
22782
22782
|
|
22783
22783
|
"""
|
22784
22784
|
|
22785
22785
|
def __init__(self):
|
22786
22786
|
r"""
|
22787
|
-
:param _ImageBase64: 图片的
|
22788
|
-
|
22789
|
-
|
22790
|
-
|
22787
|
+
:param _ImageBase64: 图片的Base64 值。
|
22788
|
+
支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
22789
|
+
支持的图片大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
|
22790
|
+
输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
22791
22791
|
:type ImageBase64: str
|
22792
|
-
:param _ImageUrl: 图片的
|
22793
|
-
|
22794
|
-
|
22792
|
+
:param _ImageUrl: 图片的Url 地址。
|
22793
|
+
支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
22794
|
+
支持的图片大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
|
22795
22795
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
22796
22796
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
22797
22797
|
:type ImageUrl: str
|
22798
|
-
:param
|
22799
|
-
:type
|
22800
|
-
:param
|
22801
|
-
|
22802
|
-
|
22803
|
-
|
22804
|
-
:
|
22798
|
+
:param _ReturnVertex: 是否需要返回识别出的文本行在原图上的四点坐标,默认不返回
|
22799
|
+
:type ReturnVertex: bool
|
22800
|
+
:param _ReturnCoord: 是否需要返回识别出的文本行在旋转纠正之后的图像中的四点坐标,默认不返回
|
22801
|
+
:type ReturnCoord: bool
|
22802
|
+
:param _IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
22803
|
+
:type IsPdf: bool
|
22804
|
+
:param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
22805
|
+
:type PdfPageNumber: int
|
22805
22806
|
"""
|
22806
22807
|
self._ImageBase64 = None
|
22807
22808
|
self._ImageUrl = None
|
22808
|
-
self.
|
22809
|
-
self.
|
22809
|
+
self._ReturnVertex = None
|
22810
|
+
self._ReturnCoord = None
|
22811
|
+
self._IsPdf = None
|
22812
|
+
self._PdfPageNumber = None
|
22810
22813
|
|
22811
22814
|
@property
|
22812
22815
|
def ImageBase64(self):
|
22813
|
-
"""图片的
|
22814
|
-
|
22815
|
-
|
22816
|
-
|
22816
|
+
"""图片的Base64 值。
|
22817
|
+
支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
22818
|
+
支持的图片大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
|
22819
|
+
输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
22817
22820
|
:rtype: str
|
22818
22821
|
"""
|
22819
22822
|
return self._ImageBase64
|
@@ -22824,9 +22827,9 @@ V2
|
|
22824
22827
|
|
22825
22828
|
@property
|
22826
22829
|
def ImageUrl(self):
|
22827
|
-
"""图片的
|
22828
|
-
|
22829
|
-
|
22830
|
+
"""图片的Url 地址。
|
22831
|
+
支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
22832
|
+
支持的图片大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
|
22830
22833
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
22831
22834
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
22832
22835
|
:rtype: str
|
@@ -22838,2075 +22841,106 @@ V2
|
|
22838
22841
|
self._ImageUrl = ImageUrl
|
22839
22842
|
|
22840
22843
|
@property
|
22841
|
-
def
|
22842
|
-
"""
|
22844
|
+
def ReturnVertex(self):
|
22845
|
+
"""是否需要返回识别出的文本行在原图上的四点坐标,默认不返回
|
22843
22846
|
:rtype: bool
|
22844
22847
|
"""
|
22845
|
-
return self.
|
22846
|
-
|
22847
|
-
@ReturnHeadImage.setter
|
22848
|
-
def ReturnHeadImage(self, ReturnHeadImage):
|
22849
|
-
self._ReturnHeadImage = ReturnHeadImage
|
22850
|
-
|
22851
|
-
@property
|
22852
|
-
def Scene(self):
|
22853
|
-
"""场景参数,默认值为V1
|
22854
|
-
可选值:
|
22855
|
-
V1
|
22856
|
-
V2
|
22857
|
-
:rtype: str
|
22858
|
-
"""
|
22859
|
-
return self._Scene
|
22860
|
-
|
22861
|
-
@Scene.setter
|
22862
|
-
def Scene(self, Scene):
|
22863
|
-
self._Scene = Scene
|
22864
|
-
|
22865
|
-
|
22866
|
-
def _deserialize(self, params):
|
22867
|
-
self._ImageBase64 = params.get("ImageBase64")
|
22868
|
-
self._ImageUrl = params.get("ImageUrl")
|
22869
|
-
self._ReturnHeadImage = params.get("ReturnHeadImage")
|
22870
|
-
self._Scene = params.get("Scene")
|
22871
|
-
memeber_set = set(params.keys())
|
22872
|
-
for name, value in vars(self).items():
|
22873
|
-
property_name = name[1:]
|
22874
|
-
if property_name in memeber_set:
|
22875
|
-
memeber_set.remove(property_name)
|
22876
|
-
if len(memeber_set) > 0:
|
22877
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22878
|
-
|
22879
|
-
|
22880
|
-
|
22881
|
-
class RecognizeIndonesiaIDCardOCRResponse(AbstractModel):
|
22882
|
-
"""RecognizeIndonesiaIDCardOCR返回参数结构体
|
22883
|
-
|
22884
|
-
"""
|
22885
|
-
|
22886
|
-
def __init__(self):
|
22887
|
-
r"""
|
22888
|
-
:param _NIK: 证件号码
|
22889
|
-
:type NIK: str
|
22890
|
-
:param _Nama: 姓名
|
22891
|
-
:type Nama: str
|
22892
|
-
:param _TempatTglLahir: 出生地/出生时间
|
22893
|
-
:type TempatTglLahir: str
|
22894
|
-
:param _JenisKelamin: 性别
|
22895
|
-
:type JenisKelamin: str
|
22896
|
-
:param _GolDarah: 血型
|
22897
|
-
:type GolDarah: str
|
22898
|
-
:param _Alamat: 地址
|
22899
|
-
:type Alamat: str
|
22900
|
-
:param _RTRW: 街道
|
22901
|
-
:type RTRW: str
|
22902
|
-
:param _KelDesa: 村
|
22903
|
-
:type KelDesa: str
|
22904
|
-
:param _Kecamatan: 地区
|
22905
|
-
:type Kecamatan: str
|
22906
|
-
:param _Agama: 宗教信仰
|
22907
|
-
:type Agama: str
|
22908
|
-
:param _StatusPerkawinan: 婚姻状况
|
22909
|
-
:type StatusPerkawinan: str
|
22910
|
-
:param _Perkerjaan: 职业
|
22911
|
-
:type Perkerjaan: str
|
22912
|
-
:param _KewargaNegaraan: 国籍
|
22913
|
-
:type KewargaNegaraan: str
|
22914
|
-
:param _BerlakuHingga: 身份证有效期限
|
22915
|
-
:type BerlakuHingga: str
|
22916
|
-
:param _IssuedDate: 发证日期
|
22917
|
-
:type IssuedDate: str
|
22918
|
-
:param _Photo: 人像截图
|
22919
|
-
:type Photo: str
|
22920
|
-
:param _Provinsi: 省份,Scene为V2时支持识别
|
22921
|
-
:type Provinsi: str
|
22922
|
-
:param _Kota: 城市,Scene为V2时支持识别
|
22923
|
-
:type Kota: str
|
22924
|
-
:param _WarnCardInfos: 告警码
|
22925
|
-
-9101 证件边框不完整告警
|
22926
|
-
-9102 证件复印件告警
|
22927
|
-
-9103 证件翻拍告警
|
22928
|
-
-9107 证件反光告警
|
22929
|
-
-9108 证件模糊告警
|
22930
|
-
-9109 告警能力未开通
|
22931
|
-
:type WarnCardInfos: list of int
|
22932
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22933
|
-
:type RequestId: str
|
22934
|
-
"""
|
22935
|
-
self._NIK = None
|
22936
|
-
self._Nama = None
|
22937
|
-
self._TempatTglLahir = None
|
22938
|
-
self._JenisKelamin = None
|
22939
|
-
self._GolDarah = None
|
22940
|
-
self._Alamat = None
|
22941
|
-
self._RTRW = None
|
22942
|
-
self._KelDesa = None
|
22943
|
-
self._Kecamatan = None
|
22944
|
-
self._Agama = None
|
22945
|
-
self._StatusPerkawinan = None
|
22946
|
-
self._Perkerjaan = None
|
22947
|
-
self._KewargaNegaraan = None
|
22948
|
-
self._BerlakuHingga = None
|
22949
|
-
self._IssuedDate = None
|
22950
|
-
self._Photo = None
|
22951
|
-
self._Provinsi = None
|
22952
|
-
self._Kota = None
|
22953
|
-
self._WarnCardInfos = None
|
22954
|
-
self._RequestId = None
|
22955
|
-
|
22956
|
-
@property
|
22957
|
-
def NIK(self):
|
22958
|
-
"""证件号码
|
22959
|
-
:rtype: str
|
22960
|
-
"""
|
22961
|
-
return self._NIK
|
22962
|
-
|
22963
|
-
@NIK.setter
|
22964
|
-
def NIK(self, NIK):
|
22965
|
-
self._NIK = NIK
|
22966
|
-
|
22967
|
-
@property
|
22968
|
-
def Nama(self):
|
22969
|
-
"""姓名
|
22970
|
-
:rtype: str
|
22971
|
-
"""
|
22972
|
-
return self._Nama
|
22973
|
-
|
22974
|
-
@Nama.setter
|
22975
|
-
def Nama(self, Nama):
|
22976
|
-
self._Nama = Nama
|
22977
|
-
|
22978
|
-
@property
|
22979
|
-
def TempatTglLahir(self):
|
22980
|
-
"""出生地/出生时间
|
22981
|
-
:rtype: str
|
22982
|
-
"""
|
22983
|
-
return self._TempatTglLahir
|
22984
|
-
|
22985
|
-
@TempatTglLahir.setter
|
22986
|
-
def TempatTglLahir(self, TempatTglLahir):
|
22987
|
-
self._TempatTglLahir = TempatTglLahir
|
22988
|
-
|
22989
|
-
@property
|
22990
|
-
def JenisKelamin(self):
|
22991
|
-
"""性别
|
22992
|
-
:rtype: str
|
22993
|
-
"""
|
22994
|
-
return self._JenisKelamin
|
22995
|
-
|
22996
|
-
@JenisKelamin.setter
|
22997
|
-
def JenisKelamin(self, JenisKelamin):
|
22998
|
-
self._JenisKelamin = JenisKelamin
|
22999
|
-
|
23000
|
-
@property
|
23001
|
-
def GolDarah(self):
|
23002
|
-
"""血型
|
23003
|
-
:rtype: str
|
23004
|
-
"""
|
23005
|
-
return self._GolDarah
|
23006
|
-
|
23007
|
-
@GolDarah.setter
|
23008
|
-
def GolDarah(self, GolDarah):
|
23009
|
-
self._GolDarah = GolDarah
|
23010
|
-
|
23011
|
-
@property
|
23012
|
-
def Alamat(self):
|
23013
|
-
"""地址
|
23014
|
-
:rtype: str
|
23015
|
-
"""
|
23016
|
-
return self._Alamat
|
23017
|
-
|
23018
|
-
@Alamat.setter
|
23019
|
-
def Alamat(self, Alamat):
|
23020
|
-
self._Alamat = Alamat
|
23021
|
-
|
23022
|
-
@property
|
23023
|
-
def RTRW(self):
|
23024
|
-
"""街道
|
23025
|
-
:rtype: str
|
23026
|
-
"""
|
23027
|
-
return self._RTRW
|
23028
|
-
|
23029
|
-
@RTRW.setter
|
23030
|
-
def RTRW(self, RTRW):
|
23031
|
-
self._RTRW = RTRW
|
23032
|
-
|
23033
|
-
@property
|
23034
|
-
def KelDesa(self):
|
23035
|
-
"""村
|
23036
|
-
:rtype: str
|
23037
|
-
"""
|
23038
|
-
return self._KelDesa
|
23039
|
-
|
23040
|
-
@KelDesa.setter
|
23041
|
-
def KelDesa(self, KelDesa):
|
23042
|
-
self._KelDesa = KelDesa
|
23043
|
-
|
23044
|
-
@property
|
23045
|
-
def Kecamatan(self):
|
23046
|
-
"""地区
|
23047
|
-
:rtype: str
|
23048
|
-
"""
|
23049
|
-
return self._Kecamatan
|
23050
|
-
|
23051
|
-
@Kecamatan.setter
|
23052
|
-
def Kecamatan(self, Kecamatan):
|
23053
|
-
self._Kecamatan = Kecamatan
|
23054
|
-
|
23055
|
-
@property
|
23056
|
-
def Agama(self):
|
23057
|
-
"""宗教信仰
|
23058
|
-
:rtype: str
|
23059
|
-
"""
|
23060
|
-
return self._Agama
|
23061
|
-
|
23062
|
-
@Agama.setter
|
23063
|
-
def Agama(self, Agama):
|
23064
|
-
self._Agama = Agama
|
23065
|
-
|
23066
|
-
@property
|
23067
|
-
def StatusPerkawinan(self):
|
23068
|
-
"""婚姻状况
|
23069
|
-
:rtype: str
|
23070
|
-
"""
|
23071
|
-
return self._StatusPerkawinan
|
23072
|
-
|
23073
|
-
@StatusPerkawinan.setter
|
23074
|
-
def StatusPerkawinan(self, StatusPerkawinan):
|
23075
|
-
self._StatusPerkawinan = StatusPerkawinan
|
23076
|
-
|
23077
|
-
@property
|
23078
|
-
def Perkerjaan(self):
|
23079
|
-
"""职业
|
23080
|
-
:rtype: str
|
23081
|
-
"""
|
23082
|
-
return self._Perkerjaan
|
23083
|
-
|
23084
|
-
@Perkerjaan.setter
|
23085
|
-
def Perkerjaan(self, Perkerjaan):
|
23086
|
-
self._Perkerjaan = Perkerjaan
|
23087
|
-
|
23088
|
-
@property
|
23089
|
-
def KewargaNegaraan(self):
|
23090
|
-
"""国籍
|
23091
|
-
:rtype: str
|
23092
|
-
"""
|
23093
|
-
return self._KewargaNegaraan
|
23094
|
-
|
23095
|
-
@KewargaNegaraan.setter
|
23096
|
-
def KewargaNegaraan(self, KewargaNegaraan):
|
23097
|
-
self._KewargaNegaraan = KewargaNegaraan
|
23098
|
-
|
23099
|
-
@property
|
23100
|
-
def BerlakuHingga(self):
|
23101
|
-
"""身份证有效期限
|
23102
|
-
:rtype: str
|
23103
|
-
"""
|
23104
|
-
return self._BerlakuHingga
|
23105
|
-
|
23106
|
-
@BerlakuHingga.setter
|
23107
|
-
def BerlakuHingga(self, BerlakuHingga):
|
23108
|
-
self._BerlakuHingga = BerlakuHingga
|
23109
|
-
|
23110
|
-
@property
|
23111
|
-
def IssuedDate(self):
|
23112
|
-
"""发证日期
|
23113
|
-
:rtype: str
|
23114
|
-
"""
|
23115
|
-
return self._IssuedDate
|
23116
|
-
|
23117
|
-
@IssuedDate.setter
|
23118
|
-
def IssuedDate(self, IssuedDate):
|
23119
|
-
self._IssuedDate = IssuedDate
|
23120
|
-
|
23121
|
-
@property
|
23122
|
-
def Photo(self):
|
23123
|
-
"""人像截图
|
23124
|
-
:rtype: str
|
23125
|
-
"""
|
23126
|
-
return self._Photo
|
23127
|
-
|
23128
|
-
@Photo.setter
|
23129
|
-
def Photo(self, Photo):
|
23130
|
-
self._Photo = Photo
|
23131
|
-
|
23132
|
-
@property
|
23133
|
-
def Provinsi(self):
|
23134
|
-
"""省份,Scene为V2时支持识别
|
23135
|
-
:rtype: str
|
23136
|
-
"""
|
23137
|
-
return self._Provinsi
|
22848
|
+
return self._ReturnVertex
|
23138
22849
|
|
23139
|
-
@
|
23140
|
-
def
|
23141
|
-
self.
|
22850
|
+
@ReturnVertex.setter
|
22851
|
+
def ReturnVertex(self, ReturnVertex):
|
22852
|
+
self._ReturnVertex = ReturnVertex
|
23142
22853
|
|
23143
22854
|
@property
|
23144
|
-
def
|
23145
|
-
"""
|
23146
|
-
:rtype:
|
22855
|
+
def ReturnCoord(self):
|
22856
|
+
"""是否需要返回识别出的文本行在旋转纠正之后的图像中的四点坐标,默认不返回
|
22857
|
+
:rtype: bool
|
23147
22858
|
"""
|
23148
|
-
return self.
|
22859
|
+
return self._ReturnCoord
|
23149
22860
|
|
23150
|
-
@
|
23151
|
-
def
|
23152
|
-
self.
|
22861
|
+
@ReturnCoord.setter
|
22862
|
+
def ReturnCoord(self, ReturnCoord):
|
22863
|
+
self._ReturnCoord = ReturnCoord
|
23153
22864
|
|
23154
22865
|
@property
|
23155
|
-
def
|
23156
|
-
"""
|
23157
|
-
|
23158
|
-
-9102 证件复印件告警
|
23159
|
-
-9103 证件翻拍告警
|
23160
|
-
-9107 证件反光告警
|
23161
|
-
-9108 证件模糊告警
|
23162
|
-
-9109 告警能力未开通
|
23163
|
-
:rtype: list of int
|
22866
|
+
def IsPdf(self):
|
22867
|
+
"""是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
22868
|
+
:rtype: bool
|
23164
22869
|
"""
|
23165
|
-
return self.
|
22870
|
+
return self._IsPdf
|
23166
22871
|
|
23167
|
-
@
|
23168
|
-
def
|
23169
|
-
self.
|
22872
|
+
@IsPdf.setter
|
22873
|
+
def IsPdf(self, IsPdf):
|
22874
|
+
self._IsPdf = IsPdf
|
23170
22875
|
|
23171
22876
|
@property
|
23172
|
-
def
|
23173
|
-
"""
|
23174
|
-
:rtype:
|
22877
|
+
def PdfPageNumber(self):
|
22878
|
+
"""需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
22879
|
+
:rtype: int
|
23175
22880
|
"""
|
23176
|
-
return self.
|
23177
|
-
|
23178
|
-
@RequestId.setter
|
23179
|
-
def RequestId(self, RequestId):
|
23180
|
-
self._RequestId = RequestId
|
23181
|
-
|
23182
|
-
|
23183
|
-
def _deserialize(self, params):
|
23184
|
-
self._NIK = params.get("NIK")
|
23185
|
-
self._Nama = params.get("Nama")
|
23186
|
-
self._TempatTglLahir = params.get("TempatTglLahir")
|
23187
|
-
self._JenisKelamin = params.get("JenisKelamin")
|
23188
|
-
self._GolDarah = params.get("GolDarah")
|
23189
|
-
self._Alamat = params.get("Alamat")
|
23190
|
-
self._RTRW = params.get("RTRW")
|
23191
|
-
self._KelDesa = params.get("KelDesa")
|
23192
|
-
self._Kecamatan = params.get("Kecamatan")
|
23193
|
-
self._Agama = params.get("Agama")
|
23194
|
-
self._StatusPerkawinan = params.get("StatusPerkawinan")
|
23195
|
-
self._Perkerjaan = params.get("Perkerjaan")
|
23196
|
-
self._KewargaNegaraan = params.get("KewargaNegaraan")
|
23197
|
-
self._BerlakuHingga = params.get("BerlakuHingga")
|
23198
|
-
self._IssuedDate = params.get("IssuedDate")
|
23199
|
-
self._Photo = params.get("Photo")
|
23200
|
-
self._Provinsi = params.get("Provinsi")
|
23201
|
-
self._Kota = params.get("Kota")
|
23202
|
-
self._WarnCardInfos = params.get("WarnCardInfos")
|
23203
|
-
self._RequestId = params.get("RequestId")
|
23204
|
-
|
23205
|
-
|
23206
|
-
class RecognizeKoreanDrivingLicenseOCRRequest(AbstractModel):
|
23207
|
-
"""RecognizeKoreanDrivingLicenseOCR请求参数结构体
|
22881
|
+
return self._PdfPageNumber
|
23208
22882
|
|
23209
|
-
|
22883
|
+
@PdfPageNumber.setter
|
22884
|
+
def PdfPageNumber(self, PdfPageNumber):
|
22885
|
+
self._PdfPageNumber = PdfPageNumber
|
23210
22886
|
|
23211
|
-
def __init__(self):
|
23212
|
-
r"""
|
23213
|
-
:param _ImageBase64: 图片的 Base64 值。
|
23214
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23215
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
23216
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
23217
|
-
:type ImageBase64: str
|
23218
|
-
:param _ImageUrl: 图片的 Url 地址。
|
23219
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23220
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
23221
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
23222
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
23223
|
-
:type ImageUrl: str
|
23224
|
-
:param _ReturnHeadImage: 是否返回人像照片。
|
23225
|
-
:type ReturnHeadImage: bool
|
23226
|
-
"""
|
23227
|
-
self._ImageBase64 = None
|
23228
|
-
self._ImageUrl = None
|
23229
|
-
self._ReturnHeadImage = None
|
23230
|
-
|
23231
|
-
@property
|
23232
|
-
def ImageBase64(self):
|
23233
|
-
"""图片的 Base64 值。
|
23234
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23235
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
23236
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
23237
|
-
:rtype: str
|
23238
|
-
"""
|
23239
|
-
return self._ImageBase64
|
23240
|
-
|
23241
|
-
@ImageBase64.setter
|
23242
|
-
def ImageBase64(self, ImageBase64):
|
23243
|
-
self._ImageBase64 = ImageBase64
|
23244
|
-
|
23245
|
-
@property
|
23246
|
-
def ImageUrl(self):
|
23247
|
-
"""图片的 Url 地址。
|
23248
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23249
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
23250
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
23251
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
23252
|
-
:rtype: str
|
23253
|
-
"""
|
23254
|
-
return self._ImageUrl
|
23255
|
-
|
23256
|
-
@ImageUrl.setter
|
23257
|
-
def ImageUrl(self, ImageUrl):
|
23258
|
-
self._ImageUrl = ImageUrl
|
23259
|
-
|
23260
|
-
@property
|
23261
|
-
def ReturnHeadImage(self):
|
23262
|
-
"""是否返回人像照片。
|
23263
|
-
:rtype: bool
|
23264
|
-
"""
|
23265
|
-
return self._ReturnHeadImage
|
23266
|
-
|
23267
|
-
@ReturnHeadImage.setter
|
23268
|
-
def ReturnHeadImage(self, ReturnHeadImage):
|
23269
|
-
self._ReturnHeadImage = ReturnHeadImage
|
23270
|
-
|
23271
|
-
|
23272
|
-
def _deserialize(self, params):
|
23273
|
-
self._ImageBase64 = params.get("ImageBase64")
|
23274
|
-
self._ImageUrl = params.get("ImageUrl")
|
23275
|
-
self._ReturnHeadImage = params.get("ReturnHeadImage")
|
23276
|
-
memeber_set = set(params.keys())
|
23277
|
-
for name, value in vars(self).items():
|
23278
|
-
property_name = name[1:]
|
23279
|
-
if property_name in memeber_set:
|
23280
|
-
memeber_set.remove(property_name)
|
23281
|
-
if len(memeber_set) > 0:
|
23282
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23283
|
-
|
23284
|
-
|
23285
|
-
|
23286
|
-
class RecognizeKoreanDrivingLicenseOCRResponse(AbstractModel):
|
23287
|
-
"""RecognizeKoreanDrivingLicenseOCR返回参数结构体
|
23288
|
-
|
23289
|
-
"""
|
23290
|
-
|
23291
|
-
def __init__(self):
|
23292
|
-
r"""
|
23293
|
-
:param _ID: 身份证号码
|
23294
|
-
:type ID: str
|
23295
|
-
:param _LicenseNumber: 驾照号码
|
23296
|
-
:type LicenseNumber: str
|
23297
|
-
:param _Number: 居民登记号码
|
23298
|
-
:type Number: str
|
23299
|
-
:param _Type: 驾照类型
|
23300
|
-
:type Type: str
|
23301
|
-
:param _Address: 地址
|
23302
|
-
:type Address: str
|
23303
|
-
:param _Name: 姓名
|
23304
|
-
:type Name: str
|
23305
|
-
:param _AptitudeTesDate: 换证时间
|
23306
|
-
:type AptitudeTesDate: str
|
23307
|
-
:param _DateOfIssue: 发证日期
|
23308
|
-
:type DateOfIssue: str
|
23309
|
-
:param _Photo: 人像截图Base64后的结果
|
23310
|
-
:type Photo: str
|
23311
|
-
:param _Sex: 性别
|
23312
|
-
:type Sex: str
|
23313
|
-
:param _Birthday: 生日,格式为dd/mm/yyyy
|
23314
|
-
:type Birthday: str
|
23315
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23316
|
-
:type RequestId: str
|
23317
|
-
"""
|
23318
|
-
self._ID = None
|
23319
|
-
self._LicenseNumber = None
|
23320
|
-
self._Number = None
|
23321
|
-
self._Type = None
|
23322
|
-
self._Address = None
|
23323
|
-
self._Name = None
|
23324
|
-
self._AptitudeTesDate = None
|
23325
|
-
self._DateOfIssue = None
|
23326
|
-
self._Photo = None
|
23327
|
-
self._Sex = None
|
23328
|
-
self._Birthday = None
|
23329
|
-
self._RequestId = None
|
23330
|
-
|
23331
|
-
@property
|
23332
|
-
def ID(self):
|
23333
|
-
"""身份证号码
|
23334
|
-
:rtype: str
|
23335
|
-
"""
|
23336
|
-
return self._ID
|
23337
|
-
|
23338
|
-
@ID.setter
|
23339
|
-
def ID(self, ID):
|
23340
|
-
self._ID = ID
|
23341
|
-
|
23342
|
-
@property
|
23343
|
-
def LicenseNumber(self):
|
23344
|
-
"""驾照号码
|
23345
|
-
:rtype: str
|
23346
|
-
"""
|
23347
|
-
return self._LicenseNumber
|
23348
|
-
|
23349
|
-
@LicenseNumber.setter
|
23350
|
-
def LicenseNumber(self, LicenseNumber):
|
23351
|
-
self._LicenseNumber = LicenseNumber
|
23352
|
-
|
23353
|
-
@property
|
23354
|
-
def Number(self):
|
23355
|
-
"""居民登记号码
|
23356
|
-
:rtype: str
|
23357
|
-
"""
|
23358
|
-
return self._Number
|
23359
|
-
|
23360
|
-
@Number.setter
|
23361
|
-
def Number(self, Number):
|
23362
|
-
self._Number = Number
|
23363
|
-
|
23364
|
-
@property
|
23365
|
-
def Type(self):
|
23366
|
-
"""驾照类型
|
23367
|
-
:rtype: str
|
23368
|
-
"""
|
23369
|
-
return self._Type
|
23370
|
-
|
23371
|
-
@Type.setter
|
23372
|
-
def Type(self, Type):
|
23373
|
-
self._Type = Type
|
23374
|
-
|
23375
|
-
@property
|
23376
|
-
def Address(self):
|
23377
|
-
"""地址
|
23378
|
-
:rtype: str
|
23379
|
-
"""
|
23380
|
-
return self._Address
|
23381
|
-
|
23382
|
-
@Address.setter
|
23383
|
-
def Address(self, Address):
|
23384
|
-
self._Address = Address
|
23385
|
-
|
23386
|
-
@property
|
23387
|
-
def Name(self):
|
23388
|
-
"""姓名
|
23389
|
-
:rtype: str
|
23390
|
-
"""
|
23391
|
-
return self._Name
|
23392
|
-
|
23393
|
-
@Name.setter
|
23394
|
-
def Name(self, Name):
|
23395
|
-
self._Name = Name
|
23396
|
-
|
23397
|
-
@property
|
23398
|
-
def AptitudeTesDate(self):
|
23399
|
-
"""换证时间
|
23400
|
-
:rtype: str
|
23401
|
-
"""
|
23402
|
-
return self._AptitudeTesDate
|
23403
|
-
|
23404
|
-
@AptitudeTesDate.setter
|
23405
|
-
def AptitudeTesDate(self, AptitudeTesDate):
|
23406
|
-
self._AptitudeTesDate = AptitudeTesDate
|
23407
|
-
|
23408
|
-
@property
|
23409
|
-
def DateOfIssue(self):
|
23410
|
-
"""发证日期
|
23411
|
-
:rtype: str
|
23412
|
-
"""
|
23413
|
-
return self._DateOfIssue
|
23414
|
-
|
23415
|
-
@DateOfIssue.setter
|
23416
|
-
def DateOfIssue(self, DateOfIssue):
|
23417
|
-
self._DateOfIssue = DateOfIssue
|
23418
|
-
|
23419
|
-
@property
|
23420
|
-
def Photo(self):
|
23421
|
-
"""人像截图Base64后的结果
|
23422
|
-
:rtype: str
|
23423
|
-
"""
|
23424
|
-
return self._Photo
|
23425
|
-
|
23426
|
-
@Photo.setter
|
23427
|
-
def Photo(self, Photo):
|
23428
|
-
self._Photo = Photo
|
23429
|
-
|
23430
|
-
@property
|
23431
|
-
def Sex(self):
|
23432
|
-
"""性别
|
23433
|
-
:rtype: str
|
23434
|
-
"""
|
23435
|
-
return self._Sex
|
23436
|
-
|
23437
|
-
@Sex.setter
|
23438
|
-
def Sex(self, Sex):
|
23439
|
-
self._Sex = Sex
|
23440
|
-
|
23441
|
-
@property
|
23442
|
-
def Birthday(self):
|
23443
|
-
"""生日,格式为dd/mm/yyyy
|
23444
|
-
:rtype: str
|
23445
|
-
"""
|
23446
|
-
return self._Birthday
|
23447
|
-
|
23448
|
-
@Birthday.setter
|
23449
|
-
def Birthday(self, Birthday):
|
23450
|
-
self._Birthday = Birthday
|
23451
|
-
|
23452
|
-
@property
|
23453
|
-
def RequestId(self):
|
23454
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23455
|
-
:rtype: str
|
23456
|
-
"""
|
23457
|
-
return self._RequestId
|
23458
|
-
|
23459
|
-
@RequestId.setter
|
23460
|
-
def RequestId(self, RequestId):
|
23461
|
-
self._RequestId = RequestId
|
23462
|
-
|
23463
|
-
|
23464
|
-
def _deserialize(self, params):
|
23465
|
-
self._ID = params.get("ID")
|
23466
|
-
self._LicenseNumber = params.get("LicenseNumber")
|
23467
|
-
self._Number = params.get("Number")
|
23468
|
-
self._Type = params.get("Type")
|
23469
|
-
self._Address = params.get("Address")
|
23470
|
-
self._Name = params.get("Name")
|
23471
|
-
self._AptitudeTesDate = params.get("AptitudeTesDate")
|
23472
|
-
self._DateOfIssue = params.get("DateOfIssue")
|
23473
|
-
self._Photo = params.get("Photo")
|
23474
|
-
self._Sex = params.get("Sex")
|
23475
|
-
self._Birthday = params.get("Birthday")
|
23476
|
-
self._RequestId = params.get("RequestId")
|
23477
|
-
|
23478
|
-
|
23479
|
-
class RecognizeKoreanIDCardOCRRequest(AbstractModel):
|
23480
|
-
"""RecognizeKoreanIDCardOCR请求参数结构体
|
23481
|
-
|
23482
|
-
"""
|
23483
|
-
|
23484
|
-
def __init__(self):
|
23485
|
-
r"""
|
23486
|
-
:param _ImageBase64: 图片的 Base64 值。
|
23487
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23488
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
23489
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
23490
|
-
:type ImageBase64: str
|
23491
|
-
:param _ImageUrl: 图片的 Url 地址。
|
23492
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23493
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
23494
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
23495
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
23496
|
-
:type ImageUrl: str
|
23497
|
-
:param _ReturnHeadImage: 是否返回人像照片。
|
23498
|
-
:type ReturnHeadImage: bool
|
23499
|
-
"""
|
23500
|
-
self._ImageBase64 = None
|
23501
|
-
self._ImageUrl = None
|
23502
|
-
self._ReturnHeadImage = None
|
23503
|
-
|
23504
|
-
@property
|
23505
|
-
def ImageBase64(self):
|
23506
|
-
"""图片的 Base64 值。
|
23507
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23508
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
23509
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
23510
|
-
:rtype: str
|
23511
|
-
"""
|
23512
|
-
return self._ImageBase64
|
23513
|
-
|
23514
|
-
@ImageBase64.setter
|
23515
|
-
def ImageBase64(self, ImageBase64):
|
23516
|
-
self._ImageBase64 = ImageBase64
|
23517
|
-
|
23518
|
-
@property
|
23519
|
-
def ImageUrl(self):
|
23520
|
-
"""图片的 Url 地址。
|
23521
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23522
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
23523
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
23524
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
23525
|
-
:rtype: str
|
23526
|
-
"""
|
23527
|
-
return self._ImageUrl
|
23528
|
-
|
23529
|
-
@ImageUrl.setter
|
23530
|
-
def ImageUrl(self, ImageUrl):
|
23531
|
-
self._ImageUrl = ImageUrl
|
23532
|
-
|
23533
|
-
@property
|
23534
|
-
def ReturnHeadImage(self):
|
23535
|
-
"""是否返回人像照片。
|
23536
|
-
:rtype: bool
|
23537
|
-
"""
|
23538
|
-
return self._ReturnHeadImage
|
23539
|
-
|
23540
|
-
@ReturnHeadImage.setter
|
23541
|
-
def ReturnHeadImage(self, ReturnHeadImage):
|
23542
|
-
self._ReturnHeadImage = ReturnHeadImage
|
23543
|
-
|
23544
|
-
|
23545
|
-
def _deserialize(self, params):
|
23546
|
-
self._ImageBase64 = params.get("ImageBase64")
|
23547
|
-
self._ImageUrl = params.get("ImageUrl")
|
23548
|
-
self._ReturnHeadImage = params.get("ReturnHeadImage")
|
23549
|
-
memeber_set = set(params.keys())
|
23550
|
-
for name, value in vars(self).items():
|
23551
|
-
property_name = name[1:]
|
23552
|
-
if property_name in memeber_set:
|
23553
|
-
memeber_set.remove(property_name)
|
23554
|
-
if len(memeber_set) > 0:
|
23555
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23556
|
-
|
23557
|
-
|
23558
|
-
|
23559
|
-
class RecognizeKoreanIDCardOCRResponse(AbstractModel):
|
23560
|
-
"""RecognizeKoreanIDCardOCR返回参数结构体
|
23561
|
-
|
23562
|
-
"""
|
23563
|
-
|
23564
|
-
def __init__(self):
|
23565
|
-
r"""
|
23566
|
-
:param _ID: 身份证号码
|
23567
|
-
:type ID: str
|
23568
|
-
:param _Address: 地址
|
23569
|
-
:type Address: str
|
23570
|
-
:param _Name: 姓名
|
23571
|
-
:type Name: str
|
23572
|
-
:param _DateOfIssue: 发证日期
|
23573
|
-
:type DateOfIssue: str
|
23574
|
-
:param _Photo: 人像截图Base64后的结果
|
23575
|
-
:type Photo: str
|
23576
|
-
:param _Sex: 性别
|
23577
|
-
:type Sex: str
|
23578
|
-
:param _Birthday: 生日,格式为dd/mm/yyyy
|
23579
|
-
:type Birthday: str
|
23580
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23581
|
-
:type RequestId: str
|
23582
|
-
"""
|
23583
|
-
self._ID = None
|
23584
|
-
self._Address = None
|
23585
|
-
self._Name = None
|
23586
|
-
self._DateOfIssue = None
|
23587
|
-
self._Photo = None
|
23588
|
-
self._Sex = None
|
23589
|
-
self._Birthday = None
|
23590
|
-
self._RequestId = None
|
23591
|
-
|
23592
|
-
@property
|
23593
|
-
def ID(self):
|
23594
|
-
"""身份证号码
|
23595
|
-
:rtype: str
|
23596
|
-
"""
|
23597
|
-
return self._ID
|
23598
|
-
|
23599
|
-
@ID.setter
|
23600
|
-
def ID(self, ID):
|
23601
|
-
self._ID = ID
|
23602
|
-
|
23603
|
-
@property
|
23604
|
-
def Address(self):
|
23605
|
-
"""地址
|
23606
|
-
:rtype: str
|
23607
|
-
"""
|
23608
|
-
return self._Address
|
23609
|
-
|
23610
|
-
@Address.setter
|
23611
|
-
def Address(self, Address):
|
23612
|
-
self._Address = Address
|
23613
|
-
|
23614
|
-
@property
|
23615
|
-
def Name(self):
|
23616
|
-
"""姓名
|
23617
|
-
:rtype: str
|
23618
|
-
"""
|
23619
|
-
return self._Name
|
23620
|
-
|
23621
|
-
@Name.setter
|
23622
|
-
def Name(self, Name):
|
23623
|
-
self._Name = Name
|
23624
|
-
|
23625
|
-
@property
|
23626
|
-
def DateOfIssue(self):
|
23627
|
-
"""发证日期
|
23628
|
-
:rtype: str
|
23629
|
-
"""
|
23630
|
-
return self._DateOfIssue
|
23631
|
-
|
23632
|
-
@DateOfIssue.setter
|
23633
|
-
def DateOfIssue(self, DateOfIssue):
|
23634
|
-
self._DateOfIssue = DateOfIssue
|
23635
|
-
|
23636
|
-
@property
|
23637
|
-
def Photo(self):
|
23638
|
-
"""人像截图Base64后的结果
|
23639
|
-
:rtype: str
|
23640
|
-
"""
|
23641
|
-
return self._Photo
|
23642
|
-
|
23643
|
-
@Photo.setter
|
23644
|
-
def Photo(self, Photo):
|
23645
|
-
self._Photo = Photo
|
23646
|
-
|
23647
|
-
@property
|
23648
|
-
def Sex(self):
|
23649
|
-
"""性别
|
23650
|
-
:rtype: str
|
23651
|
-
"""
|
23652
|
-
return self._Sex
|
23653
|
-
|
23654
|
-
@Sex.setter
|
23655
|
-
def Sex(self, Sex):
|
23656
|
-
self._Sex = Sex
|
23657
|
-
|
23658
|
-
@property
|
23659
|
-
def Birthday(self):
|
23660
|
-
"""生日,格式为dd/mm/yyyy
|
23661
|
-
:rtype: str
|
23662
|
-
"""
|
23663
|
-
return self._Birthday
|
23664
|
-
|
23665
|
-
@Birthday.setter
|
23666
|
-
def Birthday(self, Birthday):
|
23667
|
-
self._Birthday = Birthday
|
23668
|
-
|
23669
|
-
@property
|
23670
|
-
def RequestId(self):
|
23671
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23672
|
-
:rtype: str
|
23673
|
-
"""
|
23674
|
-
return self._RequestId
|
23675
|
-
|
23676
|
-
@RequestId.setter
|
23677
|
-
def RequestId(self, RequestId):
|
23678
|
-
self._RequestId = RequestId
|
23679
|
-
|
23680
|
-
|
23681
|
-
def _deserialize(self, params):
|
23682
|
-
self._ID = params.get("ID")
|
23683
|
-
self._Address = params.get("Address")
|
23684
|
-
self._Name = params.get("Name")
|
23685
|
-
self._DateOfIssue = params.get("DateOfIssue")
|
23686
|
-
self._Photo = params.get("Photo")
|
23687
|
-
self._Sex = params.get("Sex")
|
23688
|
-
self._Birthday = params.get("Birthday")
|
23689
|
-
self._RequestId = params.get("RequestId")
|
23690
|
-
|
23691
|
-
|
23692
|
-
class RecognizeMedicalInvoiceOCRRequest(AbstractModel):
|
23693
|
-
"""RecognizeMedicalInvoiceOCR请求参数结构体
|
23694
|
-
|
23695
|
-
"""
|
23696
|
-
|
23697
|
-
def __init__(self):
|
23698
|
-
r"""
|
23699
|
-
:param _ImageBase64: 图片的Base64 值。
|
23700
|
-
支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23701
|
-
支持的图片大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
|
23702
|
-
输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
23703
|
-
:type ImageBase64: str
|
23704
|
-
:param _ImageUrl: 图片的Url 地址。
|
23705
|
-
支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23706
|
-
支持的图片大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
|
23707
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
23708
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
23709
|
-
:type ImageUrl: str
|
23710
|
-
:param _ReturnVertex: 是否需要返回识别出的文本行在原图上的四点坐标,默认不返回
|
23711
|
-
:type ReturnVertex: bool
|
23712
|
-
:param _ReturnCoord: 是否需要返回识别出的文本行在旋转纠正之后的图像中的四点坐标,默认不返回
|
23713
|
-
:type ReturnCoord: bool
|
23714
|
-
:param _IsPdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
23715
|
-
:type IsPdf: bool
|
23716
|
-
:param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
23717
|
-
:type PdfPageNumber: int
|
23718
|
-
"""
|
23719
|
-
self._ImageBase64 = None
|
23720
|
-
self._ImageUrl = None
|
23721
|
-
self._ReturnVertex = None
|
23722
|
-
self._ReturnCoord = None
|
23723
|
-
self._IsPdf = None
|
23724
|
-
self._PdfPageNumber = None
|
23725
|
-
|
23726
|
-
@property
|
23727
|
-
def ImageBase64(self):
|
23728
|
-
"""图片的Base64 值。
|
23729
|
-
支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23730
|
-
支持的图片大小:所下载文件经Base64编码后不超过 7M。文件下载时间不超过 3 秒。
|
23731
|
-
输入参数 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
23732
|
-
:rtype: str
|
23733
|
-
"""
|
23734
|
-
return self._ImageBase64
|
23735
|
-
|
23736
|
-
@ImageBase64.setter
|
23737
|
-
def ImageBase64(self, ImageBase64):
|
23738
|
-
self._ImageBase64 = ImageBase64
|
23739
|
-
|
23740
|
-
@property
|
23741
|
-
def ImageUrl(self):
|
23742
|
-
"""图片的Url 地址。
|
23743
|
-
支持的文件格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23744
|
-
支持的图片大小:所下载文件经 Base64 编码后不超过 7M。文件下载时间不超过 3 秒。
|
23745
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
23746
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
23747
|
-
:rtype: str
|
23748
|
-
"""
|
23749
|
-
return self._ImageUrl
|
23750
|
-
|
23751
|
-
@ImageUrl.setter
|
23752
|
-
def ImageUrl(self, ImageUrl):
|
23753
|
-
self._ImageUrl = ImageUrl
|
23754
|
-
|
23755
|
-
@property
|
23756
|
-
def ReturnVertex(self):
|
23757
|
-
"""是否需要返回识别出的文本行在原图上的四点坐标,默认不返回
|
23758
|
-
:rtype: bool
|
23759
|
-
"""
|
23760
|
-
return self._ReturnVertex
|
23761
|
-
|
23762
|
-
@ReturnVertex.setter
|
23763
|
-
def ReturnVertex(self, ReturnVertex):
|
23764
|
-
self._ReturnVertex = ReturnVertex
|
23765
|
-
|
23766
|
-
@property
|
23767
|
-
def ReturnCoord(self):
|
23768
|
-
"""是否需要返回识别出的文本行在旋转纠正之后的图像中的四点坐标,默认不返回
|
23769
|
-
:rtype: bool
|
23770
|
-
"""
|
23771
|
-
return self._ReturnCoord
|
23772
|
-
|
23773
|
-
@ReturnCoord.setter
|
23774
|
-
def ReturnCoord(self, ReturnCoord):
|
23775
|
-
self._ReturnCoord = ReturnCoord
|
23776
|
-
|
23777
|
-
@property
|
23778
|
-
def IsPdf(self):
|
23779
|
-
"""是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
23780
|
-
:rtype: bool
|
23781
|
-
"""
|
23782
|
-
return self._IsPdf
|
23783
|
-
|
23784
|
-
@IsPdf.setter
|
23785
|
-
def IsPdf(self, IsPdf):
|
23786
|
-
self._IsPdf = IsPdf
|
23787
|
-
|
23788
|
-
@property
|
23789
|
-
def PdfPageNumber(self):
|
23790
|
-
"""需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
23791
|
-
:rtype: int
|
23792
|
-
"""
|
23793
|
-
return self._PdfPageNumber
|
23794
|
-
|
23795
|
-
@PdfPageNumber.setter
|
23796
|
-
def PdfPageNumber(self, PdfPageNumber):
|
23797
|
-
self._PdfPageNumber = PdfPageNumber
|
23798
|
-
|
23799
|
-
|
23800
|
-
def _deserialize(self, params):
|
23801
|
-
self._ImageBase64 = params.get("ImageBase64")
|
23802
|
-
self._ImageUrl = params.get("ImageUrl")
|
23803
|
-
self._ReturnVertex = params.get("ReturnVertex")
|
23804
|
-
self._ReturnCoord = params.get("ReturnCoord")
|
23805
|
-
self._IsPdf = params.get("IsPdf")
|
23806
|
-
self._PdfPageNumber = params.get("PdfPageNumber")
|
23807
|
-
memeber_set = set(params.keys())
|
23808
|
-
for name, value in vars(self).items():
|
23809
|
-
property_name = name[1:]
|
23810
|
-
if property_name in memeber_set:
|
23811
|
-
memeber_set.remove(property_name)
|
23812
|
-
if len(memeber_set) > 0:
|
23813
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23814
|
-
|
23815
|
-
|
23816
|
-
|
23817
|
-
class RecognizeMedicalInvoiceOCRResponse(AbstractModel):
|
23818
|
-
"""RecognizeMedicalInvoiceOCR返回参数结构体
|
23819
|
-
|
23820
|
-
"""
|
23821
|
-
|
23822
|
-
def __init__(self):
|
23823
|
-
r"""
|
23824
|
-
:param _MedicalInvoiceInfos: 识别出的字段信息
|
23825
|
-
:type MedicalInvoiceInfos: list of MedicalInvoiceInfo
|
23826
|
-
:param _Angle: 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
23827
|
-
:type Angle: float
|
23828
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23829
|
-
:type RequestId: str
|
23830
|
-
"""
|
23831
|
-
self._MedicalInvoiceInfos = None
|
23832
|
-
self._Angle = None
|
23833
|
-
self._RequestId = None
|
23834
|
-
|
23835
|
-
@property
|
23836
|
-
def MedicalInvoiceInfos(self):
|
23837
|
-
"""识别出的字段信息
|
23838
|
-
:rtype: list of MedicalInvoiceInfo
|
23839
|
-
"""
|
23840
|
-
return self._MedicalInvoiceInfos
|
23841
|
-
|
23842
|
-
@MedicalInvoiceInfos.setter
|
23843
|
-
def MedicalInvoiceInfos(self, MedicalInvoiceInfos):
|
23844
|
-
self._MedicalInvoiceInfos = MedicalInvoiceInfos
|
23845
|
-
|
23846
|
-
@property
|
23847
|
-
def Angle(self):
|
23848
|
-
"""图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
23849
|
-
:rtype: float
|
23850
|
-
"""
|
23851
|
-
return self._Angle
|
23852
|
-
|
23853
|
-
@Angle.setter
|
23854
|
-
def Angle(self, Angle):
|
23855
|
-
self._Angle = Angle
|
23856
|
-
|
23857
|
-
@property
|
23858
|
-
def RequestId(self):
|
23859
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23860
|
-
:rtype: str
|
23861
|
-
"""
|
23862
|
-
return self._RequestId
|
23863
|
-
|
23864
|
-
@RequestId.setter
|
23865
|
-
def RequestId(self, RequestId):
|
23866
|
-
self._RequestId = RequestId
|
23867
|
-
|
23868
|
-
|
23869
|
-
def _deserialize(self, params):
|
23870
|
-
if params.get("MedicalInvoiceInfos") is not None:
|
23871
|
-
self._MedicalInvoiceInfos = []
|
23872
|
-
for item in params.get("MedicalInvoiceInfos"):
|
23873
|
-
obj = MedicalInvoiceInfo()
|
23874
|
-
obj._deserialize(item)
|
23875
|
-
self._MedicalInvoiceInfos.append(obj)
|
23876
|
-
self._Angle = params.get("Angle")
|
23877
|
-
self._RequestId = params.get("RequestId")
|
23878
|
-
|
23879
|
-
|
23880
|
-
class RecognizeOnlineTaxiItineraryOCRRequest(AbstractModel):
|
23881
|
-
"""RecognizeOnlineTaxiItineraryOCR请求参数结构体
|
23882
|
-
|
23883
|
-
"""
|
23884
|
-
|
23885
|
-
def __init__(self):
|
23886
|
-
r"""
|
23887
|
-
:param _ImageBase64: 图片的 Base64 值。
|
23888
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23889
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
23890
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
23891
|
-
:type ImageBase64: str
|
23892
|
-
:param _ImageUrl: 图片的 Url 地址。
|
23893
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23894
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
23895
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
23896
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
23897
|
-
:type ImageUrl: str
|
23898
|
-
:param _IsPdf: 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
23899
|
-
:type IsPdf: bool
|
23900
|
-
:param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
23901
|
-
:type PdfPageNumber: int
|
23902
|
-
"""
|
23903
|
-
self._ImageBase64 = None
|
23904
|
-
self._ImageUrl = None
|
23905
|
-
self._IsPdf = None
|
23906
|
-
self._PdfPageNumber = None
|
23907
|
-
|
23908
|
-
@property
|
23909
|
-
def ImageBase64(self):
|
23910
|
-
"""图片的 Base64 值。
|
23911
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23912
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
23913
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
23914
|
-
:rtype: str
|
23915
|
-
"""
|
23916
|
-
return self._ImageBase64
|
23917
|
-
|
23918
|
-
@ImageBase64.setter
|
23919
|
-
def ImageBase64(self, ImageBase64):
|
23920
|
-
self._ImageBase64 = ImageBase64
|
23921
|
-
|
23922
|
-
@property
|
23923
|
-
def ImageUrl(self):
|
23924
|
-
"""图片的 Url 地址。
|
23925
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23926
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
23927
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
23928
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
23929
|
-
:rtype: str
|
23930
|
-
"""
|
23931
|
-
return self._ImageUrl
|
23932
|
-
|
23933
|
-
@ImageUrl.setter
|
23934
|
-
def ImageUrl(self, ImageUrl):
|
23935
|
-
self._ImageUrl = ImageUrl
|
23936
|
-
|
23937
|
-
@property
|
23938
|
-
def IsPdf(self):
|
23939
|
-
"""是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
23940
|
-
:rtype: bool
|
23941
|
-
"""
|
23942
|
-
return self._IsPdf
|
23943
|
-
|
23944
|
-
@IsPdf.setter
|
23945
|
-
def IsPdf(self, IsPdf):
|
23946
|
-
self._IsPdf = IsPdf
|
23947
|
-
|
23948
|
-
@property
|
23949
|
-
def PdfPageNumber(self):
|
23950
|
-
"""需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
23951
|
-
:rtype: int
|
23952
|
-
"""
|
23953
|
-
return self._PdfPageNumber
|
23954
|
-
|
23955
|
-
@PdfPageNumber.setter
|
23956
|
-
def PdfPageNumber(self, PdfPageNumber):
|
23957
|
-
self._PdfPageNumber = PdfPageNumber
|
23958
|
-
|
23959
|
-
|
23960
|
-
def _deserialize(self, params):
|
23961
|
-
self._ImageBase64 = params.get("ImageBase64")
|
23962
|
-
self._ImageUrl = params.get("ImageUrl")
|
23963
|
-
self._IsPdf = params.get("IsPdf")
|
23964
|
-
self._PdfPageNumber = params.get("PdfPageNumber")
|
23965
|
-
memeber_set = set(params.keys())
|
23966
|
-
for name, value in vars(self).items():
|
23967
|
-
property_name = name[1:]
|
23968
|
-
if property_name in memeber_set:
|
23969
|
-
memeber_set.remove(property_name)
|
23970
|
-
if len(memeber_set) > 0:
|
23971
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23972
|
-
|
23973
|
-
|
23974
|
-
|
23975
|
-
class RecognizeOnlineTaxiItineraryOCRResponse(AbstractModel):
|
23976
|
-
"""RecognizeOnlineTaxiItineraryOCR返回参数结构体
|
23977
|
-
|
23978
|
-
"""
|
23979
|
-
|
23980
|
-
def __init__(self):
|
23981
|
-
r"""
|
23982
|
-
:param _OnlineTaxiItineraryInfos: 网约车行程单识别结果,具体内容请点击左侧链接。
|
23983
|
-
:type OnlineTaxiItineraryInfos: list of OnlineTaxiItineraryInfo
|
23984
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23985
|
-
:type RequestId: str
|
23986
|
-
"""
|
23987
|
-
self._OnlineTaxiItineraryInfos = None
|
23988
|
-
self._RequestId = None
|
23989
|
-
|
23990
|
-
@property
|
23991
|
-
def OnlineTaxiItineraryInfos(self):
|
23992
|
-
"""网约车行程单识别结果,具体内容请点击左侧链接。
|
23993
|
-
:rtype: list of OnlineTaxiItineraryInfo
|
23994
|
-
"""
|
23995
|
-
return self._OnlineTaxiItineraryInfos
|
23996
|
-
|
23997
|
-
@OnlineTaxiItineraryInfos.setter
|
23998
|
-
def OnlineTaxiItineraryInfos(self, OnlineTaxiItineraryInfos):
|
23999
|
-
self._OnlineTaxiItineraryInfos = OnlineTaxiItineraryInfos
|
24000
|
-
|
24001
|
-
@property
|
24002
|
-
def RequestId(self):
|
24003
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24004
|
-
:rtype: str
|
24005
|
-
"""
|
24006
|
-
return self._RequestId
|
24007
|
-
|
24008
|
-
@RequestId.setter
|
24009
|
-
def RequestId(self, RequestId):
|
24010
|
-
self._RequestId = RequestId
|
24011
|
-
|
24012
|
-
|
24013
|
-
def _deserialize(self, params):
|
24014
|
-
if params.get("OnlineTaxiItineraryInfos") is not None:
|
24015
|
-
self._OnlineTaxiItineraryInfos = []
|
24016
|
-
for item in params.get("OnlineTaxiItineraryInfos"):
|
24017
|
-
obj = OnlineTaxiItineraryInfo()
|
24018
|
-
obj._deserialize(item)
|
24019
|
-
self._OnlineTaxiItineraryInfos.append(obj)
|
24020
|
-
self._RequestId = params.get("RequestId")
|
24021
|
-
|
24022
|
-
|
24023
|
-
class RecognizePhilippinesDrivingLicenseOCRRequest(AbstractModel):
|
24024
|
-
"""RecognizePhilippinesDrivingLicenseOCR请求参数结构体
|
24025
|
-
|
24026
|
-
"""
|
24027
|
-
|
24028
|
-
def __init__(self):
|
24029
|
-
r"""
|
24030
|
-
:param _ImageBase64: 图片的 Base64 值。
|
24031
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24032
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
24033
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
24034
|
-
:type ImageBase64: str
|
24035
|
-
:param _ImageUrl: 图片的 Url 地址。
|
24036
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24037
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
24038
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
24039
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24040
|
-
:type ImageUrl: str
|
24041
|
-
:param _ReturnHeadImage: 是否返回人像照片。
|
24042
|
-
:type ReturnHeadImage: bool
|
24043
|
-
"""
|
24044
|
-
self._ImageBase64 = None
|
24045
|
-
self._ImageUrl = None
|
24046
|
-
self._ReturnHeadImage = None
|
24047
|
-
|
24048
|
-
@property
|
24049
|
-
def ImageBase64(self):
|
24050
|
-
"""图片的 Base64 值。
|
24051
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24052
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
24053
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
24054
|
-
:rtype: str
|
24055
|
-
"""
|
24056
|
-
return self._ImageBase64
|
24057
|
-
|
24058
|
-
@ImageBase64.setter
|
24059
|
-
def ImageBase64(self, ImageBase64):
|
24060
|
-
self._ImageBase64 = ImageBase64
|
24061
|
-
|
24062
|
-
@property
|
24063
|
-
def ImageUrl(self):
|
24064
|
-
"""图片的 Url 地址。
|
24065
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24066
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
24067
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
24068
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24069
|
-
:rtype: str
|
24070
|
-
"""
|
24071
|
-
return self._ImageUrl
|
24072
|
-
|
24073
|
-
@ImageUrl.setter
|
24074
|
-
def ImageUrl(self, ImageUrl):
|
24075
|
-
self._ImageUrl = ImageUrl
|
24076
|
-
|
24077
|
-
@property
|
24078
|
-
def ReturnHeadImage(self):
|
24079
|
-
"""是否返回人像照片。
|
24080
|
-
:rtype: bool
|
24081
|
-
"""
|
24082
|
-
return self._ReturnHeadImage
|
24083
|
-
|
24084
|
-
@ReturnHeadImage.setter
|
24085
|
-
def ReturnHeadImage(self, ReturnHeadImage):
|
24086
|
-
self._ReturnHeadImage = ReturnHeadImage
|
24087
|
-
|
24088
|
-
|
24089
|
-
def _deserialize(self, params):
|
24090
|
-
self._ImageBase64 = params.get("ImageBase64")
|
24091
|
-
self._ImageUrl = params.get("ImageUrl")
|
24092
|
-
self._ReturnHeadImage = params.get("ReturnHeadImage")
|
24093
|
-
memeber_set = set(params.keys())
|
24094
|
-
for name, value in vars(self).items():
|
24095
|
-
property_name = name[1:]
|
24096
|
-
if property_name in memeber_set:
|
24097
|
-
memeber_set.remove(property_name)
|
24098
|
-
if len(memeber_set) > 0:
|
24099
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
24100
|
-
|
24101
|
-
|
24102
|
-
|
24103
|
-
class RecognizePhilippinesDrivingLicenseOCRResponse(AbstractModel):
|
24104
|
-
"""RecognizePhilippinesDrivingLicenseOCR返回参数结构体
|
24105
|
-
|
24106
|
-
"""
|
24107
|
-
|
24108
|
-
def __init__(self):
|
24109
|
-
r"""
|
24110
|
-
:param _HeadPortrait: 人像照片Base64后的结果
|
24111
|
-
:type HeadPortrait: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24112
|
-
:param _Name: 姓名
|
24113
|
-
:type Name: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24114
|
-
:param _LastName: 姓氏
|
24115
|
-
:type LastName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24116
|
-
:param _FirstName: 首姓名
|
24117
|
-
:type FirstName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24118
|
-
:param _MiddleName: 中间姓名
|
24119
|
-
:type MiddleName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24120
|
-
:param _Nationality: 国籍
|
24121
|
-
:type Nationality: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24122
|
-
:param _Sex: 性别
|
24123
|
-
:type Sex: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24124
|
-
:param _Address: 地址
|
24125
|
-
:type Address: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24126
|
-
:param _LicenseNo: 证号
|
24127
|
-
:type LicenseNo: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24128
|
-
:param _ExpiresDate: 有效期
|
24129
|
-
:type ExpiresDate: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24130
|
-
:param _AgencyCode: 机构代码
|
24131
|
-
:type AgencyCode: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24132
|
-
:param _Birthday: 出生日期
|
24133
|
-
:type Birthday: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24134
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24135
|
-
:type RequestId: str
|
24136
|
-
"""
|
24137
|
-
self._HeadPortrait = None
|
24138
|
-
self._Name = None
|
24139
|
-
self._LastName = None
|
24140
|
-
self._FirstName = None
|
24141
|
-
self._MiddleName = None
|
24142
|
-
self._Nationality = None
|
24143
|
-
self._Sex = None
|
24144
|
-
self._Address = None
|
24145
|
-
self._LicenseNo = None
|
24146
|
-
self._ExpiresDate = None
|
24147
|
-
self._AgencyCode = None
|
24148
|
-
self._Birthday = None
|
24149
|
-
self._RequestId = None
|
24150
|
-
|
24151
|
-
@property
|
24152
|
-
def HeadPortrait(self):
|
24153
|
-
"""人像照片Base64后的结果
|
24154
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24155
|
-
"""
|
24156
|
-
return self._HeadPortrait
|
24157
|
-
|
24158
|
-
@HeadPortrait.setter
|
24159
|
-
def HeadPortrait(self, HeadPortrait):
|
24160
|
-
self._HeadPortrait = HeadPortrait
|
24161
|
-
|
24162
|
-
@property
|
24163
|
-
def Name(self):
|
24164
|
-
"""姓名
|
24165
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24166
|
-
"""
|
24167
|
-
return self._Name
|
24168
|
-
|
24169
|
-
@Name.setter
|
24170
|
-
def Name(self, Name):
|
24171
|
-
self._Name = Name
|
24172
|
-
|
24173
|
-
@property
|
24174
|
-
def LastName(self):
|
24175
|
-
"""姓氏
|
24176
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24177
|
-
"""
|
24178
|
-
return self._LastName
|
24179
|
-
|
24180
|
-
@LastName.setter
|
24181
|
-
def LastName(self, LastName):
|
24182
|
-
self._LastName = LastName
|
24183
|
-
|
24184
|
-
@property
|
24185
|
-
def FirstName(self):
|
24186
|
-
"""首姓名
|
24187
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24188
|
-
"""
|
24189
|
-
return self._FirstName
|
24190
|
-
|
24191
|
-
@FirstName.setter
|
24192
|
-
def FirstName(self, FirstName):
|
24193
|
-
self._FirstName = FirstName
|
24194
|
-
|
24195
|
-
@property
|
24196
|
-
def MiddleName(self):
|
24197
|
-
"""中间姓名
|
24198
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24199
|
-
"""
|
24200
|
-
return self._MiddleName
|
24201
|
-
|
24202
|
-
@MiddleName.setter
|
24203
|
-
def MiddleName(self, MiddleName):
|
24204
|
-
self._MiddleName = MiddleName
|
24205
|
-
|
24206
|
-
@property
|
24207
|
-
def Nationality(self):
|
24208
|
-
"""国籍
|
24209
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24210
|
-
"""
|
24211
|
-
return self._Nationality
|
24212
|
-
|
24213
|
-
@Nationality.setter
|
24214
|
-
def Nationality(self, Nationality):
|
24215
|
-
self._Nationality = Nationality
|
24216
|
-
|
24217
|
-
@property
|
24218
|
-
def Sex(self):
|
24219
|
-
"""性别
|
24220
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24221
|
-
"""
|
24222
|
-
return self._Sex
|
24223
|
-
|
24224
|
-
@Sex.setter
|
24225
|
-
def Sex(self, Sex):
|
24226
|
-
self._Sex = Sex
|
24227
|
-
|
24228
|
-
@property
|
24229
|
-
def Address(self):
|
24230
|
-
"""地址
|
24231
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24232
|
-
"""
|
24233
|
-
return self._Address
|
24234
|
-
|
24235
|
-
@Address.setter
|
24236
|
-
def Address(self, Address):
|
24237
|
-
self._Address = Address
|
24238
|
-
|
24239
|
-
@property
|
24240
|
-
def LicenseNo(self):
|
24241
|
-
"""证号
|
24242
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24243
|
-
"""
|
24244
|
-
return self._LicenseNo
|
24245
|
-
|
24246
|
-
@LicenseNo.setter
|
24247
|
-
def LicenseNo(self, LicenseNo):
|
24248
|
-
self._LicenseNo = LicenseNo
|
24249
|
-
|
24250
|
-
@property
|
24251
|
-
def ExpiresDate(self):
|
24252
|
-
"""有效期
|
24253
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24254
|
-
"""
|
24255
|
-
return self._ExpiresDate
|
24256
|
-
|
24257
|
-
@ExpiresDate.setter
|
24258
|
-
def ExpiresDate(self, ExpiresDate):
|
24259
|
-
self._ExpiresDate = ExpiresDate
|
24260
|
-
|
24261
|
-
@property
|
24262
|
-
def AgencyCode(self):
|
24263
|
-
"""机构代码
|
24264
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24265
|
-
"""
|
24266
|
-
return self._AgencyCode
|
24267
|
-
|
24268
|
-
@AgencyCode.setter
|
24269
|
-
def AgencyCode(self, AgencyCode):
|
24270
|
-
self._AgencyCode = AgencyCode
|
24271
|
-
|
24272
|
-
@property
|
24273
|
-
def Birthday(self):
|
24274
|
-
"""出生日期
|
24275
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24276
|
-
"""
|
24277
|
-
return self._Birthday
|
24278
|
-
|
24279
|
-
@Birthday.setter
|
24280
|
-
def Birthday(self, Birthday):
|
24281
|
-
self._Birthday = Birthday
|
24282
|
-
|
24283
|
-
@property
|
24284
|
-
def RequestId(self):
|
24285
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24286
|
-
:rtype: str
|
24287
|
-
"""
|
24288
|
-
return self._RequestId
|
24289
|
-
|
24290
|
-
@RequestId.setter
|
24291
|
-
def RequestId(self, RequestId):
|
24292
|
-
self._RequestId = RequestId
|
24293
|
-
|
24294
|
-
|
24295
|
-
def _deserialize(self, params):
|
24296
|
-
if params.get("HeadPortrait") is not None:
|
24297
|
-
self._HeadPortrait = TextDetectionResult()
|
24298
|
-
self._HeadPortrait._deserialize(params.get("HeadPortrait"))
|
24299
|
-
if params.get("Name") is not None:
|
24300
|
-
self._Name = TextDetectionResult()
|
24301
|
-
self._Name._deserialize(params.get("Name"))
|
24302
|
-
if params.get("LastName") is not None:
|
24303
|
-
self._LastName = TextDetectionResult()
|
24304
|
-
self._LastName._deserialize(params.get("LastName"))
|
24305
|
-
if params.get("FirstName") is not None:
|
24306
|
-
self._FirstName = TextDetectionResult()
|
24307
|
-
self._FirstName._deserialize(params.get("FirstName"))
|
24308
|
-
if params.get("MiddleName") is not None:
|
24309
|
-
self._MiddleName = TextDetectionResult()
|
24310
|
-
self._MiddleName._deserialize(params.get("MiddleName"))
|
24311
|
-
if params.get("Nationality") is not None:
|
24312
|
-
self._Nationality = TextDetectionResult()
|
24313
|
-
self._Nationality._deserialize(params.get("Nationality"))
|
24314
|
-
if params.get("Sex") is not None:
|
24315
|
-
self._Sex = TextDetectionResult()
|
24316
|
-
self._Sex._deserialize(params.get("Sex"))
|
24317
|
-
if params.get("Address") is not None:
|
24318
|
-
self._Address = TextDetectionResult()
|
24319
|
-
self._Address._deserialize(params.get("Address"))
|
24320
|
-
if params.get("LicenseNo") is not None:
|
24321
|
-
self._LicenseNo = TextDetectionResult()
|
24322
|
-
self._LicenseNo._deserialize(params.get("LicenseNo"))
|
24323
|
-
if params.get("ExpiresDate") is not None:
|
24324
|
-
self._ExpiresDate = TextDetectionResult()
|
24325
|
-
self._ExpiresDate._deserialize(params.get("ExpiresDate"))
|
24326
|
-
if params.get("AgencyCode") is not None:
|
24327
|
-
self._AgencyCode = TextDetectionResult()
|
24328
|
-
self._AgencyCode._deserialize(params.get("AgencyCode"))
|
24329
|
-
if params.get("Birthday") is not None:
|
24330
|
-
self._Birthday = TextDetectionResult()
|
24331
|
-
self._Birthday._deserialize(params.get("Birthday"))
|
24332
|
-
self._RequestId = params.get("RequestId")
|
24333
|
-
|
24334
|
-
|
24335
|
-
class RecognizePhilippinesSssIDOCRRequest(AbstractModel):
|
24336
|
-
"""RecognizePhilippinesSssIDOCR请求参数结构体
|
24337
|
-
|
24338
|
-
"""
|
24339
|
-
|
24340
|
-
def __init__(self):
|
24341
|
-
r"""
|
24342
|
-
:param _ReturnHeadImage: 是否返回人像照片。
|
24343
|
-
:type ReturnHeadImage: bool
|
24344
|
-
:param _ImageBase64: 图片的 Base64 值。
|
24345
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24346
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
24347
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
24348
|
-
:type ImageBase64: str
|
24349
|
-
:param _ImageUrl: 图片的 Url 地址。
|
24350
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24351
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
24352
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
24353
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24354
|
-
:type ImageUrl: str
|
24355
|
-
"""
|
24356
|
-
self._ReturnHeadImage = None
|
24357
|
-
self._ImageBase64 = None
|
24358
|
-
self._ImageUrl = None
|
24359
|
-
|
24360
|
-
@property
|
24361
|
-
def ReturnHeadImage(self):
|
24362
|
-
"""是否返回人像照片。
|
24363
|
-
:rtype: bool
|
24364
|
-
"""
|
24365
|
-
return self._ReturnHeadImage
|
24366
|
-
|
24367
|
-
@ReturnHeadImage.setter
|
24368
|
-
def ReturnHeadImage(self, ReturnHeadImage):
|
24369
|
-
self._ReturnHeadImage = ReturnHeadImage
|
24370
|
-
|
24371
|
-
@property
|
24372
|
-
def ImageBase64(self):
|
24373
|
-
"""图片的 Base64 值。
|
24374
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24375
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
24376
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
24377
|
-
:rtype: str
|
24378
|
-
"""
|
24379
|
-
return self._ImageBase64
|
24380
|
-
|
24381
|
-
@ImageBase64.setter
|
24382
|
-
def ImageBase64(self, ImageBase64):
|
24383
|
-
self._ImageBase64 = ImageBase64
|
24384
|
-
|
24385
|
-
@property
|
24386
|
-
def ImageUrl(self):
|
24387
|
-
"""图片的 Url 地址。
|
24388
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24389
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
24390
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
24391
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24392
|
-
:rtype: str
|
24393
|
-
"""
|
24394
|
-
return self._ImageUrl
|
24395
|
-
|
24396
|
-
@ImageUrl.setter
|
24397
|
-
def ImageUrl(self, ImageUrl):
|
24398
|
-
self._ImageUrl = ImageUrl
|
24399
|
-
|
24400
|
-
|
24401
|
-
def _deserialize(self, params):
|
24402
|
-
self._ReturnHeadImage = params.get("ReturnHeadImage")
|
24403
|
-
self._ImageBase64 = params.get("ImageBase64")
|
24404
|
-
self._ImageUrl = params.get("ImageUrl")
|
24405
|
-
memeber_set = set(params.keys())
|
24406
|
-
for name, value in vars(self).items():
|
24407
|
-
property_name = name[1:]
|
24408
|
-
if property_name in memeber_set:
|
24409
|
-
memeber_set.remove(property_name)
|
24410
|
-
if len(memeber_set) > 0:
|
24411
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
24412
|
-
|
24413
|
-
|
24414
|
-
|
24415
|
-
class RecognizePhilippinesSssIDOCRResponse(AbstractModel):
|
24416
|
-
"""RecognizePhilippinesSssIDOCR返回参数结构体
|
24417
|
-
|
24418
|
-
"""
|
24419
|
-
|
24420
|
-
def __init__(self):
|
24421
|
-
r"""
|
24422
|
-
:param _HeadPortrait: 人像照片Base64后的结果
|
24423
|
-
:type HeadPortrait: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24424
|
-
:param _LicenseNumber: 编号
|
24425
|
-
:type LicenseNumber: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24426
|
-
:param _FullName: 姓名
|
24427
|
-
:type FullName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24428
|
-
:param _Birthday: 生日
|
24429
|
-
:type Birthday: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24430
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24431
|
-
:type RequestId: str
|
24432
|
-
"""
|
24433
|
-
self._HeadPortrait = None
|
24434
|
-
self._LicenseNumber = None
|
24435
|
-
self._FullName = None
|
24436
|
-
self._Birthday = None
|
24437
|
-
self._RequestId = None
|
24438
|
-
|
24439
|
-
@property
|
24440
|
-
def HeadPortrait(self):
|
24441
|
-
"""人像照片Base64后的结果
|
24442
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24443
|
-
"""
|
24444
|
-
return self._HeadPortrait
|
24445
|
-
|
24446
|
-
@HeadPortrait.setter
|
24447
|
-
def HeadPortrait(self, HeadPortrait):
|
24448
|
-
self._HeadPortrait = HeadPortrait
|
24449
|
-
|
24450
|
-
@property
|
24451
|
-
def LicenseNumber(self):
|
24452
|
-
"""编号
|
24453
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24454
|
-
"""
|
24455
|
-
return self._LicenseNumber
|
24456
|
-
|
24457
|
-
@LicenseNumber.setter
|
24458
|
-
def LicenseNumber(self, LicenseNumber):
|
24459
|
-
self._LicenseNumber = LicenseNumber
|
24460
|
-
|
24461
|
-
@property
|
24462
|
-
def FullName(self):
|
24463
|
-
"""姓名
|
24464
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24465
|
-
"""
|
24466
|
-
return self._FullName
|
24467
|
-
|
24468
|
-
@FullName.setter
|
24469
|
-
def FullName(self, FullName):
|
24470
|
-
self._FullName = FullName
|
24471
|
-
|
24472
|
-
@property
|
24473
|
-
def Birthday(self):
|
24474
|
-
"""生日
|
24475
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24476
|
-
"""
|
24477
|
-
return self._Birthday
|
24478
|
-
|
24479
|
-
@Birthday.setter
|
24480
|
-
def Birthday(self, Birthday):
|
24481
|
-
self._Birthday = Birthday
|
24482
|
-
|
24483
|
-
@property
|
24484
|
-
def RequestId(self):
|
24485
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24486
|
-
:rtype: str
|
24487
|
-
"""
|
24488
|
-
return self._RequestId
|
24489
|
-
|
24490
|
-
@RequestId.setter
|
24491
|
-
def RequestId(self, RequestId):
|
24492
|
-
self._RequestId = RequestId
|
24493
|
-
|
24494
|
-
|
24495
|
-
def _deserialize(self, params):
|
24496
|
-
if params.get("HeadPortrait") is not None:
|
24497
|
-
self._HeadPortrait = TextDetectionResult()
|
24498
|
-
self._HeadPortrait._deserialize(params.get("HeadPortrait"))
|
24499
|
-
if params.get("LicenseNumber") is not None:
|
24500
|
-
self._LicenseNumber = TextDetectionResult()
|
24501
|
-
self._LicenseNumber._deserialize(params.get("LicenseNumber"))
|
24502
|
-
if params.get("FullName") is not None:
|
24503
|
-
self._FullName = TextDetectionResult()
|
24504
|
-
self._FullName._deserialize(params.get("FullName"))
|
24505
|
-
if params.get("Birthday") is not None:
|
24506
|
-
self._Birthday = TextDetectionResult()
|
24507
|
-
self._Birthday._deserialize(params.get("Birthday"))
|
24508
|
-
self._RequestId = params.get("RequestId")
|
24509
|
-
|
24510
|
-
|
24511
|
-
class RecognizePhilippinesTinIDOCRRequest(AbstractModel):
|
24512
|
-
"""RecognizePhilippinesTinIDOCR请求参数结构体
|
24513
|
-
|
24514
|
-
"""
|
24515
|
-
|
24516
|
-
def __init__(self):
|
24517
|
-
r"""
|
24518
|
-
:param _ReturnHeadImage: 是否返回人像照片。
|
24519
|
-
:type ReturnHeadImage: bool
|
24520
|
-
:param _ImageBase64: 图片的 Base64 值。
|
24521
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24522
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
24523
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
24524
|
-
:type ImageBase64: str
|
24525
|
-
:param _ImageUrl: 图片的 Url 地址。
|
24526
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24527
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
24528
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
24529
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24530
|
-
:type ImageUrl: str
|
24531
|
-
"""
|
24532
|
-
self._ReturnHeadImage = None
|
24533
|
-
self._ImageBase64 = None
|
24534
|
-
self._ImageUrl = None
|
24535
|
-
|
24536
|
-
@property
|
24537
|
-
def ReturnHeadImage(self):
|
24538
|
-
"""是否返回人像照片。
|
24539
|
-
:rtype: bool
|
24540
|
-
"""
|
24541
|
-
return self._ReturnHeadImage
|
24542
|
-
|
24543
|
-
@ReturnHeadImage.setter
|
24544
|
-
def ReturnHeadImage(self, ReturnHeadImage):
|
24545
|
-
self._ReturnHeadImage = ReturnHeadImage
|
24546
|
-
|
24547
|
-
@property
|
24548
|
-
def ImageBase64(self):
|
24549
|
-
"""图片的 Base64 值。
|
24550
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24551
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
24552
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
24553
|
-
:rtype: str
|
24554
|
-
"""
|
24555
|
-
return self._ImageBase64
|
24556
|
-
|
24557
|
-
@ImageBase64.setter
|
24558
|
-
def ImageBase64(self, ImageBase64):
|
24559
|
-
self._ImageBase64 = ImageBase64
|
24560
|
-
|
24561
|
-
@property
|
24562
|
-
def ImageUrl(self):
|
24563
|
-
"""图片的 Url 地址。
|
24564
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24565
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
24566
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
24567
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24568
|
-
:rtype: str
|
24569
|
-
"""
|
24570
|
-
return self._ImageUrl
|
24571
|
-
|
24572
|
-
@ImageUrl.setter
|
24573
|
-
def ImageUrl(self, ImageUrl):
|
24574
|
-
self._ImageUrl = ImageUrl
|
24575
|
-
|
24576
|
-
|
24577
|
-
def _deserialize(self, params):
|
24578
|
-
self._ReturnHeadImage = params.get("ReturnHeadImage")
|
24579
|
-
self._ImageBase64 = params.get("ImageBase64")
|
24580
|
-
self._ImageUrl = params.get("ImageUrl")
|
24581
|
-
memeber_set = set(params.keys())
|
24582
|
-
for name, value in vars(self).items():
|
24583
|
-
property_name = name[1:]
|
24584
|
-
if property_name in memeber_set:
|
24585
|
-
memeber_set.remove(property_name)
|
24586
|
-
if len(memeber_set) > 0:
|
24587
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
24588
|
-
|
24589
|
-
|
24590
|
-
|
24591
|
-
class RecognizePhilippinesTinIDOCRResponse(AbstractModel):
|
24592
|
-
"""RecognizePhilippinesTinIDOCR返回参数结构体
|
24593
|
-
|
24594
|
-
"""
|
24595
|
-
|
24596
|
-
def __init__(self):
|
24597
|
-
r"""
|
24598
|
-
:param _HeadPortrait: 人像照片Base64后的结果
|
24599
|
-
:type HeadPortrait: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24600
|
-
:param _LicenseNumber: 编码
|
24601
|
-
:type LicenseNumber: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24602
|
-
:param _FullName: 姓名
|
24603
|
-
:type FullName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24604
|
-
:param _Address: 地址
|
24605
|
-
:type Address: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24606
|
-
:param _Birthday: 生日
|
24607
|
-
:type Birthday: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24608
|
-
:param _IssueDate: 发证日期
|
24609
|
-
:type IssueDate: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24610
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24611
|
-
:type RequestId: str
|
24612
|
-
"""
|
24613
|
-
self._HeadPortrait = None
|
24614
|
-
self._LicenseNumber = None
|
24615
|
-
self._FullName = None
|
24616
|
-
self._Address = None
|
24617
|
-
self._Birthday = None
|
24618
|
-
self._IssueDate = None
|
24619
|
-
self._RequestId = None
|
24620
|
-
|
24621
|
-
@property
|
24622
|
-
def HeadPortrait(self):
|
24623
|
-
"""人像照片Base64后的结果
|
24624
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24625
|
-
"""
|
24626
|
-
return self._HeadPortrait
|
24627
|
-
|
24628
|
-
@HeadPortrait.setter
|
24629
|
-
def HeadPortrait(self, HeadPortrait):
|
24630
|
-
self._HeadPortrait = HeadPortrait
|
24631
|
-
|
24632
|
-
@property
|
24633
|
-
def LicenseNumber(self):
|
24634
|
-
"""编码
|
24635
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24636
|
-
"""
|
24637
|
-
return self._LicenseNumber
|
24638
|
-
|
24639
|
-
@LicenseNumber.setter
|
24640
|
-
def LicenseNumber(self, LicenseNumber):
|
24641
|
-
self._LicenseNumber = LicenseNumber
|
24642
|
-
|
24643
|
-
@property
|
24644
|
-
def FullName(self):
|
24645
|
-
"""姓名
|
24646
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24647
|
-
"""
|
24648
|
-
return self._FullName
|
24649
|
-
|
24650
|
-
@FullName.setter
|
24651
|
-
def FullName(self, FullName):
|
24652
|
-
self._FullName = FullName
|
24653
|
-
|
24654
|
-
@property
|
24655
|
-
def Address(self):
|
24656
|
-
"""地址
|
24657
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24658
|
-
"""
|
24659
|
-
return self._Address
|
24660
|
-
|
24661
|
-
@Address.setter
|
24662
|
-
def Address(self, Address):
|
24663
|
-
self._Address = Address
|
24664
|
-
|
24665
|
-
@property
|
24666
|
-
def Birthday(self):
|
24667
|
-
"""生日
|
24668
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24669
|
-
"""
|
24670
|
-
return self._Birthday
|
24671
|
-
|
24672
|
-
@Birthday.setter
|
24673
|
-
def Birthday(self, Birthday):
|
24674
|
-
self._Birthday = Birthday
|
24675
|
-
|
24676
|
-
@property
|
24677
|
-
def IssueDate(self):
|
24678
|
-
"""发证日期
|
24679
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24680
|
-
"""
|
24681
|
-
return self._IssueDate
|
24682
|
-
|
24683
|
-
@IssueDate.setter
|
24684
|
-
def IssueDate(self, IssueDate):
|
24685
|
-
self._IssueDate = IssueDate
|
24686
|
-
|
24687
|
-
@property
|
24688
|
-
def RequestId(self):
|
24689
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24690
|
-
:rtype: str
|
24691
|
-
"""
|
24692
|
-
return self._RequestId
|
24693
|
-
|
24694
|
-
@RequestId.setter
|
24695
|
-
def RequestId(self, RequestId):
|
24696
|
-
self._RequestId = RequestId
|
24697
|
-
|
24698
|
-
|
24699
|
-
def _deserialize(self, params):
|
24700
|
-
if params.get("HeadPortrait") is not None:
|
24701
|
-
self._HeadPortrait = TextDetectionResult()
|
24702
|
-
self._HeadPortrait._deserialize(params.get("HeadPortrait"))
|
24703
|
-
if params.get("LicenseNumber") is not None:
|
24704
|
-
self._LicenseNumber = TextDetectionResult()
|
24705
|
-
self._LicenseNumber._deserialize(params.get("LicenseNumber"))
|
24706
|
-
if params.get("FullName") is not None:
|
24707
|
-
self._FullName = TextDetectionResult()
|
24708
|
-
self._FullName._deserialize(params.get("FullName"))
|
24709
|
-
if params.get("Address") is not None:
|
24710
|
-
self._Address = TextDetectionResult()
|
24711
|
-
self._Address._deserialize(params.get("Address"))
|
24712
|
-
if params.get("Birthday") is not None:
|
24713
|
-
self._Birthday = TextDetectionResult()
|
24714
|
-
self._Birthday._deserialize(params.get("Birthday"))
|
24715
|
-
if params.get("IssueDate") is not None:
|
24716
|
-
self._IssueDate = TextDetectionResult()
|
24717
|
-
self._IssueDate._deserialize(params.get("IssueDate"))
|
24718
|
-
self._RequestId = params.get("RequestId")
|
24719
|
-
|
24720
|
-
|
24721
|
-
class RecognizePhilippinesUMIDOCRRequest(AbstractModel):
|
24722
|
-
"""RecognizePhilippinesUMIDOCR请求参数结构体
|
24723
|
-
|
24724
|
-
"""
|
24725
|
-
|
24726
|
-
def __init__(self):
|
24727
|
-
r"""
|
24728
|
-
:param _ImageBase64: 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
24729
|
-
:type ImageBase64: str
|
24730
|
-
:param _ImageUrl: 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24731
|
-
:type ImageUrl: str
|
24732
|
-
:param _ReturnHeadImage: 是否返回人像照片。
|
24733
|
-
:type ReturnHeadImage: bool
|
24734
|
-
"""
|
24735
|
-
self._ImageBase64 = None
|
24736
|
-
self._ImageUrl = None
|
24737
|
-
self._ReturnHeadImage = None
|
24738
|
-
|
24739
|
-
@property
|
24740
|
-
def ImageBase64(self):
|
24741
|
-
"""图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
24742
|
-
:rtype: str
|
24743
|
-
"""
|
24744
|
-
return self._ImageBase64
|
24745
|
-
|
24746
|
-
@ImageBase64.setter
|
24747
|
-
def ImageBase64(self, ImageBase64):
|
24748
|
-
self._ImageBase64 = ImageBase64
|
24749
|
-
|
24750
|
-
@property
|
24751
|
-
def ImageUrl(self):
|
24752
|
-
"""图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24753
|
-
:rtype: str
|
24754
|
-
"""
|
24755
|
-
return self._ImageUrl
|
24756
|
-
|
24757
|
-
@ImageUrl.setter
|
24758
|
-
def ImageUrl(self, ImageUrl):
|
24759
|
-
self._ImageUrl = ImageUrl
|
24760
|
-
|
24761
|
-
@property
|
24762
|
-
def ReturnHeadImage(self):
|
24763
|
-
"""是否返回人像照片。
|
24764
|
-
:rtype: bool
|
24765
|
-
"""
|
24766
|
-
return self._ReturnHeadImage
|
24767
|
-
|
24768
|
-
@ReturnHeadImage.setter
|
24769
|
-
def ReturnHeadImage(self, ReturnHeadImage):
|
24770
|
-
self._ReturnHeadImage = ReturnHeadImage
|
24771
|
-
|
24772
|
-
|
24773
|
-
def _deserialize(self, params):
|
24774
|
-
self._ImageBase64 = params.get("ImageBase64")
|
24775
|
-
self._ImageUrl = params.get("ImageUrl")
|
24776
|
-
self._ReturnHeadImage = params.get("ReturnHeadImage")
|
24777
|
-
memeber_set = set(params.keys())
|
24778
|
-
for name, value in vars(self).items():
|
24779
|
-
property_name = name[1:]
|
24780
|
-
if property_name in memeber_set:
|
24781
|
-
memeber_set.remove(property_name)
|
24782
|
-
if len(memeber_set) > 0:
|
24783
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
24784
|
-
|
24785
|
-
|
24786
|
-
|
24787
|
-
class RecognizePhilippinesUMIDOCRResponse(AbstractModel):
|
24788
|
-
"""RecognizePhilippinesUMIDOCR返回参数结构体
|
24789
|
-
|
24790
|
-
"""
|
24791
|
-
|
24792
|
-
def __init__(self):
|
24793
|
-
r"""
|
24794
|
-
:param _Surname: 姓
|
24795
|
-
:type Surname: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24796
|
-
:param _MiddleName: 中间名
|
24797
|
-
:type MiddleName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24798
|
-
:param _GivenName: 名
|
24799
|
-
:type GivenName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24800
|
-
:param _Address: 地址
|
24801
|
-
:type Address: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24802
|
-
:param _Birthday: 生日
|
24803
|
-
:type Birthday: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24804
|
-
:param _CRN: crn码
|
24805
|
-
:type CRN: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24806
|
-
:param _Sex: 性别
|
24807
|
-
:type Sex: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24808
|
-
:param _HeadPortrait: 人像照片Base64后的结果
|
24809
|
-
:type HeadPortrait: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24810
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24811
|
-
:type RequestId: str
|
24812
|
-
"""
|
24813
|
-
self._Surname = None
|
24814
|
-
self._MiddleName = None
|
24815
|
-
self._GivenName = None
|
24816
|
-
self._Address = None
|
24817
|
-
self._Birthday = None
|
24818
|
-
self._CRN = None
|
24819
|
-
self._Sex = None
|
24820
|
-
self._HeadPortrait = None
|
24821
|
-
self._RequestId = None
|
24822
|
-
|
24823
|
-
@property
|
24824
|
-
def Surname(self):
|
24825
|
-
"""姓
|
24826
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24827
|
-
"""
|
24828
|
-
return self._Surname
|
24829
|
-
|
24830
|
-
@Surname.setter
|
24831
|
-
def Surname(self, Surname):
|
24832
|
-
self._Surname = Surname
|
24833
|
-
|
24834
|
-
@property
|
24835
|
-
def MiddleName(self):
|
24836
|
-
"""中间名
|
24837
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24838
|
-
"""
|
24839
|
-
return self._MiddleName
|
24840
|
-
|
24841
|
-
@MiddleName.setter
|
24842
|
-
def MiddleName(self, MiddleName):
|
24843
|
-
self._MiddleName = MiddleName
|
24844
|
-
|
24845
|
-
@property
|
24846
|
-
def GivenName(self):
|
24847
|
-
"""名
|
24848
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24849
|
-
"""
|
24850
|
-
return self._GivenName
|
24851
|
-
|
24852
|
-
@GivenName.setter
|
24853
|
-
def GivenName(self, GivenName):
|
24854
|
-
self._GivenName = GivenName
|
24855
|
-
|
24856
|
-
@property
|
24857
|
-
def Address(self):
|
24858
|
-
"""地址
|
24859
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24860
|
-
"""
|
24861
|
-
return self._Address
|
24862
22887
|
|
24863
|
-
|
24864
|
-
|
24865
|
-
self.
|
22888
|
+
def _deserialize(self, params):
|
22889
|
+
self._ImageBase64 = params.get("ImageBase64")
|
22890
|
+
self._ImageUrl = params.get("ImageUrl")
|
22891
|
+
self._ReturnVertex = params.get("ReturnVertex")
|
22892
|
+
self._ReturnCoord = params.get("ReturnCoord")
|
22893
|
+
self._IsPdf = params.get("IsPdf")
|
22894
|
+
self._PdfPageNumber = params.get("PdfPageNumber")
|
22895
|
+
memeber_set = set(params.keys())
|
22896
|
+
for name, value in vars(self).items():
|
22897
|
+
property_name = name[1:]
|
22898
|
+
if property_name in memeber_set:
|
22899
|
+
memeber_set.remove(property_name)
|
22900
|
+
if len(memeber_set) > 0:
|
22901
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22902
|
+
|
24866
22903
|
|
24867
|
-
@property
|
24868
|
-
def Birthday(self):
|
24869
|
-
"""生日
|
24870
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24871
|
-
"""
|
24872
|
-
return self._Birthday
|
24873
22904
|
|
24874
|
-
|
24875
|
-
|
24876
|
-
self._Birthday = Birthday
|
22905
|
+
class RecognizeMedicalInvoiceOCRResponse(AbstractModel):
|
22906
|
+
"""RecognizeMedicalInvoiceOCR返回参数结构体
|
24877
22907
|
|
24878
|
-
|
24879
|
-
def CRN(self):
|
24880
|
-
"""crn码
|
24881
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
24882
|
-
"""
|
24883
|
-
return self._CRN
|
22908
|
+
"""
|
24884
22909
|
|
24885
|
-
|
24886
|
-
|
24887
|
-
|
22910
|
+
def __init__(self):
|
22911
|
+
r"""
|
22912
|
+
:param _MedicalInvoiceInfos: 识别出的字段信息
|
22913
|
+
:type MedicalInvoiceInfos: list of MedicalInvoiceInfo
|
22914
|
+
:param _Angle: 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
22915
|
+
:type Angle: float
|
22916
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22917
|
+
:type RequestId: str
|
22918
|
+
"""
|
22919
|
+
self._MedicalInvoiceInfos = None
|
22920
|
+
self._Angle = None
|
22921
|
+
self._RequestId = None
|
24888
22922
|
|
24889
22923
|
@property
|
24890
|
-
def
|
24891
|
-
"""
|
24892
|
-
:rtype:
|
22924
|
+
def MedicalInvoiceInfos(self):
|
22925
|
+
"""识别出的字段信息
|
22926
|
+
:rtype: list of MedicalInvoiceInfo
|
24893
22927
|
"""
|
24894
|
-
return self.
|
22928
|
+
return self._MedicalInvoiceInfos
|
24895
22929
|
|
24896
|
-
@
|
24897
|
-
def
|
24898
|
-
self.
|
22930
|
+
@MedicalInvoiceInfos.setter
|
22931
|
+
def MedicalInvoiceInfos(self, MedicalInvoiceInfos):
|
22932
|
+
self._MedicalInvoiceInfos = MedicalInvoiceInfos
|
24899
22933
|
|
24900
22934
|
@property
|
24901
|
-
def
|
24902
|
-
"""
|
24903
|
-
:rtype:
|
22935
|
+
def Angle(self):
|
22936
|
+
"""图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
22937
|
+
:rtype: float
|
24904
22938
|
"""
|
24905
|
-
return self.
|
22939
|
+
return self._Angle
|
24906
22940
|
|
24907
|
-
@
|
24908
|
-
def
|
24909
|
-
self.
|
22941
|
+
@Angle.setter
|
22942
|
+
def Angle(self, Angle):
|
22943
|
+
self._Angle = Angle
|
24910
22944
|
|
24911
22945
|
@property
|
24912
22946
|
def RequestId(self):
|
@@ -24921,42 +22955,23 @@ class RecognizePhilippinesUMIDOCRResponse(AbstractModel):
|
|
24921
22955
|
|
24922
22956
|
|
24923
22957
|
def _deserialize(self, params):
|
24924
|
-
if params.get("
|
24925
|
-
self.
|
24926
|
-
|
24927
|
-
|
24928
|
-
|
24929
|
-
|
24930
|
-
|
24931
|
-
self._GivenName = TextDetectionResult()
|
24932
|
-
self._GivenName._deserialize(params.get("GivenName"))
|
24933
|
-
if params.get("Address") is not None:
|
24934
|
-
self._Address = TextDetectionResult()
|
24935
|
-
self._Address._deserialize(params.get("Address"))
|
24936
|
-
if params.get("Birthday") is not None:
|
24937
|
-
self._Birthday = TextDetectionResult()
|
24938
|
-
self._Birthday._deserialize(params.get("Birthday"))
|
24939
|
-
if params.get("CRN") is not None:
|
24940
|
-
self._CRN = TextDetectionResult()
|
24941
|
-
self._CRN._deserialize(params.get("CRN"))
|
24942
|
-
if params.get("Sex") is not None:
|
24943
|
-
self._Sex = TextDetectionResult()
|
24944
|
-
self._Sex._deserialize(params.get("Sex"))
|
24945
|
-
if params.get("HeadPortrait") is not None:
|
24946
|
-
self._HeadPortrait = TextDetectionResult()
|
24947
|
-
self._HeadPortrait._deserialize(params.get("HeadPortrait"))
|
22958
|
+
if params.get("MedicalInvoiceInfos") is not None:
|
22959
|
+
self._MedicalInvoiceInfos = []
|
22960
|
+
for item in params.get("MedicalInvoiceInfos"):
|
22961
|
+
obj = MedicalInvoiceInfo()
|
22962
|
+
obj._deserialize(item)
|
22963
|
+
self._MedicalInvoiceInfos.append(obj)
|
22964
|
+
self._Angle = params.get("Angle")
|
24948
22965
|
self._RequestId = params.get("RequestId")
|
24949
22966
|
|
24950
22967
|
|
24951
|
-
class
|
24952
|
-
"""
|
22968
|
+
class RecognizeOnlineTaxiItineraryOCRRequest(AbstractModel):
|
22969
|
+
"""RecognizeOnlineTaxiItineraryOCR请求参数结构体
|
24953
22970
|
|
24954
22971
|
"""
|
24955
22972
|
|
24956
22973
|
def __init__(self):
|
24957
22974
|
r"""
|
24958
|
-
:param _ReturnHeadImage: 是否返回人像照片。
|
24959
|
-
:type ReturnHeadImage: bool
|
24960
22975
|
:param _ImageBase64: 图片的 Base64 值。
|
24961
22976
|
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
24962
22977
|
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
@@ -24968,21 +22983,15 @@ class RecognizePhilippinesVoteIDOCRRequest(AbstractModel):
|
|
24968
22983
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
24969
22984
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24970
22985
|
:type ImageUrl: str
|
22986
|
+
:param _IsPdf: 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
22987
|
+
:type IsPdf: bool
|
22988
|
+
:param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
22989
|
+
:type PdfPageNumber: int
|
24971
22990
|
"""
|
24972
|
-
self._ReturnHeadImage = None
|
24973
22991
|
self._ImageBase64 = None
|
24974
22992
|
self._ImageUrl = None
|
24975
|
-
|
24976
|
-
|
24977
|
-
def ReturnHeadImage(self):
|
24978
|
-
"""是否返回人像照片。
|
24979
|
-
:rtype: bool
|
24980
|
-
"""
|
24981
|
-
return self._ReturnHeadImage
|
24982
|
-
|
24983
|
-
@ReturnHeadImage.setter
|
24984
|
-
def ReturnHeadImage(self, ReturnHeadImage):
|
24985
|
-
self._ReturnHeadImage = ReturnHeadImage
|
22993
|
+
self._IsPdf = None
|
22994
|
+
self._PdfPageNumber = None
|
24986
22995
|
|
24987
22996
|
@property
|
24988
22997
|
def ImageBase64(self):
|
@@ -25013,11 +23022,34 @@ class RecognizePhilippinesVoteIDOCRRequest(AbstractModel):
|
|
25013
23022
|
def ImageUrl(self, ImageUrl):
|
25014
23023
|
self._ImageUrl = ImageUrl
|
25015
23024
|
|
23025
|
+
@property
|
23026
|
+
def IsPdf(self):
|
23027
|
+
"""是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
23028
|
+
:rtype: bool
|
23029
|
+
"""
|
23030
|
+
return self._IsPdf
|
23031
|
+
|
23032
|
+
@IsPdf.setter
|
23033
|
+
def IsPdf(self, IsPdf):
|
23034
|
+
self._IsPdf = IsPdf
|
23035
|
+
|
23036
|
+
@property
|
23037
|
+
def PdfPageNumber(self):
|
23038
|
+
"""需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
23039
|
+
:rtype: int
|
23040
|
+
"""
|
23041
|
+
return self._PdfPageNumber
|
23042
|
+
|
23043
|
+
@PdfPageNumber.setter
|
23044
|
+
def PdfPageNumber(self, PdfPageNumber):
|
23045
|
+
self._PdfPageNumber = PdfPageNumber
|
23046
|
+
|
25016
23047
|
|
25017
23048
|
def _deserialize(self, params):
|
25018
|
-
self._ReturnHeadImage = params.get("ReturnHeadImage")
|
25019
23049
|
self._ImageBase64 = params.get("ImageBase64")
|
25020
23050
|
self._ImageUrl = params.get("ImageUrl")
|
23051
|
+
self._IsPdf = params.get("IsPdf")
|
23052
|
+
self._PdfPageNumber = params.get("PdfPageNumber")
|
25021
23053
|
memeber_set = set(params.keys())
|
25022
23054
|
for name, value in vars(self).items():
|
25023
23055
|
property_name = name[1:]
|
@@ -25028,143 +23060,31 @@ class RecognizePhilippinesVoteIDOCRRequest(AbstractModel):
|
|
25028
23060
|
|
25029
23061
|
|
25030
23062
|
|
25031
|
-
class
|
25032
|
-
"""
|
23063
|
+
class RecognizeOnlineTaxiItineraryOCRResponse(AbstractModel):
|
23064
|
+
"""RecognizeOnlineTaxiItineraryOCR返回参数结构体
|
25033
23065
|
|
25034
23066
|
"""
|
25035
23067
|
|
25036
23068
|
def __init__(self):
|
25037
23069
|
r"""
|
25038
|
-
:param
|
25039
|
-
:type
|
25040
|
-
:param _VIN: 菲律宾VoteID的VIN
|
25041
|
-
:type VIN: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25042
|
-
:param _FirstName: 姓名
|
25043
|
-
:type FirstName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25044
|
-
:param _LastName: 姓氏
|
25045
|
-
:type LastName: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25046
|
-
:param _Birthday: 出生日期
|
25047
|
-
:type Birthday: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25048
|
-
:param _CivilStatus: 婚姻状况
|
25049
|
-
:type CivilStatus: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25050
|
-
:param _Citizenship: 国籍
|
25051
|
-
:type Citizenship: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25052
|
-
:param _Address: 地址
|
25053
|
-
:type Address: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25054
|
-
:param _PrecinctNo: 地区
|
25055
|
-
:type PrecinctNo: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
23070
|
+
:param _OnlineTaxiItineraryInfos: 网约车行程单识别结果,具体内容请点击左侧链接。
|
23071
|
+
:type OnlineTaxiItineraryInfos: list of OnlineTaxiItineraryInfo
|
25056
23072
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
25057
23073
|
:type RequestId: str
|
25058
23074
|
"""
|
25059
|
-
self.
|
25060
|
-
self._VIN = None
|
25061
|
-
self._FirstName = None
|
25062
|
-
self._LastName = None
|
25063
|
-
self._Birthday = None
|
25064
|
-
self._CivilStatus = None
|
25065
|
-
self._Citizenship = None
|
25066
|
-
self._Address = None
|
25067
|
-
self._PrecinctNo = None
|
23075
|
+
self._OnlineTaxiItineraryInfos = None
|
25068
23076
|
self._RequestId = None
|
25069
23077
|
|
25070
23078
|
@property
|
25071
|
-
def
|
25072
|
-
"""
|
25073
|
-
:rtype:
|
25074
|
-
"""
|
25075
|
-
return self._HeadPortrait
|
25076
|
-
|
25077
|
-
@HeadPortrait.setter
|
25078
|
-
def HeadPortrait(self, HeadPortrait):
|
25079
|
-
self._HeadPortrait = HeadPortrait
|
25080
|
-
|
25081
|
-
@property
|
25082
|
-
def VIN(self):
|
25083
|
-
"""菲律宾VoteID的VIN
|
25084
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25085
|
-
"""
|
25086
|
-
return self._VIN
|
25087
|
-
|
25088
|
-
@VIN.setter
|
25089
|
-
def VIN(self, VIN):
|
25090
|
-
self._VIN = VIN
|
25091
|
-
|
25092
|
-
@property
|
25093
|
-
def FirstName(self):
|
25094
|
-
"""姓名
|
25095
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25096
|
-
"""
|
25097
|
-
return self._FirstName
|
25098
|
-
|
25099
|
-
@FirstName.setter
|
25100
|
-
def FirstName(self, FirstName):
|
25101
|
-
self._FirstName = FirstName
|
25102
|
-
|
25103
|
-
@property
|
25104
|
-
def LastName(self):
|
25105
|
-
"""姓氏
|
25106
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25107
|
-
"""
|
25108
|
-
return self._LastName
|
25109
|
-
|
25110
|
-
@LastName.setter
|
25111
|
-
def LastName(self, LastName):
|
25112
|
-
self._LastName = LastName
|
25113
|
-
|
25114
|
-
@property
|
25115
|
-
def Birthday(self):
|
25116
|
-
"""出生日期
|
25117
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25118
|
-
"""
|
25119
|
-
return self._Birthday
|
25120
|
-
|
25121
|
-
@Birthday.setter
|
25122
|
-
def Birthday(self, Birthday):
|
25123
|
-
self._Birthday = Birthday
|
25124
|
-
|
25125
|
-
@property
|
25126
|
-
def CivilStatus(self):
|
25127
|
-
"""婚姻状况
|
25128
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25129
|
-
"""
|
25130
|
-
return self._CivilStatus
|
25131
|
-
|
25132
|
-
@CivilStatus.setter
|
25133
|
-
def CivilStatus(self, CivilStatus):
|
25134
|
-
self._CivilStatus = CivilStatus
|
25135
|
-
|
25136
|
-
@property
|
25137
|
-
def Citizenship(self):
|
25138
|
-
"""国籍
|
25139
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25140
|
-
"""
|
25141
|
-
return self._Citizenship
|
25142
|
-
|
25143
|
-
@Citizenship.setter
|
25144
|
-
def Citizenship(self, Citizenship):
|
25145
|
-
self._Citizenship = Citizenship
|
25146
|
-
|
25147
|
-
@property
|
25148
|
-
def Address(self):
|
25149
|
-
"""地址
|
25150
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
25151
|
-
"""
|
25152
|
-
return self._Address
|
25153
|
-
|
25154
|
-
@Address.setter
|
25155
|
-
def Address(self, Address):
|
25156
|
-
self._Address = Address
|
25157
|
-
|
25158
|
-
@property
|
25159
|
-
def PrecinctNo(self):
|
25160
|
-
"""地区
|
25161
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.TextDetectionResult`
|
23079
|
+
def OnlineTaxiItineraryInfos(self):
|
23080
|
+
"""网约车行程单识别结果,具体内容请点击左侧链接。
|
23081
|
+
:rtype: list of OnlineTaxiItineraryInfo
|
25162
23082
|
"""
|
25163
|
-
return self.
|
23083
|
+
return self._OnlineTaxiItineraryInfos
|
25164
23084
|
|
25165
|
-
@
|
25166
|
-
def
|
25167
|
-
self.
|
23085
|
+
@OnlineTaxiItineraryInfos.setter
|
23086
|
+
def OnlineTaxiItineraryInfos(self, OnlineTaxiItineraryInfos):
|
23087
|
+
self._OnlineTaxiItineraryInfos = OnlineTaxiItineraryInfos
|
25168
23088
|
|
25169
23089
|
@property
|
25170
23090
|
def RequestId(self):
|
@@ -25179,33 +23099,12 @@ class RecognizePhilippinesVoteIDOCRResponse(AbstractModel):
|
|
25179
23099
|
|
25180
23100
|
|
25181
23101
|
def _deserialize(self, params):
|
25182
|
-
if params.get("
|
25183
|
-
self.
|
25184
|
-
|
25185
|
-
|
25186
|
-
|
25187
|
-
|
25188
|
-
if params.get("FirstName") is not None:
|
25189
|
-
self._FirstName = TextDetectionResult()
|
25190
|
-
self._FirstName._deserialize(params.get("FirstName"))
|
25191
|
-
if params.get("LastName") is not None:
|
25192
|
-
self._LastName = TextDetectionResult()
|
25193
|
-
self._LastName._deserialize(params.get("LastName"))
|
25194
|
-
if params.get("Birthday") is not None:
|
25195
|
-
self._Birthday = TextDetectionResult()
|
25196
|
-
self._Birthday._deserialize(params.get("Birthday"))
|
25197
|
-
if params.get("CivilStatus") is not None:
|
25198
|
-
self._CivilStatus = TextDetectionResult()
|
25199
|
-
self._CivilStatus._deserialize(params.get("CivilStatus"))
|
25200
|
-
if params.get("Citizenship") is not None:
|
25201
|
-
self._Citizenship = TextDetectionResult()
|
25202
|
-
self._Citizenship._deserialize(params.get("Citizenship"))
|
25203
|
-
if params.get("Address") is not None:
|
25204
|
-
self._Address = TextDetectionResult()
|
25205
|
-
self._Address._deserialize(params.get("Address"))
|
25206
|
-
if params.get("PrecinctNo") is not None:
|
25207
|
-
self._PrecinctNo = TextDetectionResult()
|
25208
|
-
self._PrecinctNo._deserialize(params.get("PrecinctNo"))
|
23102
|
+
if params.get("OnlineTaxiItineraryInfos") is not None:
|
23103
|
+
self._OnlineTaxiItineraryInfos = []
|
23104
|
+
for item in params.get("OnlineTaxiItineraryInfos"):
|
23105
|
+
obj = OnlineTaxiItineraryInfo()
|
23106
|
+
obj._deserialize(item)
|
23107
|
+
self._OnlineTaxiItineraryInfos.append(obj)
|
25209
23108
|
self._RequestId = params.get("RequestId")
|
25210
23109
|
|
25211
23110
|
|
@@ -32353,62 +30252,6 @@ class TextDetectionEn(AbstractModel):
|
|
32353
30252
|
|
32354
30253
|
|
32355
30254
|
|
32356
|
-
class TextDetectionResult(AbstractModel):
|
32357
|
-
"""识别结果
|
32358
|
-
|
32359
|
-
"""
|
32360
|
-
|
32361
|
-
def __init__(self):
|
32362
|
-
r"""
|
32363
|
-
:param _Value: 识别出的文本行内容
|
32364
|
-
:type Value: str
|
32365
|
-
:param _Polygon: 坐标,以四个顶点坐标表示
|
32366
|
-
:type Polygon: list of Coord
|
32367
|
-
"""
|
32368
|
-
self._Value = None
|
32369
|
-
self._Polygon = None
|
32370
|
-
|
32371
|
-
@property
|
32372
|
-
def Value(self):
|
32373
|
-
"""识别出的文本行内容
|
32374
|
-
:rtype: str
|
32375
|
-
"""
|
32376
|
-
return self._Value
|
32377
|
-
|
32378
|
-
@Value.setter
|
32379
|
-
def Value(self, Value):
|
32380
|
-
self._Value = Value
|
32381
|
-
|
32382
|
-
@property
|
32383
|
-
def Polygon(self):
|
32384
|
-
"""坐标,以四个顶点坐标表示
|
32385
|
-
:rtype: list of Coord
|
32386
|
-
"""
|
32387
|
-
return self._Polygon
|
32388
|
-
|
32389
|
-
@Polygon.setter
|
32390
|
-
def Polygon(self, Polygon):
|
32391
|
-
self._Polygon = Polygon
|
32392
|
-
|
32393
|
-
|
32394
|
-
def _deserialize(self, params):
|
32395
|
-
self._Value = params.get("Value")
|
32396
|
-
if params.get("Polygon") is not None:
|
32397
|
-
self._Polygon = []
|
32398
|
-
for item in params.get("Polygon"):
|
32399
|
-
obj = Coord()
|
32400
|
-
obj._deserialize(item)
|
32401
|
-
self._Polygon.append(obj)
|
32402
|
-
memeber_set = set(params.keys())
|
32403
|
-
for name, value in vars(self).items():
|
32404
|
-
property_name = name[1:]
|
32405
|
-
if property_name in memeber_set:
|
32406
|
-
memeber_set.remove(property_name)
|
32407
|
-
if len(memeber_set) > 0:
|
32408
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
32409
|
-
|
32410
|
-
|
32411
|
-
|
32412
30255
|
class TextEduPaper(AbstractModel):
|
32413
30256
|
"""数学试题识别结果
|
32414
30257
|
|