tencentcloud-sdk-python-faceid 3.1.69__tar.gz → 3.1.80__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.69 → tencentcloud_sdk_python_faceid-3.1.80}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/setup.py +1 -1
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/tencentcloud/faceid/v20180301/models.py +17 -31
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_faceid-3.1.80/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_faceid-3.1.69/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/README.rst +0 -0
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/setup.cfg +0 -0
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/tencentcloud/faceid/__init__.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/tencentcloud/faceid/v20180301/__init__.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/tencentcloud/faceid/v20180301/faceid_client_async.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_faceid-3.1.69 → tencentcloud_sdk_python_faceid-3.1.80}/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.80
|
|
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.80
|
|
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.80,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Faceid SDK for Python',
|
|
@@ -25,14 +25,7 @@ class AttackRiskDetail(AbstractModel):
|
|
|
25
25
|
|
|
26
26
|
def __init__(self):
|
|
27
27
|
r"""
|
|
28
|
-
:param _Type:
|
|
29
|
-
SuspectedSpoofingAttack:翻拍攻击
|
|
30
|
-
SuspectedSynthesisImage:疑似合成图片
|
|
31
|
-
SuspectedSynthesisVideo:疑似合成视频
|
|
32
|
-
SuspectedeAnomalyAttack:人脸特征疑似非真人
|
|
33
|
-
SuspectedAdversarialAttack:疑似对抗样本攻击
|
|
34
|
-
SuspectedBlackIndustry:疑似黑产批量模版攻击
|
|
35
|
-
SuspectedWatermark:疑似存在水印
|
|
28
|
+
:param _Type: <p>疑似的攻击痕迹类型SuspectedSpoofingAttack:翻拍攻击SuspectedSynthesisImage:疑似合成图片SuspectedSynthesisVideo:疑似合成视频SuspectedAnomalyAttack:人脸特征疑似非真人SuspectedAdversarialAttack:疑似对抗样本攻击SuspectedBlackIndustry:疑似黑产批量模板攻击SuspectedWatermark:疑似存在水印</p>
|
|
36
29
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
37
30
|
:type Type: str
|
|
38
31
|
"""
|
|
@@ -40,14 +33,7 @@ SuspectedWatermark:疑似存在水印
|
|
|
40
33
|
|
|
41
34
|
@property
|
|
42
35
|
def Type(self):
|
|
43
|
-
r"""
|
|
44
|
-
SuspectedSpoofingAttack:翻拍攻击
|
|
45
|
-
SuspectedSynthesisImage:疑似合成图片
|
|
46
|
-
SuspectedSynthesisVideo:疑似合成视频
|
|
47
|
-
SuspectedeAnomalyAttack:人脸特征疑似非真人
|
|
48
|
-
SuspectedAdversarialAttack:疑似对抗样本攻击
|
|
49
|
-
SuspectedBlackIndustry:疑似黑产批量模版攻击
|
|
50
|
-
SuspectedWatermark:疑似存在水印
|
|
36
|
+
r"""<p>疑似的攻击痕迹类型SuspectedSpoofingAttack:翻拍攻击SuspectedSynthesisImage:疑似合成图片SuspectedSynthesisVideo:疑似合成视频SuspectedAnomalyAttack:人脸特征疑似非真人SuspectedAdversarialAttack:疑似对抗样本攻击SuspectedBlackIndustry:疑似黑产批量模板攻击SuspectedWatermark:疑似存在水印</p>
|
|
51
37
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52
38
|
:rtype: str
|
|
53
39
|
"""
|
|
@@ -1242,7 +1228,7 @@ class CheckIdCardInformationResponse(AbstractModel):
|
|
|
1242
1228
|
|
|
1243
1229
|
def __init__(self):
|
|
1244
1230
|
r"""
|
|
1245
|
-
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
1231
|
+
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人(采用固定阈值70,误通过率为万分之一,不支持调整阈值)。</p>
|
|
1246
1232
|
:type Sim: float
|
|
1247
1233
|
:param _Result: <p>业务错误码。- 成功情况返回Success。- 错误情况请参考下方错误码 列表中FailedOperation部分</p>
|
|
1248
1234
|
:type Result: str
|
|
@@ -1292,7 +1278,7 @@ class CheckIdCardInformationResponse(AbstractModel):
|
|
|
1292
1278
|
|
|
1293
1279
|
@property
|
|
1294
1280
|
def Sim(self):
|
|
1295
|
-
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
1281
|
+
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人(采用固定阈值70,误通过率为万分之一,不支持调整阈值)。</p>
|
|
1296
1282
|
:rtype: float
|
|
1297
1283
|
"""
|
|
1298
1284
|
return self._Sim
|
|
@@ -1909,7 +1895,7 @@ class DetectAIFakeFacesResponse(AbstractModel):
|
|
|
1909
1895
|
:type AttackRiskLevel: str
|
|
1910
1896
|
:param _AttackRiskDetailList: <p>检测到的疑似攻击痕迹列表,仅当AttackRiskLevel为High或Mid时返回。</p><ul><li>说明:未检测到攻击痕迹时,返回空数组。</li><li>此出参仅作为结果判断的参考,实际应用仍建议使用AttackRiskLevel的结果。</li></ul>
|
|
1911
1897
|
:type AttackRiskDetailList: list of AttackRiskDetail
|
|
1912
|
-
:param _ExtraInfo: <p
|
|
1898
|
+
:param _ExtraInfo: <p>返回额外信息(包括命中模板的详细信息)。</p>
|
|
1913
1899
|
:type ExtraInfo: :class:`tencentcloud.faceid.v20180301.models.ExtraInfo`
|
|
1914
1900
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1915
1901
|
:type RequestId: str
|
|
@@ -1943,7 +1929,7 @@ class DetectAIFakeFacesResponse(AbstractModel):
|
|
|
1943
1929
|
|
|
1944
1930
|
@property
|
|
1945
1931
|
def ExtraInfo(self):
|
|
1946
|
-
r"""<p
|
|
1932
|
+
r"""<p>返回额外信息(包括命中模板的详细信息)。</p>
|
|
1947
1933
|
:rtype: :class:`tencentcloud.faceid.v20180301.models.ExtraInfo`
|
|
1948
1934
|
"""
|
|
1949
1935
|
return self._ExtraInfo
|
|
@@ -2880,7 +2866,7 @@ class DetectInfoText(AbstractModel):
|
|
|
2880
2866
|
:param _LivenessDetail: <p>本次流程进行的活体一比一流水。</p>
|
|
2881
2867
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2882
2868
|
:type LivenessDetail: list of DetectDetail
|
|
2883
|
-
:param _LivenessInfoTag: <p>描述当前请求活体阶段被拒绝的详细原因,该参数仅限PLUS
|
|
2869
|
+
:param _LivenessInfoTag: <p>描述当前请求活体阶段被拒绝的详细原因,该参数仅限PLUS版本核身服务返回。- 详情如下: 01-用户全程闭眼 02-用户未完成指定动作 03-疑似翻拍攻击 04-疑似合成攻击 05-疑似黑产模板 06-疑似存在水印 07-反光校验未通过 08-疑似中途换人 09-人脸质量过差 10-距离校验不通过 11-疑似对抗样本攻击 12-嘴巴区域疑似存在攻击痕迹 13-眼睛区域疑似存在攻击痕迹 14-眼睛或嘴巴被遮挡</p>
|
|
2884
2870
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2885
2871
|
:type LivenessInfoTag: list of str
|
|
2886
2872
|
:param _Mobile: <p>手机号码。</p>
|
|
@@ -3206,7 +3192,7 @@ class DetectInfoText(AbstractModel):
|
|
|
3206
3192
|
|
|
3207
3193
|
@property
|
|
3208
3194
|
def LivenessInfoTag(self):
|
|
3209
|
-
r"""<p>描述当前请求活体阶段被拒绝的详细原因,该参数仅限PLUS
|
|
3195
|
+
r"""<p>描述当前请求活体阶段被拒绝的详细原因,该参数仅限PLUS版本核身服务返回。- 详情如下: 01-用户全程闭眼 02-用户未完成指定动作 03-疑似翻拍攻击 04-疑似合成攻击 05-疑似黑产模板 06-疑似存在水印 07-反光校验未通过 08-疑似中途换人 09-人脸质量过差 10-距离校验不通过 11-疑似对抗样本攻击 12-嘴巴区域疑似存在攻击痕迹 13-眼睛区域疑似存在攻击痕迹 14-眼睛或嘴巴被遮挡</p>
|
|
3210
3196
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3211
3197
|
:rtype: list of str
|
|
3212
3198
|
"""
|
|
@@ -7305,7 +7291,7 @@ class ImageRecognitionV2Response(AbstractModel):
|
|
|
7305
7291
|
|
|
7306
7292
|
def __init__(self):
|
|
7307
7293
|
r"""
|
|
7308
|
-
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
7294
|
+
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人(采用固定阈值70,误通过率为万分之一,不支持调整阈值)</p>
|
|
7309
7295
|
:type Sim: float
|
|
7310
7296
|
:param _Result: <p>业务错误码。</p><ul><li>成功情况返回Success。</li><li>错误情况请参考下方错误码 列表中FailedOperation部分</li></ul>
|
|
7311
7297
|
:type Result: str
|
|
@@ -7324,7 +7310,7 @@ class ImageRecognitionV2Response(AbstractModel):
|
|
|
7324
7310
|
|
|
7325
7311
|
@property
|
|
7326
7312
|
def Sim(self):
|
|
7327
|
-
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
7313
|
+
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人(采用固定阈值70,误通过率为万分之一,不支持调整阈值)</p>
|
|
7328
7314
|
:rtype: float
|
|
7329
7315
|
"""
|
|
7330
7316
|
return self._Sim
|
|
@@ -8150,7 +8136,7 @@ class LivenessCompareResponse(AbstractModel):
|
|
|
8150
8136
|
:param _BestFrameBase64: <p>验证通过后的视频最佳截图照片。</p><ul><li>照片为BASE64编码后的值,jpg格式。</li></ul>
|
|
8151
8137
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8152
8138
|
:type BestFrameBase64: str
|
|
8153
|
-
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
8139
|
+
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人(采用固定阈值70,误通过率为万分之一,不支持调整阈值)。</p>
|
|
8154
8140
|
:type Sim: float
|
|
8155
8141
|
:param _Result: <p>业务错误码。</p><ul><li>成功情况返回Success。</li><li>错误情况请参考下方错误码,列表中FailedOperation部分。</li></ul>
|
|
8156
8142
|
:type Result: str
|
|
@@ -8183,7 +8169,7 @@ class LivenessCompareResponse(AbstractModel):
|
|
|
8183
8169
|
|
|
8184
8170
|
@property
|
|
8185
8171
|
def Sim(self):
|
|
8186
|
-
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
8172
|
+
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人(采用固定阈值70,误通过率为万分之一,不支持调整阈值)。</p>
|
|
8187
8173
|
:rtype: float
|
|
8188
8174
|
"""
|
|
8189
8175
|
return self._Sim
|
|
@@ -8400,7 +8386,7 @@ class LivenessRecognitionResponse(AbstractModel):
|
|
|
8400
8386
|
:param _BestFrameBase64: <p>验证通过后的视频最佳截图照片。</p><ul><li>照片为BASE64编码后的值,jpg格式。</li></ul>
|
|
8401
8387
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8402
8388
|
:type BestFrameBase64: str
|
|
8403
|
-
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
8389
|
+
:param _Sim: <p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人,(采用固定阈值70,误通过率为万分之一,不支持调整阈值)</p>
|
|
8404
8390
|
:type Sim: float
|
|
8405
8391
|
:param _Result: <p>业务错误码。</p><ul><li>成功情况返回Success。</li><li>错误情况请参考下方错误码 列表中FailedOperation部分</li></ul>
|
|
8406
8392
|
:type Result: str
|
|
@@ -8433,7 +8419,7 @@ class LivenessRecognitionResponse(AbstractModel):
|
|
|
8433
8419
|
|
|
8434
8420
|
@property
|
|
8435
8421
|
def Sim(self):
|
|
8436
|
-
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70
|
|
8422
|
+
r"""<p>相似度。- 取值范围 [0.00, 100.00]。- 推荐相似度大于等于70时可判断为同一人,(采用固定阈值70,误通过率为万分之一,不支持调整阈值)</p>
|
|
8437
8423
|
:rtype: float
|
|
8438
8424
|
"""
|
|
8439
8425
|
return self._Sim
|
|
@@ -10233,13 +10219,13 @@ OtherMismatch:其他不一致。
|
|
|
10233
10219
|
|
|
10234
10220
|
|
|
10235
10221
|
class RetrievalLivenessExtraInfo(AbstractModel):
|
|
10236
|
-
r"""
|
|
10222
|
+
r"""模板检索详细信息
|
|
10237
10223
|
|
|
10238
10224
|
"""
|
|
10239
10225
|
|
|
10240
10226
|
def __init__(self):
|
|
10241
10227
|
r"""
|
|
10242
|
-
:param _HitGroup: <p
|
|
10228
|
+
:param _HitGroup: <p>命中的模板类型,其中Common-公共库;Auto-自动聚类库;Owner-自建模板库</p>
|
|
10243
10229
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10244
10230
|
:type HitGroup: str
|
|
10245
10231
|
:param _SimilarityScore: <p>请求图像与命中攻击模板的相似度,相似度取值范围[0,2],取值越小表示命中攻击模板的概率越高。默认阈值为0.6,当SimilarityScore≥0.6时判断为正常,SimilarityScore<0.6是判断为攻击。</p>
|
|
@@ -10255,7 +10241,7 @@ class RetrievalLivenessExtraInfo(AbstractModel):
|
|
|
10255
10241
|
|
|
10256
10242
|
@property
|
|
10257
10243
|
def HitGroup(self):
|
|
10258
|
-
r"""<p
|
|
10244
|
+
r"""<p>命中的模板类型,其中Common-公共库;Auto-自动聚类库;Owner-自建模板库</p>
|
|
10259
10245
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10260
10246
|
:rtype: str
|
|
10261
10247
|
"""
|
|
@@ -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.80
|
|
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.80
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.80
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.69
|
|
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
|