tencentcloud-sdk-python-faceid 3.1.67__tar.gz → 3.1.69__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/setup.py +1 -1
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/tencentcloud/faceid/v20180301/models.py +25 -65
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_faceid-3.1.69/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_faceid-3.1.67/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/README.rst +0 -0
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/setup.cfg +0 -0
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/tencentcloud/faceid/__init__.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/tencentcloud/faceid/v20180301/__init__.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/tencentcloud/faceid/v20180301/faceid_client_async.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_faceid-3.1.67 → tencentcloud_sdk_python_faceid-3.1.69}/tencentcloud_sdk_python_faceid.egg-info/top_level.txt +0 -0
|
@@ -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.69
|
|
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.69
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-faceid',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.69,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Faceid SDK for Python',
|
|
@@ -7871,36 +7871,31 @@ class IntentionQuestionResult(AbstractModel):
|
|
|
7871
7871
|
|
|
7872
7872
|
|
|
7873
7873
|
class IntentionVerifyData(AbstractModel):
|
|
7874
|
-
r"""
|
|
7874
|
+
r"""意愿核身朗读模式相关结果。
|
|
7875
7875
|
|
|
7876
7876
|
"""
|
|
7877
7877
|
|
|
7878
7878
|
def __init__(self):
|
|
7879
7879
|
r"""
|
|
7880
|
-
:param _IntentionVerifyVideo:
|
|
7881
|
-
- 若不存在则为空字符串。
|
|
7880
|
+
:param _IntentionVerifyVideo: <p>意愿确认环节中录制的视频(base64)。</p><ul><li>若不存在则为空字符串。</li></ul>
|
|
7882
7881
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7883
7882
|
:type IntentionVerifyVideo: str
|
|
7884
|
-
:param _AsrResult:
|
|
7885
|
-
- 若不存在则为空字符串。
|
|
7883
|
+
:param _AsrResult: <p>意愿确认环节中用户语音转文字的识别结果。</p><ul><li>若不存在则为空字符串。</li></ul>
|
|
7886
7884
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7887
7885
|
:type AsrResult: str
|
|
7888
|
-
:param _ErrorCode:
|
|
7889
|
-
- 当该结果码为0时,语音朗读的视频与语音识别结果才会返回。
|
|
7886
|
+
:param _ErrorCode: <p>意愿确认环节(朗读模式)的结果码。取值范围:<br>0: "成功"<br>-1: "系统异常"<br>-2: "参数错误"<br>-3:"业务繁忙,请重试"<br>-4:"后端服务异常,请重试"<br>-5:"后端服务进房异常,请重试"<br>-6:"后端服务录制异常,请重试"<br>-7:"文件存储异常,请重试"<br>-8:"后端服务重复进房,请重试"<br>-9:"实时视频流异常,请重试"<br>-10:"语音识别失败,请重试"<br>-11:"流程已中断,请重试"<br>-12:"流程未完成,请重试"<br>-13:"token校验不通过,请重试"<br>-14:"流程已结束"<br>-15:"超过预设重试次数"<br>-16:"系统未知错误,请联系人工核实"<br>-17:"未检测到用户声音"<br>3001:"请保持人脸在框内"<br>3002:"检测到多张人脸"<br>3003:"人脸检测失败"<br>3011:"人脸比对相似度低"<br>3012:"人脸比对失败"<br>-800: "前端不兼容错误"<br>-801: "用户未授权摄像头和麦克风权限"<br>-802: "核验流程异常中断,请勿切屏或进行其他操作"<br>-803: "用户主动关闭链接/异常断开链接"</p><p>说明:若在人脸核身过程失败、未进入意愿确认过程,则该参数返回为空,请参考人脸核身错误码结果(DetectInfoText.ErrCode)注意:此字段可能返回 null,表示取不到有效值。<br>示例值:0</p>
|
|
7890
7887
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7891
7888
|
:type ErrorCode: int
|
|
7892
|
-
:param _ErrorMessage:
|
|
7889
|
+
:param _ErrorMessage: <p>意愿确认环节的结果信息。</p>
|
|
7893
7890
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7894
7891
|
:type ErrorMessage: str
|
|
7895
|
-
:param _IntentionVerifyBestFrame:
|
|
7896
|
-
- 若不存在则为空字符串。
|
|
7892
|
+
:param _IntentionVerifyBestFrame: <p>意愿确认环节中录制视频的最佳帧(base64)。</p><ul><li>若不存在则为空字符串。</li></ul>
|
|
7897
7893
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7898
7894
|
:type IntentionVerifyBestFrame: str
|
|
7899
|
-
:param _AsrResultSimilarity:
|
|
7895
|
+
:param _AsrResultSimilarity: <p>本次流程用户语音与传入文本比对的相似度分值,取值范围 [0.00, 100.00]。只有配置了相似度阈值后才进行语音校验并返回相似度分值。</p>
|
|
7900
7896
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7901
7897
|
:type AsrResultSimilarity: str
|
|
7902
|
-
:param _IntentionVerifyAudio:
|
|
7903
|
-
- 若不存在则为空字符串。
|
|
7898
|
+
:param _IntentionVerifyAudio: <p>意愿确认环节中录制的音频(base64)。</p><ul><li>若不存在则为空字符串。</li></ul>
|
|
7904
7899
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7905
7900
|
:type IntentionVerifyAudio: str
|
|
7906
7901
|
"""
|
|
@@ -7914,8 +7909,7 @@ class IntentionVerifyData(AbstractModel):
|
|
|
7914
7909
|
|
|
7915
7910
|
@property
|
|
7916
7911
|
def IntentionVerifyVideo(self):
|
|
7917
|
-
r"""
|
|
7918
|
-
- 若不存在则为空字符串。
|
|
7912
|
+
r"""<p>意愿确认环节中录制的视频(base64)。</p><ul><li>若不存在则为空字符串。</li></ul>
|
|
7919
7913
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7920
7914
|
:rtype: str
|
|
7921
7915
|
"""
|
|
@@ -7927,8 +7921,7 @@ class IntentionVerifyData(AbstractModel):
|
|
|
7927
7921
|
|
|
7928
7922
|
@property
|
|
7929
7923
|
def AsrResult(self):
|
|
7930
|
-
r"""
|
|
7931
|
-
- 若不存在则为空字符串。
|
|
7924
|
+
r"""<p>意愿确认环节中用户语音转文字的识别结果。</p><ul><li>若不存在则为空字符串。</li></ul>
|
|
7932
7925
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7933
7926
|
:rtype: str
|
|
7934
7927
|
"""
|
|
@@ -7940,8 +7933,7 @@ class IntentionVerifyData(AbstractModel):
|
|
|
7940
7933
|
|
|
7941
7934
|
@property
|
|
7942
7935
|
def ErrorCode(self):
|
|
7943
|
-
r"""
|
|
7944
|
-
- 当该结果码为0时,语音朗读的视频与语音识别结果才会返回。
|
|
7936
|
+
r"""<p>意愿确认环节(朗读模式)的结果码。取值范围:<br>0: "成功"<br>-1: "系统异常"<br>-2: "参数错误"<br>-3:"业务繁忙,请重试"<br>-4:"后端服务异常,请重试"<br>-5:"后端服务进房异常,请重试"<br>-6:"后端服务录制异常,请重试"<br>-7:"文件存储异常,请重试"<br>-8:"后端服务重复进房,请重试"<br>-9:"实时视频流异常,请重试"<br>-10:"语音识别失败,请重试"<br>-11:"流程已中断,请重试"<br>-12:"流程未完成,请重试"<br>-13:"token校验不通过,请重试"<br>-14:"流程已结束"<br>-15:"超过预设重试次数"<br>-16:"系统未知错误,请联系人工核实"<br>-17:"未检测到用户声音"<br>3001:"请保持人脸在框内"<br>3002:"检测到多张人脸"<br>3003:"人脸检测失败"<br>3011:"人脸比对相似度低"<br>3012:"人脸比对失败"<br>-800: "前端不兼容错误"<br>-801: "用户未授权摄像头和麦克风权限"<br>-802: "核验流程异常中断,请勿切屏或进行其他操作"<br>-803: "用户主动关闭链接/异常断开链接"</p><p>说明:若在人脸核身过程失败、未进入意愿确认过程,则该参数返回为空,请参考人脸核身错误码结果(DetectInfoText.ErrCode)注意:此字段可能返回 null,表示取不到有效值。<br>示例值:0</p>
|
|
7945
7937
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7946
7938
|
:rtype: int
|
|
7947
7939
|
"""
|
|
@@ -7953,7 +7945,7 @@ class IntentionVerifyData(AbstractModel):
|
|
|
7953
7945
|
|
|
7954
7946
|
@property
|
|
7955
7947
|
def ErrorMessage(self):
|
|
7956
|
-
r"""
|
|
7948
|
+
r"""<p>意愿确认环节的结果信息。</p>
|
|
7957
7949
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7958
7950
|
:rtype: str
|
|
7959
7951
|
"""
|
|
@@ -7965,8 +7957,7 @@ class IntentionVerifyData(AbstractModel):
|
|
|
7965
7957
|
|
|
7966
7958
|
@property
|
|
7967
7959
|
def IntentionVerifyBestFrame(self):
|
|
7968
|
-
r"""
|
|
7969
|
-
- 若不存在则为空字符串。
|
|
7960
|
+
r"""<p>意愿确认环节中录制视频的最佳帧(base64)。</p><ul><li>若不存在则为空字符串。</li></ul>
|
|
7970
7961
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7971
7962
|
:rtype: str
|
|
7972
7963
|
"""
|
|
@@ -7980,7 +7971,7 @@ class IntentionVerifyData(AbstractModel):
|
|
|
7980
7971
|
def AsrResultSimilarity(self):
|
|
7981
7972
|
warnings.warn("parameter `AsrResultSimilarity` is deprecated", DeprecationWarning)
|
|
7982
7973
|
|
|
7983
|
-
r"""
|
|
7974
|
+
r"""<p>本次流程用户语音与传入文本比对的相似度分值,取值范围 [0.00, 100.00]。只有配置了相似度阈值后才进行语音校验并返回相似度分值。</p>
|
|
7984
7975
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7985
7976
|
:rtype: str
|
|
7986
7977
|
"""
|
|
@@ -7994,8 +7985,7 @@ class IntentionVerifyData(AbstractModel):
|
|
|
7994
7985
|
|
|
7995
7986
|
@property
|
|
7996
7987
|
def IntentionVerifyAudio(self):
|
|
7997
|
-
r"""
|
|
7998
|
-
- 若不存在则为空字符串。
|
|
7988
|
+
r"""<p>意愿确认环节中录制的音频(base64)。</p><ul><li>若不存在则为空字符串。</li></ul>
|
|
7999
7989
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8000
7990
|
:rtype: str
|
|
8001
7991
|
"""
|
|
@@ -8875,10 +8865,9 @@ class MobileStatusRequest(AbstractModel):
|
|
|
8875
8865
|
|
|
8876
8866
|
def __init__(self):
|
|
8877
8867
|
r"""
|
|
8878
|
-
:param _Mobile:
|
|
8868
|
+
:param _Mobile: <p>手机号码。</p>
|
|
8879
8869
|
:type Mobile: str
|
|
8880
|
-
:param _Encryption:
|
|
8881
|
-
- 对传入信息(手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
8870
|
+
:param _Encryption: <p>敏感数据加密信息。</p><ul><li>对传入信息(手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。</li></ul>
|
|
8882
8871
|
:type Encryption: :class:`tencentcloud.faceid.v20180301.models.Encryption`
|
|
8883
8872
|
"""
|
|
8884
8873
|
self._Mobile = None
|
|
@@ -8886,7 +8875,7 @@ class MobileStatusRequest(AbstractModel):
|
|
|
8886
8875
|
|
|
8887
8876
|
@property
|
|
8888
8877
|
def Mobile(self):
|
|
8889
|
-
r"""
|
|
8878
|
+
r"""<p>手机号码。</p>
|
|
8890
8879
|
:rtype: str
|
|
8891
8880
|
"""
|
|
8892
8881
|
return self._Mobile
|
|
@@ -8897,8 +8886,7 @@ class MobileStatusRequest(AbstractModel):
|
|
|
8897
8886
|
|
|
8898
8887
|
@property
|
|
8899
8888
|
def Encryption(self):
|
|
8900
|
-
r"""
|
|
8901
|
-
- 对传入信息(手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
8889
|
+
r"""<p>敏感数据加密信息。</p><ul><li>对传入信息(手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。</li></ul>
|
|
8902
8890
|
:rtype: :class:`tencentcloud.faceid.v20180301.models.Encryption`
|
|
8903
8891
|
"""
|
|
8904
8892
|
return self._Encryption
|
|
@@ -8930,25 +8918,11 @@ class MobileStatusResponse(AbstractModel):
|
|
|
8930
8918
|
|
|
8931
8919
|
def __init__(self):
|
|
8932
8920
|
r"""
|
|
8933
|
-
:param _Result:
|
|
8934
|
-
- 收费结果码:
|
|
8935
|
-
0:成功。
|
|
8936
|
-
|
|
8937
|
-
- 不收费结果码:
|
|
8938
|
-
-1:未查询到结果。
|
|
8939
|
-
-2:手机号格式不正确。
|
|
8940
|
-
-3:验证中心服务繁忙。
|
|
8941
|
-
-4:认证次数超过当日限制,请次日重试。
|
|
8921
|
+
:param _Result: <p>认证结果码,收费情况如下。</p><ul><li><p>收费结果码:<br>0:成功。</p></li><li><p>不收费结果码:<br>-1:未查询到结果。<br>-2:手机号格式不正确。<br>-3:验证中心服务繁忙。<br>-4:认证次数超过当日限制,请次日重试。</p></li></ul>
|
|
8942
8922
|
:type Result: str
|
|
8943
|
-
:param _Description:
|
|
8923
|
+
:param _Description: <p>业务结果描述。</p>
|
|
8944
8924
|
:type Description: str
|
|
8945
|
-
:param _StatusCode:
|
|
8946
|
-
- 取值范围:
|
|
8947
|
-
0:正常。
|
|
8948
|
-
1:停机。
|
|
8949
|
-
2:销号。
|
|
8950
|
-
4:不在网。
|
|
8951
|
-
99:未知状态。
|
|
8925
|
+
:param _StatusCode: <p>状态码。- 取值范围:0:正常。1:停机。2:销号。4:不在网。5:在网但不可用 。99:未知状态。</p>
|
|
8952
8926
|
:type StatusCode: int
|
|
8953
8927
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8954
8928
|
:type RequestId: str
|
|
@@ -8960,15 +8934,7 @@ class MobileStatusResponse(AbstractModel):
|
|
|
8960
8934
|
|
|
8961
8935
|
@property
|
|
8962
8936
|
def Result(self):
|
|
8963
|
-
r"""
|
|
8964
|
-
- 收费结果码:
|
|
8965
|
-
0:成功。
|
|
8966
|
-
|
|
8967
|
-
- 不收费结果码:
|
|
8968
|
-
-1:未查询到结果。
|
|
8969
|
-
-2:手机号格式不正确。
|
|
8970
|
-
-3:验证中心服务繁忙。
|
|
8971
|
-
-4:认证次数超过当日限制,请次日重试。
|
|
8937
|
+
r"""<p>认证结果码,收费情况如下。</p><ul><li><p>收费结果码:<br>0:成功。</p></li><li><p>不收费结果码:<br>-1:未查询到结果。<br>-2:手机号格式不正确。<br>-3:验证中心服务繁忙。<br>-4:认证次数超过当日限制,请次日重试。</p></li></ul>
|
|
8972
8938
|
:rtype: str
|
|
8973
8939
|
"""
|
|
8974
8940
|
return self._Result
|
|
@@ -8979,7 +8945,7 @@ class MobileStatusResponse(AbstractModel):
|
|
|
8979
8945
|
|
|
8980
8946
|
@property
|
|
8981
8947
|
def Description(self):
|
|
8982
|
-
r"""
|
|
8948
|
+
r"""<p>业务结果描述。</p>
|
|
8983
8949
|
:rtype: str
|
|
8984
8950
|
"""
|
|
8985
8951
|
return self._Description
|
|
@@ -8990,13 +8956,7 @@ class MobileStatusResponse(AbstractModel):
|
|
|
8990
8956
|
|
|
8991
8957
|
@property
|
|
8992
8958
|
def StatusCode(self):
|
|
8993
|
-
r"""
|
|
8994
|
-
- 取值范围:
|
|
8995
|
-
0:正常。
|
|
8996
|
-
1:停机。
|
|
8997
|
-
2:销号。
|
|
8998
|
-
4:不在网。
|
|
8999
|
-
99:未知状态。
|
|
8959
|
+
r"""<p>状态码。- 取值范围:0:正常。1:停机。2:销号。4:不在网。5:在网但不可用 。99:未知状态。</p>
|
|
9000
8960
|
:rtype: int
|
|
9001
8961
|
"""
|
|
9002
8962
|
return self._StatusCode
|
|
@@ -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.69
|
|
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.69
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.69
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.67
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|