tencentcloud-sdk-python-faceid 3.0.1416__tar.gz → 3.0.1422__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.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/setup.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/tencentcloud/faceid/v20180301/models.py +22 -16
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-faceid-3.0.1422/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-faceid-3.0.1416/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/README.rst +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/setup.cfg +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/tencentcloud/faceid/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/tencentcloud/faceid/v20180301/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/tencentcloud_sdk_python_faceid.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/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
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1422,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Faceid SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1898,17 +1898,18 @@ class DetectAIFakeFacesRequest(AbstractModel):
|
|
|
1898
1898
|
|
|
1899
1899
|
def __init__(self):
|
|
1900
1900
|
r"""
|
|
1901
|
-
:param _FaceInput:
|
|
1901
|
+
:param _FaceInput: 传入需要检测的人脸图片或人脸视频(当前仅支持单人脸检测),使用base64编码的形式,如您的场景视频和图片都有,我们更建议您使用视频进行检测,为了提供更好的检测效果,请您注意以下输入数据的限制与建议:
|
|
1902
|
+
|
|
1902
1903
|
- 图片的Base64值:
|
|
1903
|
-
建议整体图像480x640
|
|
1904
|
+
建议整体图像480x640的分辨率,脸部大小在 100X100 以上,由手机前置摄像头拍摄。
|
|
1904
1905
|
Base64编码后的图片数据大小建议不超过3M、最大不可超过10M,仅支持jpg、png格式。
|
|
1905
1906
|
请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
|
1906
1907
|
|
|
1907
1908
|
- 视频的Base64值:
|
|
1908
|
-
Base64
|
|
1909
|
+
Base64编码后的大小建议在8M以内、最大不可超过10M,支持mp4、avi、flv格式,由手机前置摄像头拍摄。
|
|
1910
|
+
视频建议时长为2~5s,最大不可超过20s。
|
|
1911
|
+
视频分辨率建议为480x640(最大支持720p),帧率在25fps~30fps之间。
|
|
1909
1912
|
请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
|
1910
|
-
视频时长最大支持20s,建议时长2~5s。
|
|
1911
|
-
建议视频分辨率为480x640,帧率在25fps~30fps之间。
|
|
1912
1913
|
|
|
1913
1914
|
示例值:/9j/4AAQSkZJRg.....s97n//2Q==
|
|
1914
1915
|
:type FaceInput: str
|
|
@@ -1933,17 +1934,18 @@ Base64编码后的大小建议不超过8M、最大不可超过10M,支持mp4、
|
|
|
1933
1934
|
|
|
1934
1935
|
@property
|
|
1935
1936
|
def FaceInput(self):
|
|
1936
|
-
"""
|
|
1937
|
+
"""传入需要检测的人脸图片或人脸视频(当前仅支持单人脸检测),使用base64编码的形式,如您的场景视频和图片都有,我们更建议您使用视频进行检测,为了提供更好的检测效果,请您注意以下输入数据的限制与建议:
|
|
1938
|
+
|
|
1937
1939
|
- 图片的Base64值:
|
|
1938
|
-
建议整体图像480x640
|
|
1940
|
+
建议整体图像480x640的分辨率,脸部大小在 100X100 以上,由手机前置摄像头拍摄。
|
|
1939
1941
|
Base64编码后的图片数据大小建议不超过3M、最大不可超过10M,仅支持jpg、png格式。
|
|
1940
1942
|
请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
|
1941
1943
|
|
|
1942
1944
|
- 视频的Base64值:
|
|
1943
|
-
Base64
|
|
1945
|
+
Base64编码后的大小建议在8M以内、最大不可超过10M,支持mp4、avi、flv格式,由手机前置摄像头拍摄。
|
|
1946
|
+
视频建议时长为2~5s,最大不可超过20s。
|
|
1947
|
+
视频分辨率建议为480x640(最大支持720p),帧率在25fps~30fps之间。
|
|
1944
1948
|
请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
|
1945
|
-
视频时长最大支持20s,建议时长2~5s。
|
|
1946
|
-
建议视频分辨率为480x640,帧率在25fps~30fps之间。
|
|
1947
1949
|
|
|
1948
1950
|
示例值:/9j/4AAQSkZJRg.....s97n//2Q==
|
|
1949
1951
|
:rtype: str
|
|
@@ -2019,12 +2021,14 @@ class DetectAIFakeFacesResponse(AbstractModel):
|
|
|
2019
2021
|
|
|
2020
2022
|
def __init__(self):
|
|
2021
2023
|
r"""
|
|
2022
|
-
:param _AttackRiskLevel:
|
|
2023
|
-
- Low
|
|
2024
|
+
:param _AttackRiskLevel: 对于输入图片/视频的检测结果,检测是否存在人脸攻击。
|
|
2025
|
+
- Low:低攻击风险。
|
|
2024
2026
|
- Mid:中度疑似攻击。
|
|
2025
2027
|
- High:高度疑似攻击。
|
|
2028
|
+
|
|
2029
|
+
建议返回值为High时判断为拦截,Mid和Low判断为通过,以更好平衡安全性和通过率。
|
|
2026
2030
|
:type AttackRiskLevel: str
|
|
2027
|
-
:param _AttackRiskDetailList:
|
|
2031
|
+
:param _AttackRiskDetailList: 检测到的疑似攻击痕迹列表,仅当AttackRiskLevel为High或Mid时返回。
|
|
2028
2032
|
- 说明:未检测到攻击痕迹时,返回空数组。
|
|
2029
2033
|
- 此出参仅作为结果判断的参考,实际应用仍建议使用AttackRiskLevel的结果。
|
|
2030
2034
|
:type AttackRiskDetailList: list of AttackRiskDetail
|
|
@@ -2040,10 +2044,12 @@ class DetectAIFakeFacesResponse(AbstractModel):
|
|
|
2040
2044
|
|
|
2041
2045
|
@property
|
|
2042
2046
|
def AttackRiskLevel(self):
|
|
2043
|
-
"""
|
|
2044
|
-
- Low
|
|
2047
|
+
"""对于输入图片/视频的检测结果,检测是否存在人脸攻击。
|
|
2048
|
+
- Low:低攻击风险。
|
|
2045
2049
|
- Mid:中度疑似攻击。
|
|
2046
2050
|
- High:高度疑似攻击。
|
|
2051
|
+
|
|
2052
|
+
建议返回值为High时判断为拦截,Mid和Low判断为通过,以更好平衡安全性和通过率。
|
|
2047
2053
|
:rtype: str
|
|
2048
2054
|
"""
|
|
2049
2055
|
return self._AttackRiskLevel
|
|
@@ -2054,7 +2060,7 @@ class DetectAIFakeFacesResponse(AbstractModel):
|
|
|
2054
2060
|
|
|
2055
2061
|
@property
|
|
2056
2062
|
def AttackRiskDetailList(self):
|
|
2057
|
-
"""
|
|
2063
|
+
"""检测到的疑似攻击痕迹列表,仅当AttackRiskLevel为High或Mid时返回。
|
|
2058
2064
|
- 说明:未检测到攻击痕迹时,返回空数组。
|
|
2059
2065
|
- 此出参仅作为结果判断的参考,实际应用仍建议使用AttackRiskLevel的结果。
|
|
2060
2066
|
:rtype: list of AttackRiskDetail
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1422
|
tencentcloud-sdk-python-faceid-3.0.1416/tencentcloud_sdk_python_faceid.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1416
|
{tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-faceid-3.0.1416 → tencentcloud-sdk-python-faceid-3.0.1422}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|