tencentcloud-sdk-python-faceid 3.0.1229__tar.gz → 3.0.1253__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.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/setup.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/tencentcloud/faceid/v20180301/models.py +56 -1
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-faceid-3.0.1253/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-faceid-3.0.1229/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/README.rst +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/setup.cfg +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/tencentcloud/faceid/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/tencentcloud/faceid/v20180301/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/tencentcloud_sdk_python_faceid.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/setup.py
RENAMED
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1253"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Faceid SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -31,7 +31,7 @@ SuspectedSynthesisImage:疑似合成图片
|
|
|
31
31
|
SuspectedSynthesisVideo:疑似合成视频
|
|
32
32
|
SuspectedeAnomalyAttack:人脸特征疑似非真人
|
|
33
33
|
SuspectedAdversarialAttack:疑似对抗样本攻击
|
|
34
|
-
SuspectedBlackIndustry
|
|
34
|
+
SuspectedBlackIndustry:疑似黑产批量模版攻击
|
|
35
35
|
SuspectedWatermark:疑似存在水印
|
|
36
36
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
37
37
|
:type Type: str
|
|
@@ -2290,6 +2290,23 @@ class DetectInfoText(AbstractModel):
|
|
|
2290
2290
|
:param _LivenessDetail: 本次流程进行的活体一比一流水。
|
|
2291
2291
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2292
2292
|
:type LivenessDetail: list of DetectDetail
|
|
2293
|
+
:param _LivenessInfoTag: 描述当前请求活体阶段被拒绝的详细原因,详情如下:
|
|
2294
|
+
01-用户全程闭眼
|
|
2295
|
+
02-用户未完成指定动作
|
|
2296
|
+
03-疑似翻拍攻击
|
|
2297
|
+
04-疑似合成攻击
|
|
2298
|
+
05-疑似黑产模版
|
|
2299
|
+
06-疑似存在水印
|
|
2300
|
+
07-反光校验未通过
|
|
2301
|
+
08-疑似中途换人
|
|
2302
|
+
09-人脸质量过差
|
|
2303
|
+
10-距离校验不通过
|
|
2304
|
+
11-疑似对抗样本攻击
|
|
2305
|
+
12-嘴巴区域疑似存在攻击痕迹
|
|
2306
|
+
13-眼睛区域疑似存在攻击痕迹
|
|
2307
|
+
14-眼睛或嘴巴被遮挡
|
|
2308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2309
|
+
:type LivenessInfoTag: list of str
|
|
2293
2310
|
:param _Mobile: 手机号码。
|
|
2294
2311
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2295
2312
|
:type Mobile: str
|
|
@@ -2343,6 +2360,7 @@ class DetectInfoText(AbstractModel):
|
|
|
2343
2360
|
self._Location = None
|
|
2344
2361
|
self._Extra = None
|
|
2345
2362
|
self._LivenessDetail = None
|
|
2363
|
+
self._LivenessInfoTag = None
|
|
2346
2364
|
self._Mobile = None
|
|
2347
2365
|
self._CompareLibType = None
|
|
2348
2366
|
self._LivenessMode = None
|
|
@@ -2527,6 +2545,14 @@ class DetectInfoText(AbstractModel):
|
|
|
2527
2545
|
def LivenessDetail(self, LivenessDetail):
|
|
2528
2546
|
self._LivenessDetail = LivenessDetail
|
|
2529
2547
|
|
|
2548
|
+
@property
|
|
2549
|
+
def LivenessInfoTag(self):
|
|
2550
|
+
return self._LivenessInfoTag
|
|
2551
|
+
|
|
2552
|
+
@LivenessInfoTag.setter
|
|
2553
|
+
def LivenessInfoTag(self, LivenessInfoTag):
|
|
2554
|
+
self._LivenessInfoTag = LivenessInfoTag
|
|
2555
|
+
|
|
2530
2556
|
@property
|
|
2531
2557
|
def Mobile(self):
|
|
2532
2558
|
return self._Mobile
|
|
@@ -2612,6 +2638,7 @@ class DetectInfoText(AbstractModel):
|
|
|
2612
2638
|
obj = DetectDetail()
|
|
2613
2639
|
obj._deserialize(item)
|
|
2614
2640
|
self._LivenessDetail.append(obj)
|
|
2641
|
+
self._LivenessInfoTag = params.get("LivenessInfoTag")
|
|
2615
2642
|
self._Mobile = params.get("Mobile")
|
|
2616
2643
|
self._CompareLibType = params.get("CompareLibType")
|
|
2617
2644
|
self._LivenessMode = params.get("LivenessMode")
|
|
@@ -3751,6 +3778,8 @@ class GetEidTokenConfig(AbstractModel):
|
|
|
3751
3778
|
:type IsSupportHMTResidentPermitOCR: bool
|
|
3752
3779
|
:param _MouthOpenRecognition: 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。
|
|
3753
3780
|
:type MouthOpenRecognition: bool
|
|
3781
|
+
:param _Speed: 意愿核身语音播报速度,配置后问答模式和点头模式的语音播报环节都会生效,默认值为0: 0:智能语速(根据播报文案的长度自动调整语音播报速度) 1:固定1倍速 2:固定1.2倍速 3:固定1.5倍速
|
|
3782
|
+
:type Speed: int
|
|
3754
3783
|
"""
|
|
3755
3784
|
self._InputType = None
|
|
3756
3785
|
self._UseIntentionVerify = None
|
|
@@ -3761,6 +3790,7 @@ class GetEidTokenConfig(AbstractModel):
|
|
|
3761
3790
|
self._IntentionRecognition = None
|
|
3762
3791
|
self._IsSupportHMTResidentPermitOCR = None
|
|
3763
3792
|
self._MouthOpenRecognition = None
|
|
3793
|
+
self._Speed = None
|
|
3764
3794
|
|
|
3765
3795
|
@property
|
|
3766
3796
|
def InputType(self):
|
|
@@ -3834,6 +3864,14 @@ class GetEidTokenConfig(AbstractModel):
|
|
|
3834
3864
|
def MouthOpenRecognition(self, MouthOpenRecognition):
|
|
3835
3865
|
self._MouthOpenRecognition = MouthOpenRecognition
|
|
3836
3866
|
|
|
3867
|
+
@property
|
|
3868
|
+
def Speed(self):
|
|
3869
|
+
return self._Speed
|
|
3870
|
+
|
|
3871
|
+
@Speed.setter
|
|
3872
|
+
def Speed(self, Speed):
|
|
3873
|
+
self._Speed = Speed
|
|
3874
|
+
|
|
3837
3875
|
|
|
3838
3876
|
def _deserialize(self, params):
|
|
3839
3877
|
self._InputType = params.get("InputType")
|
|
@@ -3855,6 +3893,7 @@ class GetEidTokenConfig(AbstractModel):
|
|
|
3855
3893
|
self._IntentionRecognition = params.get("IntentionRecognition")
|
|
3856
3894
|
self._IsSupportHMTResidentPermitOCR = params.get("IsSupportHMTResidentPermitOCR")
|
|
3857
3895
|
self._MouthOpenRecognition = params.get("MouthOpenRecognition")
|
|
3896
|
+
self._Speed = params.get("Speed")
|
|
3858
3897
|
memeber_set = set(params.keys())
|
|
3859
3898
|
for name, value in vars(self).items():
|
|
3860
3899
|
property_name = name[1:]
|
|
@@ -7924,10 +7963,17 @@ class RuleIdConfig(AbstractModel):
|
|
|
7924
7963
|
:type IntentionType: int
|
|
7925
7964
|
:param _MouthOpenRecognition: 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。
|
|
7926
7965
|
:type MouthOpenRecognition: bool
|
|
7966
|
+
:param _Speed: 意愿核身语音播报速度,配置后问答模式和点头模式的语音播报环节都会生效,默认值为0:
|
|
7967
|
+
0:智能语速(根据播报文案的长度自动调整语音播报速度)
|
|
7968
|
+
1:固定1倍速
|
|
7969
|
+
2:固定1.2倍速
|
|
7970
|
+
3:固定1.5倍速
|
|
7971
|
+
:type Speed: int
|
|
7927
7972
|
"""
|
|
7928
7973
|
self._IntentionRecognition = None
|
|
7929
7974
|
self._IntentionType = None
|
|
7930
7975
|
self._MouthOpenRecognition = None
|
|
7976
|
+
self._Speed = None
|
|
7931
7977
|
|
|
7932
7978
|
@property
|
|
7933
7979
|
def IntentionRecognition(self):
|
|
@@ -7953,11 +7999,20 @@ class RuleIdConfig(AbstractModel):
|
|
|
7953
7999
|
def MouthOpenRecognition(self, MouthOpenRecognition):
|
|
7954
8000
|
self._MouthOpenRecognition = MouthOpenRecognition
|
|
7955
8001
|
|
|
8002
|
+
@property
|
|
8003
|
+
def Speed(self):
|
|
8004
|
+
return self._Speed
|
|
8005
|
+
|
|
8006
|
+
@Speed.setter
|
|
8007
|
+
def Speed(self, Speed):
|
|
8008
|
+
self._Speed = Speed
|
|
8009
|
+
|
|
7956
8010
|
|
|
7957
8011
|
def _deserialize(self, params):
|
|
7958
8012
|
self._IntentionRecognition = params.get("IntentionRecognition")
|
|
7959
8013
|
self._IntentionType = params.get("IntentionType")
|
|
7960
8014
|
self._MouthOpenRecognition = params.get("MouthOpenRecognition")
|
|
8015
|
+
self._Speed = params.get("Speed")
|
|
7961
8016
|
memeber_set = set(params.keys())
|
|
7962
8017
|
for name, value in vars(self).items():
|
|
7963
8018
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1253
|
tencentcloud-sdk-python-faceid-3.0.1229/tencentcloud_sdk_python_faceid.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1229
|
{tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-faceid-3.0.1229 → tencentcloud-sdk-python-faceid-3.0.1253}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|