tencentcloud-sdk-python-faceid 3.1.72__tar.gz → 3.1.97__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.72 → tencentcloud_sdk_python_faceid-3.1.97}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/setup.py +1 -1
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/tencentcloud/faceid/v20180301/models.py +9 -23
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_faceid-3.1.97/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_faceid-3.1.72/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/README.rst +0 -0
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/setup.cfg +0 -0
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/tencentcloud/faceid/__init__.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/tencentcloud/faceid/v20180301/__init__.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/tencentcloud/faceid/v20180301/faceid_client_async.py +0 -0
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_faceid-3.1.72 → tencentcloud_sdk_python_faceid-3.1.97}/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.97
|
|
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.97
|
|
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.97,<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>疑似的攻击痕迹类型,具体类型如下:<br>SuspectedSpoofingAttack:翻拍攻击<br>SuspectedSynthesisImage:疑似合成图片<br>SuspectedSynthesisVideo:疑似合成视频<br>SuspectedAnomalyAttack:人脸特征疑似非真人<br>SuspectedAdversarialAttack:疑似对抗样本攻击<br>SuspectedBlackIndustry:疑似黑产批量模板攻击<br>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>疑似的攻击痕迹类型,具体类型如下:<br>SuspectedSpoofingAttack:翻拍攻击<br>SuspectedSynthesisImage:疑似合成图片<br>SuspectedSynthesisVideo:疑似合成视频<br>SuspectedAnomalyAttack:人脸特征疑似非真人<br>SuspectedAdversarialAttack:疑似对抗样本攻击<br>SuspectedBlackIndustry:疑似黑产批量模板攻击<br>SuspectedWatermark:疑似存在水印</p>
|
|
51
37
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
52
38
|
:rtype: str
|
|
53
39
|
"""
|
|
@@ -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
|
"""
|
|
@@ -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.97
|
|
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.97
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.97
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.72
|
|
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
|