tencentcloud-sdk-python-faceid 3.1.68__tar.gz → 3.1.72__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.68 → tencentcloud_sdk_python_faceid-3.1.72}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/setup.py +1 -1
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/tencentcloud/faceid/v20180301/models.py +23 -33
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_faceid-3.1.72/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_faceid-3.1.68/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/README.rst +0 -0
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/setup.cfg +0 -0
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/tencentcloud/faceid/__init__.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/tencentcloud/faceid/v20180301/__init__.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/tencentcloud/faceid/v20180301/faceid_client_async.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_faceid-3.1.68 → tencentcloud_sdk_python_faceid-3.1.72}/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.72
|
|
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.72
|
|
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.72,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Faceid SDK for Python',
|
|
@@ -1242,7 +1242,7 @@ class CheckIdCardInformationResponse(AbstractModel):
|
|
|
1242
1242
|
|
|
1243
1243
|
def __init__(self):
|
|
1244
1244
|
r"""
|
|
1245
|
-
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
1245
|
+
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人(采用固定阈值70,误通过率为万分之一,不支持调整阈值)。</p>
|
|
1246
1246
|
:type Sim: float
|
|
1247
1247
|
:param _Result: <p>业务错误码。- 成功情况返回Success。- 错误情况请参考下方错误码 列表中FailedOperation部分</p>
|
|
1248
1248
|
:type Result: str
|
|
@@ -1292,7 +1292,7 @@ class CheckIdCardInformationResponse(AbstractModel):
|
|
|
1292
1292
|
|
|
1293
1293
|
@property
|
|
1294
1294
|
def Sim(self):
|
|
1295
|
-
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
1295
|
+
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人(采用固定阈值70,误通过率为万分之一,不支持调整阈值)。</p>
|
|
1296
1296
|
:rtype: float
|
|
1297
1297
|
"""
|
|
1298
1298
|
return self._Sim
|
|
@@ -7305,7 +7305,7 @@ class ImageRecognitionV2Response(AbstractModel):
|
|
|
7305
7305
|
|
|
7306
7306
|
def __init__(self):
|
|
7307
7307
|
r"""
|
|
7308
|
-
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
7308
|
+
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人(采用固定阈值70,误通过率为万分之一,不支持调整阈值)</p>
|
|
7309
7309
|
:type Sim: float
|
|
7310
7310
|
:param _Result: <p>业务错误码。</p><ul><li>成功情况返回Success。</li><li>错误情况请参考下方错误码 列表中FailedOperation部分</li></ul>
|
|
7311
7311
|
:type Result: str
|
|
@@ -7324,7 +7324,7 @@ class ImageRecognitionV2Response(AbstractModel):
|
|
|
7324
7324
|
|
|
7325
7325
|
@property
|
|
7326
7326
|
def Sim(self):
|
|
7327
|
-
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
7327
|
+
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人(采用固定阈值70,误通过率为万分之一,不支持调整阈值)</p>
|
|
7328
7328
|
:rtype: float
|
|
7329
7329
|
"""
|
|
7330
7330
|
return self._Sim
|
|
@@ -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
|
"""
|
|
@@ -8160,7 +8150,7 @@ class LivenessCompareResponse(AbstractModel):
|
|
|
8160
8150
|
:param _BestFrameBase64: <p>验证通过后的视频最佳截图照片。</p><ul><li>照片为BASE64编码后的值,jpg格式。</li></ul>
|
|
8161
8151
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8162
8152
|
:type BestFrameBase64: str
|
|
8163
|
-
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
8153
|
+
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人(采用固定阈值70,误通过率为万分之一,不支持调整阈值)。</p>
|
|
8164
8154
|
:type Sim: float
|
|
8165
8155
|
:param _Result: <p>业务错误码。</p><ul><li>成功情况返回Success。</li><li>错误情况请参考下方错误码,列表中FailedOperation部分。</li></ul>
|
|
8166
8156
|
:type Result: str
|
|
@@ -8193,7 +8183,7 @@ class LivenessCompareResponse(AbstractModel):
|
|
|
8193
8183
|
|
|
8194
8184
|
@property
|
|
8195
8185
|
def Sim(self):
|
|
8196
|
-
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
8186
|
+
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人(采用固定阈值70,误通过率为万分之一,不支持调整阈值)。</p>
|
|
8197
8187
|
:rtype: float
|
|
8198
8188
|
"""
|
|
8199
8189
|
return self._Sim
|
|
@@ -8410,7 +8400,7 @@ class LivenessRecognitionResponse(AbstractModel):
|
|
|
8410
8400
|
:param _BestFrameBase64: <p>验证通过后的视频最佳截图照片。</p><ul><li>照片为BASE64编码后的值,jpg格式。</li></ul>
|
|
8411
8401
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8412
8402
|
:type BestFrameBase64: str
|
|
8413
|
-
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
8403
|
+
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人,(采用固定阈值70,误通过率为万分之一,不支持调整阈值)</p>
|
|
8414
8404
|
:type Sim: float
|
|
8415
8405
|
:param _Result: <p>业务错误码。</p><ul><li>成功情况返回Success。</li><li>错误情况请参考下方错误码 列表中FailedOperation部分</li></ul>
|
|
8416
8406
|
:type Result: str
|
|
@@ -8443,7 +8433,7 @@ class LivenessRecognitionResponse(AbstractModel):
|
|
|
8443
8433
|
|
|
8444
8434
|
@property
|
|
8445
8435
|
def Sim(self):
|
|
8446
|
-
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
8436
|
+
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人,(采用固定阈值70,误通过率为万分之一,不支持调整阈值)</p>
|
|
8447
8437
|
:rtype: float
|
|
8448
8438
|
"""
|
|
8449
8439
|
return self._Sim
|
|
@@ -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.72
|
|
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.72
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.72
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.68
|
|
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
|