tencentcloud-sdk-python-faceid 3.1.179__py2.py3-none-any.whl → 3.1.207__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/faceid/v20180301/models.py +327 -2
- {tencentcloud_sdk_python_faceid-3.1.179.dist-info → tencentcloud_sdk_python_faceid-3.1.207.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_faceid-3.1.179.dist-info → tencentcloud_sdk_python_faceid-3.1.207.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_faceid-3.1.179.dist-info → tencentcloud_sdk_python_faceid-3.1.207.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_faceid-3.1.179.dist-info → tencentcloud_sdk_python_faceid-3.1.207.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -671,6 +671,87 @@ class BankCardVerificationResponse(AbstractModel):
|
|
|
671
671
|
self._RequestId = params.get("RequestId")
|
|
672
672
|
|
|
673
673
|
|
|
674
|
+
class BlackListItem(AbstractModel):
|
|
675
|
+
r"""BlackListItem
|
|
676
|
+
|
|
677
|
+
"""
|
|
678
|
+
|
|
679
|
+
def __init__(self):
|
|
680
|
+
r"""
|
|
681
|
+
:param _ModelId: <p>黑名单条目 ID,客户创建条目时自定义,用于回溯是哪一条命中</p>
|
|
682
|
+
:type ModelId: str
|
|
683
|
+
:param _ModelType: <p>条目类型。当前仅有 face(人脸)</p>
|
|
684
|
+
:type ModelType: str
|
|
685
|
+
:param _FaceScore: <p>人脸相似度,字符串形式表示,保留 4 位小数,取值 0.0000–1.0000</p>
|
|
686
|
+
:type FaceScore: str
|
|
687
|
+
:param _BackgroundScore: <p>背景相似度</p>
|
|
688
|
+
:type BackgroundScore: str
|
|
689
|
+
"""
|
|
690
|
+
self._ModelId = None
|
|
691
|
+
self._ModelType = None
|
|
692
|
+
self._FaceScore = None
|
|
693
|
+
self._BackgroundScore = None
|
|
694
|
+
|
|
695
|
+
@property
|
|
696
|
+
def ModelId(self):
|
|
697
|
+
r"""<p>黑名单条目 ID,客户创建条目时自定义,用于回溯是哪一条命中</p>
|
|
698
|
+
:rtype: str
|
|
699
|
+
"""
|
|
700
|
+
return self._ModelId
|
|
701
|
+
|
|
702
|
+
@ModelId.setter
|
|
703
|
+
def ModelId(self, ModelId):
|
|
704
|
+
self._ModelId = ModelId
|
|
705
|
+
|
|
706
|
+
@property
|
|
707
|
+
def ModelType(self):
|
|
708
|
+
r"""<p>条目类型。当前仅有 face(人脸)</p>
|
|
709
|
+
:rtype: str
|
|
710
|
+
"""
|
|
711
|
+
return self._ModelType
|
|
712
|
+
|
|
713
|
+
@ModelType.setter
|
|
714
|
+
def ModelType(self, ModelType):
|
|
715
|
+
self._ModelType = ModelType
|
|
716
|
+
|
|
717
|
+
@property
|
|
718
|
+
def FaceScore(self):
|
|
719
|
+
r"""<p>人脸相似度,字符串形式表示,保留 4 位小数,取值 0.0000–1.0000</p>
|
|
720
|
+
:rtype: str
|
|
721
|
+
"""
|
|
722
|
+
return self._FaceScore
|
|
723
|
+
|
|
724
|
+
@FaceScore.setter
|
|
725
|
+
def FaceScore(self, FaceScore):
|
|
726
|
+
self._FaceScore = FaceScore
|
|
727
|
+
|
|
728
|
+
@property
|
|
729
|
+
def BackgroundScore(self):
|
|
730
|
+
r"""<p>背景相似度</p>
|
|
731
|
+
:rtype: str
|
|
732
|
+
"""
|
|
733
|
+
return self._BackgroundScore
|
|
734
|
+
|
|
735
|
+
@BackgroundScore.setter
|
|
736
|
+
def BackgroundScore(self, BackgroundScore):
|
|
737
|
+
self._BackgroundScore = BackgroundScore
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
def _deserialize(self, params):
|
|
741
|
+
self._ModelId = params.get("ModelId")
|
|
742
|
+
self._ModelType = params.get("ModelType")
|
|
743
|
+
self._FaceScore = params.get("FaceScore")
|
|
744
|
+
self._BackgroundScore = params.get("BackgroundScore")
|
|
745
|
+
memeber_set = set(params.keys())
|
|
746
|
+
for name, value in vars(self).items():
|
|
747
|
+
property_name = name[1:]
|
|
748
|
+
if property_name in memeber_set:
|
|
749
|
+
memeber_set.remove(property_name)
|
|
750
|
+
if len(memeber_set) > 0:
|
|
751
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
|
|
674
755
|
class ChargeDetail(AbstractModel):
|
|
675
756
|
r"""计费详情
|
|
676
757
|
|
|
@@ -1792,11 +1873,14 @@ class DetectAIFakeFacesRequest(AbstractModel):
|
|
|
1792
1873
|
:type Encryption: :class:`tencentcloud.faceid.v20180301.models.Encryption`
|
|
1793
1874
|
:param _EncryptedBody: <p>加密后的密文。</p><ul><li>加密前的数据格式如下:{"FaceInput":"AAAAA","FaceInputType":1}。</li></ul>
|
|
1794
1875
|
:type EncryptedBody: str
|
|
1876
|
+
:param _ExtraRiskInfo: <p>一次性携带本次请求的风控上下文,即“是谁、在哪、从哪个 IP 发起”</p>
|
|
1877
|
+
:type ExtraRiskInfo: :class:`tencentcloud.faceid.v20180301.models.ExtraRiskInfo`
|
|
1795
1878
|
"""
|
|
1796
1879
|
self._FaceInput = None
|
|
1797
1880
|
self._FaceInputType = None
|
|
1798
1881
|
self._Encryption = None
|
|
1799
1882
|
self._EncryptedBody = None
|
|
1883
|
+
self._ExtraRiskInfo = None
|
|
1800
1884
|
|
|
1801
1885
|
@property
|
|
1802
1886
|
def FaceInput(self):
|
|
@@ -1842,6 +1926,17 @@ class DetectAIFakeFacesRequest(AbstractModel):
|
|
|
1842
1926
|
def EncryptedBody(self, EncryptedBody):
|
|
1843
1927
|
self._EncryptedBody = EncryptedBody
|
|
1844
1928
|
|
|
1929
|
+
@property
|
|
1930
|
+
def ExtraRiskInfo(self):
|
|
1931
|
+
r"""<p>一次性携带本次请求的风控上下文,即“是谁、在哪、从哪个 IP 发起”</p>
|
|
1932
|
+
:rtype: :class:`tencentcloud.faceid.v20180301.models.ExtraRiskInfo`
|
|
1933
|
+
"""
|
|
1934
|
+
return self._ExtraRiskInfo
|
|
1935
|
+
|
|
1936
|
+
@ExtraRiskInfo.setter
|
|
1937
|
+
def ExtraRiskInfo(self, ExtraRiskInfo):
|
|
1938
|
+
self._ExtraRiskInfo = ExtraRiskInfo
|
|
1939
|
+
|
|
1845
1940
|
|
|
1846
1941
|
def _deserialize(self, params):
|
|
1847
1942
|
self._FaceInput = params.get("FaceInput")
|
|
@@ -1850,6 +1945,9 @@ class DetectAIFakeFacesRequest(AbstractModel):
|
|
|
1850
1945
|
self._Encryption = Encryption()
|
|
1851
1946
|
self._Encryption._deserialize(params.get("Encryption"))
|
|
1852
1947
|
self._EncryptedBody = params.get("EncryptedBody")
|
|
1948
|
+
if params.get("ExtraRiskInfo") is not None:
|
|
1949
|
+
self._ExtraRiskInfo = ExtraRiskInfo()
|
|
1950
|
+
self._ExtraRiskInfo._deserialize(params.get("ExtraRiskInfo"))
|
|
1853
1951
|
memeber_set = set(params.keys())
|
|
1854
1952
|
for name, value in vars(self).items():
|
|
1855
1953
|
property_name = name[1:]
|
|
@@ -1873,12 +1971,16 @@ class DetectAIFakeFacesResponse(AbstractModel):
|
|
|
1873
1971
|
:type AttackRiskDetailList: list of AttackRiskDetail
|
|
1874
1972
|
:param _ExtraInfo: <p>返回额外信息(包括命中模板的详细信息)。</p>
|
|
1875
1973
|
:type ExtraInfo: :class:`tencentcloud.faceid.v20180301.models.ExtraInfo`
|
|
1974
|
+
:param _ExtraRiskResult: <p>附加风险结论的独立容器,回答“本次附加风险检查是否可信、有没有发现问题”。</p>
|
|
1975
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1976
|
+
:type ExtraRiskResult: :class:`tencentcloud.faceid.v20180301.models.ExtraRiskResult`
|
|
1876
1977
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1877
1978
|
:type RequestId: str
|
|
1878
1979
|
"""
|
|
1879
1980
|
self._AttackRiskLevel = None
|
|
1880
1981
|
self._AttackRiskDetailList = None
|
|
1881
1982
|
self._ExtraInfo = None
|
|
1983
|
+
self._ExtraRiskResult = None
|
|
1882
1984
|
self._RequestId = None
|
|
1883
1985
|
|
|
1884
1986
|
@property
|
|
@@ -1914,6 +2016,18 @@ class DetectAIFakeFacesResponse(AbstractModel):
|
|
|
1914
2016
|
def ExtraInfo(self, ExtraInfo):
|
|
1915
2017
|
self._ExtraInfo = ExtraInfo
|
|
1916
2018
|
|
|
2019
|
+
@property
|
|
2020
|
+
def ExtraRiskResult(self):
|
|
2021
|
+
r"""<p>附加风险结论的独立容器,回答“本次附加风险检查是否可信、有没有发现问题”。</p>
|
|
2022
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2023
|
+
:rtype: :class:`tencentcloud.faceid.v20180301.models.ExtraRiskResult`
|
|
2024
|
+
"""
|
|
2025
|
+
return self._ExtraRiskResult
|
|
2026
|
+
|
|
2027
|
+
@ExtraRiskResult.setter
|
|
2028
|
+
def ExtraRiskResult(self, ExtraRiskResult):
|
|
2029
|
+
self._ExtraRiskResult = ExtraRiskResult
|
|
2030
|
+
|
|
1917
2031
|
@property
|
|
1918
2032
|
def RequestId(self):
|
|
1919
2033
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1937,6 +2051,9 @@ class DetectAIFakeFacesResponse(AbstractModel):
|
|
|
1937
2051
|
if params.get("ExtraInfo") is not None:
|
|
1938
2052
|
self._ExtraInfo = ExtraInfo()
|
|
1939
2053
|
self._ExtraInfo._deserialize(params.get("ExtraInfo"))
|
|
2054
|
+
if params.get("ExtraRiskResult") is not None:
|
|
2055
|
+
self._ExtraRiskResult = ExtraRiskResult()
|
|
2056
|
+
self._ExtraRiskResult._deserialize(params.get("ExtraRiskResult"))
|
|
1940
2057
|
self._RequestId = params.get("RequestId")
|
|
1941
2058
|
|
|
1942
2059
|
|
|
@@ -3734,6 +3851,178 @@ class ExtraInfo(AbstractModel):
|
|
|
3734
3851
|
|
|
3735
3852
|
|
|
3736
3853
|
|
|
3854
|
+
class ExtraRiskInfo(AbstractModel):
|
|
3855
|
+
r"""ExtraRiskInfo
|
|
3856
|
+
|
|
3857
|
+
"""
|
|
3858
|
+
|
|
3859
|
+
def __init__(self):
|
|
3860
|
+
r"""
|
|
3861
|
+
:param _PersonId: <p>客户业务域内稳定且唯一的人员标识,用于把同一人员的多次位置上报关联起来,判断是否存在异常位移。</p><p>入参限制:长度 ≤ 128 字符;不可含控制字符(ASCII < 0x20 或 0x7F);建议传脱敏标识,勿传明文身份证号/手机号</p>
|
|
3862
|
+
:type PersonId: str
|
|
3863
|
+
:param _Latitude: <p>设备采集时的纬度,WGS84 十进制度 </p><p>入参限制:与 Longitude 必须成对出现;取值 [-90, 90];须为有效数字,不接受 NaN/Inf;JSON 中按字符串传(如 "22.5431")</p>
|
|
3864
|
+
:type Latitude: str
|
|
3865
|
+
:param _Longitude: <p>设备采集时的经度,WGS84 十进制度 </p><p>入参限制:与 Latitude 必须成对出现;取值 [-180, 180];其余同上</p>
|
|
3866
|
+
:type Longitude: str
|
|
3867
|
+
:param _Ip: <p>设备采集时的公网出口 IP </p><p>入参限制:长度 ≤ 64;须为可解析的 IPv4/IPv6;私网、回环、链路本地、组播地址视为不可定位</p>
|
|
3868
|
+
:type Ip: str
|
|
3869
|
+
"""
|
|
3870
|
+
self._PersonId = None
|
|
3871
|
+
self._Latitude = None
|
|
3872
|
+
self._Longitude = None
|
|
3873
|
+
self._Ip = None
|
|
3874
|
+
|
|
3875
|
+
@property
|
|
3876
|
+
def PersonId(self):
|
|
3877
|
+
r"""<p>客户业务域内稳定且唯一的人员标识,用于把同一人员的多次位置上报关联起来,判断是否存在异常位移。</p><p>入参限制:长度 ≤ 128 字符;不可含控制字符(ASCII < 0x20 或 0x7F);建议传脱敏标识,勿传明文身份证号/手机号</p>
|
|
3878
|
+
:rtype: str
|
|
3879
|
+
"""
|
|
3880
|
+
return self._PersonId
|
|
3881
|
+
|
|
3882
|
+
@PersonId.setter
|
|
3883
|
+
def PersonId(self, PersonId):
|
|
3884
|
+
self._PersonId = PersonId
|
|
3885
|
+
|
|
3886
|
+
@property
|
|
3887
|
+
def Latitude(self):
|
|
3888
|
+
r"""<p>设备采集时的纬度,WGS84 十进制度 </p><p>入参限制:与 Longitude 必须成对出现;取值 [-90, 90];须为有效数字,不接受 NaN/Inf;JSON 中按字符串传(如 "22.5431")</p>
|
|
3889
|
+
:rtype: str
|
|
3890
|
+
"""
|
|
3891
|
+
return self._Latitude
|
|
3892
|
+
|
|
3893
|
+
@Latitude.setter
|
|
3894
|
+
def Latitude(self, Latitude):
|
|
3895
|
+
self._Latitude = Latitude
|
|
3896
|
+
|
|
3897
|
+
@property
|
|
3898
|
+
def Longitude(self):
|
|
3899
|
+
r"""<p>设备采集时的经度,WGS84 十进制度 </p><p>入参限制:与 Latitude 必须成对出现;取值 [-180, 180];其余同上</p>
|
|
3900
|
+
:rtype: str
|
|
3901
|
+
"""
|
|
3902
|
+
return self._Longitude
|
|
3903
|
+
|
|
3904
|
+
@Longitude.setter
|
|
3905
|
+
def Longitude(self, Longitude):
|
|
3906
|
+
self._Longitude = Longitude
|
|
3907
|
+
|
|
3908
|
+
@property
|
|
3909
|
+
def Ip(self):
|
|
3910
|
+
r"""<p>设备采集时的公网出口 IP </p><p>入参限制:长度 ≤ 64;须为可解析的 IPv4/IPv6;私网、回环、链路本地、组播地址视为不可定位</p>
|
|
3911
|
+
:rtype: str
|
|
3912
|
+
"""
|
|
3913
|
+
return self._Ip
|
|
3914
|
+
|
|
3915
|
+
@Ip.setter
|
|
3916
|
+
def Ip(self, Ip):
|
|
3917
|
+
self._Ip = Ip
|
|
3918
|
+
|
|
3919
|
+
|
|
3920
|
+
def _deserialize(self, params):
|
|
3921
|
+
self._PersonId = params.get("PersonId")
|
|
3922
|
+
self._Latitude = params.get("Latitude")
|
|
3923
|
+
self._Longitude = params.get("Longitude")
|
|
3924
|
+
self._Ip = params.get("Ip")
|
|
3925
|
+
memeber_set = set(params.keys())
|
|
3926
|
+
for name, value in vars(self).items():
|
|
3927
|
+
property_name = name[1:]
|
|
3928
|
+
if property_name in memeber_set:
|
|
3929
|
+
memeber_set.remove(property_name)
|
|
3930
|
+
if len(memeber_set) > 0:
|
|
3931
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3932
|
+
|
|
3933
|
+
|
|
3934
|
+
|
|
3935
|
+
class ExtraRiskResult(AbstractModel):
|
|
3936
|
+
r"""ExtraRiskResult
|
|
3937
|
+
|
|
3938
|
+
"""
|
|
3939
|
+
|
|
3940
|
+
def __init__(self):
|
|
3941
|
+
r"""
|
|
3942
|
+
:param _Status: <p>本次附加检查的完成度,回答“这次结果可否采信”。</p><p>枚举值:</p><ul><li>Completed: 本次请求所需的检查均已给出结论(命中或通过)</li><li>Partial: 至少一项检查未能给出结论:依赖不可用、数据不足、入参不完整或非法。结果仅供参考,不代表安全</li></ul>
|
|
3943
|
+
:type Status: str
|
|
3944
|
+
:param _RiskLevel: <p>附加风险等级,可能为空字符串</p><p>枚举值:</p><ul><li>High: 存在已生效的风险命中项(此时 RiskDetailList 非空)</li><li>Low: 检查已完成,且确认无命中</li><li>""(空字符串) : 未识别:本次没有任何一项检查能给出结论,或检查未全部完成。既不代表有风险,也不代表安全</li></ul>
|
|
3945
|
+
:type RiskLevel: str
|
|
3946
|
+
:param _BlackListResult: <p>命中的风险项列表,未命中时为空数组 []</p>
|
|
3947
|
+
:type BlackListResult: list of BlackListItem
|
|
3948
|
+
:param _RiskDetailList: <p>人脸黑名单命中明细,未命中时为空数组 []</p>
|
|
3949
|
+
:type RiskDetailList: list of RiskDetailItem
|
|
3950
|
+
"""
|
|
3951
|
+
self._Status = None
|
|
3952
|
+
self._RiskLevel = None
|
|
3953
|
+
self._BlackListResult = None
|
|
3954
|
+
self._RiskDetailList = None
|
|
3955
|
+
|
|
3956
|
+
@property
|
|
3957
|
+
def Status(self):
|
|
3958
|
+
r"""<p>本次附加检查的完成度,回答“这次结果可否采信”。</p><p>枚举值:</p><ul><li>Completed: 本次请求所需的检查均已给出结论(命中或通过)</li><li>Partial: 至少一项检查未能给出结论:依赖不可用、数据不足、入参不完整或非法。结果仅供参考,不代表安全</li></ul>
|
|
3959
|
+
:rtype: str
|
|
3960
|
+
"""
|
|
3961
|
+
return self._Status
|
|
3962
|
+
|
|
3963
|
+
@Status.setter
|
|
3964
|
+
def Status(self, Status):
|
|
3965
|
+
self._Status = Status
|
|
3966
|
+
|
|
3967
|
+
@property
|
|
3968
|
+
def RiskLevel(self):
|
|
3969
|
+
r"""<p>附加风险等级,可能为空字符串</p><p>枚举值:</p><ul><li>High: 存在已生效的风险命中项(此时 RiskDetailList 非空)</li><li>Low: 检查已完成,且确认无命中</li><li>""(空字符串) : 未识别:本次没有任何一项检查能给出结论,或检查未全部完成。既不代表有风险,也不代表安全</li></ul>
|
|
3970
|
+
:rtype: str
|
|
3971
|
+
"""
|
|
3972
|
+
return self._RiskLevel
|
|
3973
|
+
|
|
3974
|
+
@RiskLevel.setter
|
|
3975
|
+
def RiskLevel(self, RiskLevel):
|
|
3976
|
+
self._RiskLevel = RiskLevel
|
|
3977
|
+
|
|
3978
|
+
@property
|
|
3979
|
+
def BlackListResult(self):
|
|
3980
|
+
r"""<p>命中的风险项列表,未命中时为空数组 []</p>
|
|
3981
|
+
:rtype: list of BlackListItem
|
|
3982
|
+
"""
|
|
3983
|
+
return self._BlackListResult
|
|
3984
|
+
|
|
3985
|
+
@BlackListResult.setter
|
|
3986
|
+
def BlackListResult(self, BlackListResult):
|
|
3987
|
+
self._BlackListResult = BlackListResult
|
|
3988
|
+
|
|
3989
|
+
@property
|
|
3990
|
+
def RiskDetailList(self):
|
|
3991
|
+
r"""<p>人脸黑名单命中明细,未命中时为空数组 []</p>
|
|
3992
|
+
:rtype: list of RiskDetailItem
|
|
3993
|
+
"""
|
|
3994
|
+
return self._RiskDetailList
|
|
3995
|
+
|
|
3996
|
+
@RiskDetailList.setter
|
|
3997
|
+
def RiskDetailList(self, RiskDetailList):
|
|
3998
|
+
self._RiskDetailList = RiskDetailList
|
|
3999
|
+
|
|
4000
|
+
|
|
4001
|
+
def _deserialize(self, params):
|
|
4002
|
+
self._Status = params.get("Status")
|
|
4003
|
+
self._RiskLevel = params.get("RiskLevel")
|
|
4004
|
+
if params.get("BlackListResult") is not None:
|
|
4005
|
+
self._BlackListResult = []
|
|
4006
|
+
for item in params.get("BlackListResult"):
|
|
4007
|
+
obj = BlackListItem()
|
|
4008
|
+
obj._deserialize(item)
|
|
4009
|
+
self._BlackListResult.append(obj)
|
|
4010
|
+
if params.get("RiskDetailList") is not None:
|
|
4011
|
+
self._RiskDetailList = []
|
|
4012
|
+
for item in params.get("RiskDetailList"):
|
|
4013
|
+
obj = RiskDetailItem()
|
|
4014
|
+
obj._deserialize(item)
|
|
4015
|
+
self._RiskDetailList.append(obj)
|
|
4016
|
+
memeber_set = set(params.keys())
|
|
4017
|
+
for name, value in vars(self).items():
|
|
4018
|
+
property_name = name[1:]
|
|
4019
|
+
if property_name in memeber_set:
|
|
4020
|
+
memeber_set.remove(property_name)
|
|
4021
|
+
if len(memeber_set) > 0:
|
|
4022
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4023
|
+
|
|
4024
|
+
|
|
4025
|
+
|
|
3737
4026
|
class GetActionSequenceRequest(AbstractModel):
|
|
3738
4027
|
r"""GetActionSequence请求参数结构体
|
|
3739
4028
|
|
|
@@ -6826,7 +7115,7 @@ class IdCardOCRVerificationRequest(AbstractModel):
|
|
|
6826
7115
|
:type Name: str
|
|
6827
7116
|
:param _ImageBase64: <p>身份证人像面的 Base64 值。</p><ul><li>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。</li><li>支持的图片大小:所下载图片经Base64编码后不超过 3M。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。</li></ul>
|
|
6828
7117
|
:type ImageBase64: str
|
|
6829
|
-
:param _ImageUrl: <p>身份证人像面的 Url
|
|
7118
|
+
:param _ImageUrl: <p>身份证人像面的 Url 地址。- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。- 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。- 非腾讯云COS的 Url 速度和稳定性可能受一定影响。</p>
|
|
6830
7119
|
:type ImageUrl: str
|
|
6831
7120
|
:param _Encryption: <p>敏感数据加密信息。</p><ul><li>对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。</li></ul>
|
|
6832
7121
|
:type Encryption: :class:`tencentcloud.faceid.v20180301.models.Encryption`
|
|
@@ -6875,7 +7164,7 @@ class IdCardOCRVerificationRequest(AbstractModel):
|
|
|
6875
7164
|
|
|
6876
7165
|
@property
|
|
6877
7166
|
def ImageUrl(self):
|
|
6878
|
-
r"""<p>身份证人像面的 Url
|
|
7167
|
+
r"""<p>身份证人像面的 Url 地址。- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。- 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。- 非腾讯云COS的 Url 速度和稳定性可能受一定影响。</p>
|
|
6879
7168
|
:rtype: str
|
|
6880
7169
|
"""
|
|
6881
7170
|
return self._ImageUrl
|
|
@@ -10298,6 +10587,42 @@ class RetrievalLivenessExtraInfo(AbstractModel):
|
|
|
10298
10587
|
|
|
10299
10588
|
|
|
10300
10589
|
|
|
10590
|
+
class RiskDetailItem(AbstractModel):
|
|
10591
|
+
r"""RiskDetailItem
|
|
10592
|
+
|
|
10593
|
+
"""
|
|
10594
|
+
|
|
10595
|
+
def __init__(self):
|
|
10596
|
+
r"""
|
|
10597
|
+
:param _Type: <p>风险项类型</p><p>枚举值:</p><ul><li>IpLocationMismatch: 上报坐标所在国家/地区与 IP 归属国家/地区不一致</li><li>AbnormalLocationChange: 同一人员短时间内发生物理上不可能的位移 </li><li>BlacklistHit: 命中客户自建人脸黑名单</li></ul>
|
|
10598
|
+
:type Type: str
|
|
10599
|
+
"""
|
|
10600
|
+
self._Type = None
|
|
10601
|
+
|
|
10602
|
+
@property
|
|
10603
|
+
def Type(self):
|
|
10604
|
+
r"""<p>风险项类型</p><p>枚举值:</p><ul><li>IpLocationMismatch: 上报坐标所在国家/地区与 IP 归属国家/地区不一致</li><li>AbnormalLocationChange: 同一人员短时间内发生物理上不可能的位移 </li><li>BlacklistHit: 命中客户自建人脸黑名单</li></ul>
|
|
10605
|
+
:rtype: str
|
|
10606
|
+
"""
|
|
10607
|
+
return self._Type
|
|
10608
|
+
|
|
10609
|
+
@Type.setter
|
|
10610
|
+
def Type(self, Type):
|
|
10611
|
+
self._Type = Type
|
|
10612
|
+
|
|
10613
|
+
|
|
10614
|
+
def _deserialize(self, params):
|
|
10615
|
+
self._Type = params.get("Type")
|
|
10616
|
+
memeber_set = set(params.keys())
|
|
10617
|
+
for name, value in vars(self).items():
|
|
10618
|
+
property_name = name[1:]
|
|
10619
|
+
if property_name in memeber_set:
|
|
10620
|
+
memeber_set.remove(property_name)
|
|
10621
|
+
if len(memeber_set) > 0:
|
|
10622
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10623
|
+
|
|
10624
|
+
|
|
10625
|
+
|
|
10301
10626
|
class RuleIdConfig(AbstractModel):
|
|
10302
10627
|
r"""RuleId相关配置
|
|
10303
10628
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-faceid
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.207
|
|
4
4
|
Summary: Tencent Cloud Faceid SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.207
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=7wxxwgy4o2cS92M5HhRyu1CjoSZz6utbZRAzG9UpafU,630
|
|
2
2
|
tencentcloud/faceid/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/faceid/v20180301/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/faceid/v20180301/errorcodes.py,sha256=KjJhJPydFEaWOTKSuQ5cgUAcPHzKOabc4oKsjPnNq0g,10463
|
|
5
5
|
tencentcloud/faceid/v20180301/faceid_client.py,sha256=aCa_wAONznGJISq3LUhw4NqVnxj3alWLvgX7cANYuHM,38618
|
|
6
6
|
tencentcloud/faceid/v20180301/faceid_client_async.py,sha256=ScpW0wdIW5YXjnHzQDlFq44tDMgnTeKcn3JDqmqHrt8,27224
|
|
7
|
-
tencentcloud/faceid/v20180301/models.py,sha256=
|
|
8
|
-
tencentcloud_sdk_python_faceid-3.1.
|
|
9
|
-
tencentcloud_sdk_python_faceid-3.1.
|
|
10
|
-
tencentcloud_sdk_python_faceid-3.1.
|
|
11
|
-
tencentcloud_sdk_python_faceid-3.1.
|
|
7
|
+
tencentcloud/faceid/v20180301/models.py,sha256=M8ikumuDH4QLyumWG8iMnymqbIOKfzJrxN5MCtYoimY,411662
|
|
8
|
+
tencentcloud_sdk_python_faceid-3.1.207.dist-info/METADATA,sha256=EUgEt70ewmg6fzHc0NAaO9F0Sp_Py-blikEO6YafOvc,1512
|
|
9
|
+
tencentcloud_sdk_python_faceid-3.1.207.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_faceid-3.1.207.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_faceid-3.1.207.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|