tencentcloud-sdk-python-faceid 3.0.1267__tar.gz → 3.0.1291__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.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/setup.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/tencentcloud/faceid/v20180301/errorcodes.py +6 -0
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/tencentcloud/faceid/v20180301/models.py +38 -2
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-faceid-3.0.1291/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-faceid-3.0.1267/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/README.rst +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/setup.cfg +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/tencentcloud/faceid/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/tencentcloud/faceid/v20180301/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/tencentcloud_sdk_python_faceid.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/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.1291"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Faceid SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -59,6 +59,9 @@ FAILEDOPERATION_COMPARELOWSIMILARITY = 'FailedOperation.CompareLowSimilarity'
|
|
|
59
59
|
# 调用比对引擎接口出错。
|
|
60
60
|
FAILEDOPERATION_COMPARESYSTEMERROR = 'FailedOperation.CompareSystemError'
|
|
61
61
|
|
|
62
|
+
# The video compression failed. Please try again or reduce the size of the input video.
|
|
63
|
+
FAILEDOPERATION_COMPRESSVIDEOERROR = 'FailedOperation.CompressVideoError'
|
|
64
|
+
|
|
62
65
|
# 图中人脸存在遮挡,请传入无遮挡人脸图片
|
|
63
66
|
FAILEDOPERATION_COVEREDFACE = 'FailedOperation.CoveredFace'
|
|
64
67
|
|
|
@@ -236,6 +239,9 @@ FAILEDOPERATION_VERIFICATIONFAIL = 'FailedOperation.VerificationFail'
|
|
|
236
239
|
# 视频解码异常
|
|
237
240
|
FAILEDOPERATION_VIDEODECODEFAILED = 'FailedOperation.VideoDecodeFailed'
|
|
238
241
|
|
|
242
|
+
# 视频时长过长,当前接口最大支持的视频时长为20s。
|
|
243
|
+
FAILEDOPERATION_VIDEODURATIONEXCEEDED = 'FailedOperation.VideoDurationExceeded'
|
|
244
|
+
|
|
239
245
|
# 内部错误。
|
|
240
246
|
INTERNALERROR = 'InternalError'
|
|
241
247
|
|
|
@@ -7176,12 +7176,17 @@ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
|
|
|
7176
7176
|
:param _Encryption: 敏感数据加密信息。
|
|
7177
7177
|
- 对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
7178
7178
|
:type Encryption: :class:`tencentcloud.faceid.v20180301.models.Encryption`
|
|
7179
|
+
:param _Extra: 自定义描述字段。
|
|
7180
|
+
- 用于描述调用业务信息,出参中将返回此描述字段。
|
|
7181
|
+
- 每个自定义描述字段支持[1,10]个字符。
|
|
7182
|
+
:type Extra: str
|
|
7179
7183
|
"""
|
|
7180
7184
|
self._IdCard = None
|
|
7181
7185
|
self._Name = None
|
|
7182
7186
|
self._ImageBase64 = None
|
|
7183
7187
|
self._Optional = None
|
|
7184
7188
|
self._Encryption = None
|
|
7189
|
+
self._Extra = None
|
|
7185
7190
|
|
|
7186
7191
|
@property
|
|
7187
7192
|
def IdCard(self):
|
|
@@ -7242,6 +7247,19 @@ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
|
|
|
7242
7247
|
def Encryption(self, Encryption):
|
|
7243
7248
|
self._Encryption = Encryption
|
|
7244
7249
|
|
|
7250
|
+
@property
|
|
7251
|
+
def Extra(self):
|
|
7252
|
+
"""自定义描述字段。
|
|
7253
|
+
- 用于描述调用业务信息,出参中将返回此描述字段。
|
|
7254
|
+
- 每个自定义描述字段支持[1,10]个字符。
|
|
7255
|
+
:rtype: str
|
|
7256
|
+
"""
|
|
7257
|
+
return self._Extra
|
|
7258
|
+
|
|
7259
|
+
@Extra.setter
|
|
7260
|
+
def Extra(self, Extra):
|
|
7261
|
+
self._Extra = Extra
|
|
7262
|
+
|
|
7245
7263
|
|
|
7246
7264
|
def _deserialize(self, params):
|
|
7247
7265
|
self._IdCard = params.get("IdCard")
|
|
@@ -7251,6 +7269,7 @@ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
|
|
|
7251
7269
|
if params.get("Encryption") is not None:
|
|
7252
7270
|
self._Encryption = Encryption()
|
|
7253
7271
|
self._Encryption._deserialize(params.get("Encryption"))
|
|
7272
|
+
self._Extra = params.get("Extra")
|
|
7254
7273
|
memeber_set = set(params.keys())
|
|
7255
7274
|
for name, value in vars(self).items():
|
|
7256
7275
|
property_name = name[1:]
|
|
@@ -7278,12 +7297,15 @@ class ImageRecognitionV2Response(AbstractModel):
|
|
|
7278
7297
|
:type Result: str
|
|
7279
7298
|
:param _Description: 业务结果描述。
|
|
7280
7299
|
:type Description: str
|
|
7300
|
+
:param _Extra: 调用接口中自定义的描述字段。
|
|
7301
|
+
:type Extra: str
|
|
7281
7302
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7282
7303
|
:type RequestId: str
|
|
7283
7304
|
"""
|
|
7284
7305
|
self._Sim = None
|
|
7285
7306
|
self._Result = None
|
|
7286
7307
|
self._Description = None
|
|
7308
|
+
self._Extra = None
|
|
7287
7309
|
self._RequestId = None
|
|
7288
7310
|
|
|
7289
7311
|
@property
|
|
@@ -7323,6 +7345,17 @@ class ImageRecognitionV2Response(AbstractModel):
|
|
|
7323
7345
|
def Description(self, Description):
|
|
7324
7346
|
self._Description = Description
|
|
7325
7347
|
|
|
7348
|
+
@property
|
|
7349
|
+
def Extra(self):
|
|
7350
|
+
"""调用接口中自定义的描述字段。
|
|
7351
|
+
:rtype: str
|
|
7352
|
+
"""
|
|
7353
|
+
return self._Extra
|
|
7354
|
+
|
|
7355
|
+
@Extra.setter
|
|
7356
|
+
def Extra(self, Extra):
|
|
7357
|
+
self._Extra = Extra
|
|
7358
|
+
|
|
7326
7359
|
@property
|
|
7327
7360
|
def RequestId(self):
|
|
7328
7361
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -7339,6 +7372,7 @@ class ImageRecognitionV2Response(AbstractModel):
|
|
|
7339
7372
|
self._Sim = params.get("Sim")
|
|
7340
7373
|
self._Result = params.get("Result")
|
|
7341
7374
|
self._Description = params.get("Description")
|
|
7375
|
+
self._Extra = params.get("Extra")
|
|
7342
7376
|
self._RequestId = params.get("RequestId")
|
|
7343
7377
|
|
|
7344
7378
|
|
|
@@ -7403,6 +7437,7 @@ class IntentionActionResult(AbstractModel):
|
|
|
7403
7437
|
-801: "用户未授权摄像头和麦克风权限"
|
|
7404
7438
|
-802: "核验流程异常中断,请勿切屏或进行其他操作"
|
|
7405
7439
|
-803: "用户主动关闭链接/异常断开链接"
|
|
7440
|
+
-804: "用户当前网络不稳定,请重试"
|
|
7406
7441
|
-998: "系统数据异常"
|
|
7407
7442
|
-999: "系统未知错误,请联系人工核实"
|
|
7408
7443
|
若在人脸核身过程失败、未进入意愿确认过程,则该参数返回为空,请参考人脸核身错误码结果(DetectInfoText.ErrCode)
|
|
@@ -7439,6 +7474,7 @@ class IntentionActionResult(AbstractModel):
|
|
|
7439
7474
|
-801: "用户未授权摄像头和麦克风权限"
|
|
7440
7475
|
-802: "核验流程异常中断,请勿切屏或进行其他操作"
|
|
7441
7476
|
-803: "用户主动关闭链接/异常断开链接"
|
|
7477
|
+
-804: "用户当前网络不稳定,请重试"
|
|
7442
7478
|
-998: "系统数据异常"
|
|
7443
7479
|
-999: "系统未知错误,请联系人工核实"
|
|
7444
7480
|
若在人脸核身过程失败、未进入意愿确认过程,则该参数返回为空,请参考人脸核身错误码结果(DetectInfoText.ErrCode)
|
|
@@ -7634,6 +7670,7 @@ class IntentionQuestionResult(AbstractModel):
|
|
|
7634
7670
|
-801: "用户未授权摄像头和麦克风权限"
|
|
7635
7671
|
-802: "核验流程异常中断,请勿切屏或进行其他操作"
|
|
7636
7672
|
-803: "用户主动关闭链接/异常断开链接"
|
|
7673
|
+
-804: "用户当前网络不稳定,请重试"
|
|
7637
7674
|
-998: "系统数据异常"
|
|
7638
7675
|
-999: "系统未知错误,请联系人工核实"
|
|
7639
7676
|
- 若在人脸核身过程失败、未进入意愿确认过程,则该参数返回为空,请参考人脸核身错误码结果(DetectInfoText.ErrCode)
|
|
@@ -7699,6 +7736,7 @@ class IntentionQuestionResult(AbstractModel):
|
|
|
7699
7736
|
-801: "用户未授权摄像头和麦克风权限"
|
|
7700
7737
|
-802: "核验流程异常中断,请勿切屏或进行其他操作"
|
|
7701
7738
|
-803: "用户主动关闭链接/异常断开链接"
|
|
7739
|
+
-804: "用户当前网络不稳定,请重试"
|
|
7702
7740
|
-998: "系统数据异常"
|
|
7703
7741
|
-999: "系统未知错误,请联系人工核实"
|
|
7704
7742
|
- 若在人脸核身过程失败、未进入意愿确认过程,则该参数返回为空,请参考人脸核身错误码结果(DetectInfoText.ErrCode)
|
|
@@ -9169,7 +9207,6 @@ class MobileStatusResponse(AbstractModel):
|
|
|
9169
9207
|
0:正常。
|
|
9170
9208
|
1:停机。
|
|
9171
9209
|
2:销号。
|
|
9172
|
-
3:空号。
|
|
9173
9210
|
4:不在网。
|
|
9174
9211
|
99:未知状态。
|
|
9175
9212
|
:type StatusCode: int
|
|
@@ -9218,7 +9255,6 @@ class MobileStatusResponse(AbstractModel):
|
|
|
9218
9255
|
0:正常。
|
|
9219
9256
|
1:停机。
|
|
9220
9257
|
2:销号。
|
|
9221
|
-
3:空号。
|
|
9222
9258
|
4:不在网。
|
|
9223
9259
|
99:未知状态。
|
|
9224
9260
|
:rtype: int
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1291
|
tencentcloud-sdk-python-faceid-3.0.1267/tencentcloud_sdk_python_faceid.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1267
|
{tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-faceid-3.0.1267 → tencentcloud-sdk-python-faceid-3.0.1291}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|