tencentcloud-sdk-python-faceid 3.0.1280__tar.gz → 3.0.1293__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.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/setup.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/tencentcloud/faceid/v20180301/errorcodes.py +3 -0
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/tencentcloud/faceid/v20180301/models.py +38 -4
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-faceid-3.0.1293/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-faceid-3.0.1280/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/README.rst +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/setup.cfg +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/tencentcloud/faceid/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/tencentcloud/faceid/v20180301/__init__.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/tencentcloud_sdk_python_faceid.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/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.1293"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Faceid SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -239,6 +239,9 @@ FAILEDOPERATION_VERIFICATIONFAIL = 'FailedOperation.VerificationFail'
|
|
|
239
239
|
# 视频解码异常
|
|
240
240
|
FAILEDOPERATION_VIDEODECODEFAILED = 'FailedOperation.VideoDecodeFailed'
|
|
241
241
|
|
|
242
|
+
# 视频时长过长,当前接口最大支持的视频时长为20s。
|
|
243
|
+
FAILEDOPERATION_VIDEODURATIONEXCEEDED = 'FailedOperation.VideoDurationExceeded'
|
|
244
|
+
|
|
242
245
|
# 内部错误。
|
|
243
246
|
INTERNALERROR = 'InternalError'
|
|
244
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
|
|
|
@@ -9334,7 +9368,7 @@ class ParseNfcDataResponse(AbstractModel):
|
|
|
9334
9368
|
07 :台胞证 。
|
|
9335
9369
|
08:外国护照 。
|
|
9336
9370
|
09 :士兵证。
|
|
9337
|
-
|
|
9371
|
+
10 :临时身份证。
|
|
9338
9372
|
11:户口本 。
|
|
9339
9373
|
12 :警官证 。
|
|
9340
9374
|
13:外国人永久居留证。
|
|
@@ -9361,7 +9395,7 @@ class ParseNfcDataResponse(AbstractModel):
|
|
|
9361
9395
|
:type PersonalNumber: str
|
|
9362
9396
|
:param _CheckMRTD: 旅行证件类的核验结果。
|
|
9363
9397
|
- JSON格式如下:
|
|
9364
|
-
{"result_issuer ":"签发者证书合法性验证结果 ","result_pape r":"
|
|
9398
|
+
{"result_issuer ":"签发者证书合法性验证结果 ","result_pape r":"证件安全对象合法性验证结果 ","result_data" :"防数据篡改验证结果 ","result_chip" :"防证书件芯片被复制验证结果"} 。
|
|
9365
9399
|
- 取值范围: 0:验证通过,1: 验证不通过,2: 未验证,3:部分通过,当4项核验结果都为0时,表示证件为真。
|
|
9366
9400
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9367
9401
|
:type CheckMRTD: str
|
|
@@ -9532,7 +9566,7 @@ class ParseNfcDataResponse(AbstractModel):
|
|
|
9532
9566
|
07 :台胞证 。
|
|
9533
9567
|
08:外国护照 。
|
|
9534
9568
|
09 :士兵证。
|
|
9535
|
-
|
|
9569
|
+
10 :临时身份证。
|
|
9536
9570
|
11:户口本 。
|
|
9537
9571
|
12 :警官证 。
|
|
9538
9572
|
13:外国人永久居留证。
|
|
@@ -9613,7 +9647,7 @@ class ParseNfcDataResponse(AbstractModel):
|
|
|
9613
9647
|
def CheckMRTD(self):
|
|
9614
9648
|
"""旅行证件类的核验结果。
|
|
9615
9649
|
- JSON格式如下:
|
|
9616
|
-
{"result_issuer ":"签发者证书合法性验证结果 ","result_pape r":"
|
|
9650
|
+
{"result_issuer ":"签发者证书合法性验证结果 ","result_pape r":"证件安全对象合法性验证结果 ","result_data" :"防数据篡改验证结果 ","result_chip" :"防证书件芯片被复制验证结果"} 。
|
|
9617
9651
|
- 取值范围: 0:验证通过,1: 验证不通过,2: 未验证,3:部分通过,当4项核验结果都为0时,表示证件为真。
|
|
9618
9652
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9619
9653
|
:rtype: str
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1293
|
tencentcloud-sdk-python-faceid-3.0.1280/tencentcloud_sdk_python_faceid.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1280
|
{tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-faceid-3.0.1280 → tencentcloud-sdk-python-faceid-3.0.1293}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|