tencentcloud-sdk-python-faceid 3.0.1215__tar.gz → 3.0.1235__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-faceid might be problematic. Click here for more details.
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/setup.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/tencentcloud/faceid/v20180301/faceid_client.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/tencentcloud/faceid/v20180301/models.py +38 -0
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-faceid-3.0.1235/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-faceid-3.0.1215/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/README.rst +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/setup.cfg +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/tencentcloud/faceid/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/tencentcloud/faceid/v20180301/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/tencentcloud_sdk_python_faceid.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/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.1235"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Faceid SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -211,7 +211,7 @@ class FaceidClient(AbstractClient):
|
|
|
211
211
|
|
|
212
212
|
|
|
213
213
|
def DetectAIFakeFaces(self, request):
|
|
214
|
-
"""
|
|
214
|
+
"""基于多模态的AI大模型算法,提供对人脸图片、视频的防攻击检测能力,可针对性有效识别高仿真的AIGC换脸、高清翻拍、批量黑产攻击、水印等攻击痕迹,增强对图片和视频的防伪安全能力。
|
|
215
215
|
|
|
216
216
|
:param request: Request instance for DetectAIFakeFaces.
|
|
217
217
|
:type request: :class:`tencentcloud.faceid.v20180301.models.DetectAIFakeFacesRequest`
|
|
@@ -891,11 +891,17 @@ Config = {"CopyWarn":true,"ReshootWarn":true}
|
|
|
891
891
|
:param _IsEncrypt: 是否需要对返回中的敏感信息进行加密。默认false。
|
|
892
892
|
其中敏感信息包括:Response.IdNum、Response.Name
|
|
893
893
|
:type IsEncrypt: bool
|
|
894
|
+
:param _IsEncryptResponse: 是否需要对响应体加密
|
|
895
|
+
:type IsEncryptResponse: bool
|
|
896
|
+
:param _Encryption: 是否需要对返回中的敏感信息进行加密,需指定加密算法Algorithm、CBC加密的初始向量、加密后的对称密钥。
|
|
897
|
+
:type Encryption: :class:`tencentcloud.faceid.v20180301.models.Encryption`
|
|
894
898
|
"""
|
|
895
899
|
self._ImageBase64 = None
|
|
896
900
|
self._ImageUrl = None
|
|
897
901
|
self._Config = None
|
|
898
902
|
self._IsEncrypt = None
|
|
903
|
+
self._IsEncryptResponse = None
|
|
904
|
+
self._Encryption = None
|
|
899
905
|
|
|
900
906
|
@property
|
|
901
907
|
def ImageBase64(self):
|
|
@@ -929,12 +935,32 @@ Config = {"CopyWarn":true,"ReshootWarn":true}
|
|
|
929
935
|
def IsEncrypt(self, IsEncrypt):
|
|
930
936
|
self._IsEncrypt = IsEncrypt
|
|
931
937
|
|
|
938
|
+
@property
|
|
939
|
+
def IsEncryptResponse(self):
|
|
940
|
+
return self._IsEncryptResponse
|
|
941
|
+
|
|
942
|
+
@IsEncryptResponse.setter
|
|
943
|
+
def IsEncryptResponse(self, IsEncryptResponse):
|
|
944
|
+
self._IsEncryptResponse = IsEncryptResponse
|
|
945
|
+
|
|
946
|
+
@property
|
|
947
|
+
def Encryption(self):
|
|
948
|
+
return self._Encryption
|
|
949
|
+
|
|
950
|
+
@Encryption.setter
|
|
951
|
+
def Encryption(self, Encryption):
|
|
952
|
+
self._Encryption = Encryption
|
|
953
|
+
|
|
932
954
|
|
|
933
955
|
def _deserialize(self, params):
|
|
934
956
|
self._ImageBase64 = params.get("ImageBase64")
|
|
935
957
|
self._ImageUrl = params.get("ImageUrl")
|
|
936
958
|
self._Config = params.get("Config")
|
|
937
959
|
self._IsEncrypt = params.get("IsEncrypt")
|
|
960
|
+
self._IsEncryptResponse = params.get("IsEncryptResponse")
|
|
961
|
+
if params.get("Encryption") is not None:
|
|
962
|
+
self._Encryption = Encryption()
|
|
963
|
+
self._Encryption._deserialize(params.get("Encryption"))
|
|
938
964
|
memeber_set = set(params.keys())
|
|
939
965
|
for name, value in vars(self).items():
|
|
940
966
|
property_name = name[1:]
|
|
@@ -988,6 +1014,8 @@ class CheckIdCardInformationResponse(AbstractModel):
|
|
|
988
1014
|
:param _Encryption: 敏感数据加密信息。
|
|
989
1015
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
990
1016
|
:type Encryption: :class:`tencentcloud.faceid.v20180301.models.Encryption`
|
|
1017
|
+
:param _EncryptedBody: 加密后的数据
|
|
1018
|
+
:type EncryptedBody: str
|
|
991
1019
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
992
1020
|
:type RequestId: str
|
|
993
1021
|
"""
|
|
@@ -1004,6 +1032,7 @@ class CheckIdCardInformationResponse(AbstractModel):
|
|
|
1004
1032
|
self._Warnings = None
|
|
1005
1033
|
self._Quality = None
|
|
1006
1034
|
self._Encryption = None
|
|
1035
|
+
self._EncryptedBody = None
|
|
1007
1036
|
self._RequestId = None
|
|
1008
1037
|
|
|
1009
1038
|
@property
|
|
@@ -1110,6 +1139,14 @@ class CheckIdCardInformationResponse(AbstractModel):
|
|
|
1110
1139
|
def Encryption(self, Encryption):
|
|
1111
1140
|
self._Encryption = Encryption
|
|
1112
1141
|
|
|
1142
|
+
@property
|
|
1143
|
+
def EncryptedBody(self):
|
|
1144
|
+
return self._EncryptedBody
|
|
1145
|
+
|
|
1146
|
+
@EncryptedBody.setter
|
|
1147
|
+
def EncryptedBody(self, EncryptedBody):
|
|
1148
|
+
self._EncryptedBody = EncryptedBody
|
|
1149
|
+
|
|
1113
1150
|
@property
|
|
1114
1151
|
def RequestId(self):
|
|
1115
1152
|
return self._RequestId
|
|
@@ -1135,6 +1172,7 @@ class CheckIdCardInformationResponse(AbstractModel):
|
|
|
1135
1172
|
if params.get("Encryption") is not None:
|
|
1136
1173
|
self._Encryption = Encryption()
|
|
1137
1174
|
self._Encryption._deserialize(params.get("Encryption"))
|
|
1175
|
+
self._EncryptedBody = params.get("EncryptedBody")
|
|
1138
1176
|
self._RequestId = params.get("RequestId")
|
|
1139
1177
|
|
|
1140
1178
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1235
|
tencentcloud-sdk-python-faceid-3.0.1215/tencentcloud_sdk_python_faceid.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1215
|
{tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-faceid-3.0.1215 → tencentcloud-sdk-python-faceid-3.0.1235}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|