tencentcloud-sdk-python-faceid 3.1.127__tar.gz → 3.1.131__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/setup.py +1 -1
  3. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/tencentcloud/faceid/v20180301/models.py +86 -64
  5. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_faceid-3.1.131/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_faceid-3.1.127/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/README.rst +0 -0
  9. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/tencentcloud/faceid/__init__.py +0 -0
  11. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/tencentcloud/faceid/v20180301/__init__.py +0 -0
  12. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/tencentcloud/faceid/v20180301/faceid_client.py +0 -0
  14. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/tencentcloud/faceid/v20180301/faceid_client_async.py +0 -0
  15. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.131}/tencentcloud_sdk_python_faceid.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-faceid
3
- Version: 3.1.127
3
+ Version: 3.1.131
4
4
  Summary: Tencent Cloud Faceid SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.127
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.131
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1.127,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.131,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Faceid SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.127'
17
+ __version__ = '3.1.131'
@@ -6951,37 +6951,29 @@ class IdCardOCRVerificationRequest(AbstractModel):
6951
6951
 
6952
6952
  def __init__(self):
6953
6953
  r"""
6954
- :param _IdCard: 身份证号。
6955
- - 姓名和身份证号、ImageBase64、ImageUrl三者必须提供其中之一。
6956
- - 若都提供了,则按照姓名和身份证号>ImageBase64>ImageUrl的优先级使用参数。
6954
+ :param _IdCard: <p>身份证号。</p><ul><li>姓名和身份证号、ImageBase64、ImageUrl三者必须提供其中之一。</li><li>若都提供了,则按照姓名和身份证号&gt;ImageBase64&gt;ImageUrl的优先级使用参数。</li></ul>
6957
6955
  :type IdCard: str
6958
- :param _Name: 姓名。
6956
+ :param _Name: <p>姓名。</p>
6959
6957
  :type Name: str
6960
- :param _ImageBase64: 身份证人像面的 Base64 值。
6961
- - 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
6962
- - 支持的图片大小:所下载图片经Base64编码后不超过 3M。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
6958
+ :param _ImageBase64: <p>身份证人像面的 Base64 值。</p><ul><li>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。</li><li>支持的图片大小:所下载图片经Base64编码后不超过 3M。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。</li></ul>
6963
6959
  :type ImageBase64: str
6964
- :param _ImageUrl: 身份证人像面的 Url 地址。
6965
- - 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
6966
- - 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
6967
- - 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
6968
- - 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6960
+ :param _ImageUrl: <p>身份证人像面的 Url 地址。</p><ul><li>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。</li><li>支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。</li><li>图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。</li><li>非腾讯云存储的 Url 速度和稳定性可能受一定影响。</li></ul>
6969
6961
  :type ImageUrl: str
6970
- :param _Encryption: 敏感数据加密信息。
6971
- - 对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
6962
+ :param _Encryption: <p>敏感数据加密信息。</p><ul><li>对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。</li></ul>
6972
6963
  :type Encryption: :class:`tencentcloud.faceid.v20180301.models.Encryption`
6964
+ :param _Config: <p>告警配置。</p><ul><li>仅当使用ImageBase64或者ImageUrl时,告警配置生效</li><li>以下可选字段均为bool 类型,默认false。<ul><li>CopyWarn,复印件告警。</li><li>BorderCheckWarn,边框和框内遮挡告警。</li><li>ReshootWarn,翻拍告警。</li><li>DetectPsWarn,PS检测告警(疑似存在PS痕迹)。</li><li>TempIdWarn,临时身份证告警。</li><li>Quality,图片质量告警(评价图片模糊程度)。</li></ul></li><li>SDK 设置方式参考:Config = Json.stringify({&quot;CopyWarn&quot;:true,&quot;ReshootWarn&quot;:true})。</li><li>API 3.0 Explorer 设置方式参考:Config = {&quot;CopyWarn&quot;:true,&quot;Quality&quot;:true}。</li></ul>
6965
+ :type Config: str
6973
6966
  """
6974
6967
  self._IdCard = None
6975
6968
  self._Name = None
6976
6969
  self._ImageBase64 = None
6977
6970
  self._ImageUrl = None
6978
6971
  self._Encryption = None
6972
+ self._Config = None
6979
6973
 
6980
6974
  @property
6981
6975
  def IdCard(self):
6982
- r"""身份证号。
6983
- - 姓名和身份证号、ImageBase64、ImageUrl三者必须提供其中之一。
6984
- - 若都提供了,则按照姓名和身份证号>ImageBase64>ImageUrl的优先级使用参数。
6976
+ r"""<p>身份证号。</p><ul><li>姓名和身份证号、ImageBase64、ImageUrl三者必须提供其中之一。</li><li>若都提供了,则按照姓名和身份证号&gt;ImageBase64&gt;ImageUrl的优先级使用参数。</li></ul>
6985
6977
  :rtype: str
6986
6978
  """
6987
6979
  return self._IdCard
@@ -6992,7 +6984,7 @@ class IdCardOCRVerificationRequest(AbstractModel):
6992
6984
 
6993
6985
  @property
6994
6986
  def Name(self):
6995
- r"""姓名。
6987
+ r"""<p>姓名。</p>
6996
6988
  :rtype: str
6997
6989
  """
6998
6990
  return self._Name
@@ -7003,9 +6995,7 @@ class IdCardOCRVerificationRequest(AbstractModel):
7003
6995
 
7004
6996
  @property
7005
6997
  def ImageBase64(self):
7006
- r"""身份证人像面的 Base64 值。
7007
- - 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
7008
- - 支持的图片大小:所下载图片经Base64编码后不超过 3M。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
6998
+ r"""<p>身份证人像面的 Base64 值。</p><ul><li>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。</li><li>支持的图片大小:所下载图片经Base64编码后不超过 3M。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。</li></ul>
7009
6999
  :rtype: str
7010
7000
  """
7011
7001
  return self._ImageBase64
@@ -7016,11 +7006,7 @@ class IdCardOCRVerificationRequest(AbstractModel):
7016
7006
 
7017
7007
  @property
7018
7008
  def ImageUrl(self):
7019
- r"""身份证人像面的 Url 地址。
7020
- - 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
7021
- - 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
7022
- - 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
7023
- - 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
7009
+ r"""<p>身份证人像面的 Url 地址。</p><ul><li>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。</li><li>支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。</li><li>图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。</li><li>非腾讯云存储的 Url 速度和稳定性可能受一定影响。</li></ul>
7024
7010
  :rtype: str
7025
7011
  """
7026
7012
  return self._ImageUrl
@@ -7031,8 +7017,7 @@ class IdCardOCRVerificationRequest(AbstractModel):
7031
7017
 
7032
7018
  @property
7033
7019
  def Encryption(self):
7034
- r"""敏感数据加密信息。
7035
- - 对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
7020
+ r"""<p>敏感数据加密信息。</p><ul><li>对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。</li></ul>
7036
7021
  :rtype: :class:`tencentcloud.faceid.v20180301.models.Encryption`
7037
7022
  """
7038
7023
  return self._Encryption
@@ -7041,6 +7026,17 @@ class IdCardOCRVerificationRequest(AbstractModel):
7041
7026
  def Encryption(self, Encryption):
7042
7027
  self._Encryption = Encryption
7043
7028
 
7029
+ @property
7030
+ def Config(self):
7031
+ r"""<p>告警配置。</p><ul><li>仅当使用ImageBase64或者ImageUrl时,告警配置生效</li><li>以下可选字段均为bool 类型,默认false。<ul><li>CopyWarn,复印件告警。</li><li>BorderCheckWarn,边框和框内遮挡告警。</li><li>ReshootWarn,翻拍告警。</li><li>DetectPsWarn,PS检测告警(疑似存在PS痕迹)。</li><li>TempIdWarn,临时身份证告警。</li><li>Quality,图片质量告警(评价图片模糊程度)。</li></ul></li><li>SDK 设置方式参考:Config = Json.stringify({&quot;CopyWarn&quot;:true,&quot;ReshootWarn&quot;:true})。</li><li>API 3.0 Explorer 设置方式参考:Config = {&quot;CopyWarn&quot;:true,&quot;Quality&quot;:true}。</li></ul>
7032
+ :rtype: str
7033
+ """
7034
+ return self._Config
7035
+
7036
+ @Config.setter
7037
+ def Config(self, Config):
7038
+ self._Config = Config
7039
+
7044
7040
 
7045
7041
  def _deserialize(self, params):
7046
7042
  self._IdCard = params.get("IdCard")
@@ -7050,6 +7046,7 @@ class IdCardOCRVerificationRequest(AbstractModel):
7050
7046
  if params.get("Encryption") is not None:
7051
7047
  self._Encryption = Encryption()
7052
7048
  self._Encryption._deserialize(params.get("Encryption"))
7049
+ self._Config = params.get("Config")
7053
7050
  memeber_set = set(params.keys())
7054
7051
  for name, value in vars(self).items():
7055
7052
  property_name = name[1:]
@@ -7067,36 +7064,32 @@ class IdCardOCRVerificationResponse(AbstractModel):
7067
7064
 
7068
7065
  def __init__(self):
7069
7066
  r"""
7070
- :param _Result: 认证结果码,收费情况如下。
7071
- - 收费结果码:
7072
- 0: 姓名和身份证号一致。
7073
- -1: 姓名和身份证号不一致。
7074
- - 不收费结果码:
7075
- -2: 非法身份证号(长度、校验位等不正确)。
7076
- -3: 非法姓名(长度、格式等不正确)。
7077
- -4: 证件库服务异常。
7078
- -5: 证件库中无此身份证记录。
7079
- -6: 权威比对系统升级中,请稍后再试。
7080
- -7: 认证次数超过当日限制。
7067
+ :param _Result: <p>认证结果码,收费情况如下。</p><ul><li>收费结果码:<br>0: 姓名和身份证号一致。<br>-1: 姓名和身份证号不一致。</li><li>不收费结果码:<br>-2: 非法身份证号(长度、校验位等不正确)。<br>-3: 非法姓名(长度、格式等不正确)。<br>-4: 证件库服务异常。<br>-5: 证件库中无此身份证记录。<br>-6: 权威比对系统升级中,请稍后再试。<br>-7: 认证次数超过当日限制。</li></ul>
7081
7068
  :type Result: str
7082
- :param _Description: 业务结果描述。
7069
+ :param _Description: <p>业务结果描述。</p>
7083
7070
  :type Description: str
7084
- :param _Name: 用于验证的姓名。
7071
+ :param _Name: <p>用于验证的姓名。</p>
7085
7072
  :type Name: str
7086
- :param _IdCard: 用于验证的身份证号。
7073
+ :param _IdCard: <p>用于验证的身份证号。</p>
7087
7074
  :type IdCard: str
7088
- :param _Sex: OCR得到的性别。
7075
+ :param _Sex: <p>OCR得到的性别。</p>
7089
7076
  注意:此字段可能返回 null,表示取不到有效值。
7090
7077
  :type Sex: str
7091
- :param _Nation: OCR得到的民族。
7078
+ :param _Nation: <p>OCR得到的民族。</p>
7092
7079
  注意:此字段可能返回 null,表示取不到有效值。
7093
7080
  :type Nation: str
7094
- :param _Birth: OCR得到的生日。
7081
+ :param _Birth: <p>OCR得到的生日。</p>
7095
7082
  注意:此字段可能返回 null,表示取不到有效值。
7096
7083
  :type Birth: str
7097
- :param _Address: OCR得到的地址。
7084
+ :param _Address: <p>OCR得到的地址。</p>
7098
7085
  注意:此字段可能返回 null,表示取不到有效值。
7099
7086
  :type Address: str
7087
+ :param _Portrait: <p>身份证头像照片的base64编码</p>
7088
+ :type Portrait: str
7089
+ :param _Warnings: <p>告警信息。</p><ul><li>Code 告警码列表和释义:<br> &#39;-9101&#39;:身份证边框不完整告警。<br> &#39;-9102&#39;:身份证复印件告警。<br> &#39;-9103&#39;:身份证翻拍告警。<br> &#39;-9105&#39;:身份证框内遮挡告警。&#39;<br> &#39;-9104&#39;:临时身份证告警。<br> &#39;-9106&#39;:身份证 PS 告警(疑似存在PS痕迹)。<br> &#39;-9107&#39;:身份证反光告警。<br> &#39;-9108&#39;:身份证复印件告警(仅黑白复印件)。<br> &#39;-9109&#39;:身份证有效日期不合法告警。<br> &#39;-8001&#39;:图片模糊告警。</li><li>多个会用“|” 隔开,如 &quot;-9101|-9106|-9104&quot;。</li></ul>
7090
+ :type Warnings: str
7091
+ :param _Quality: <p>图片质量分数。</p><ul><li>当请求Config中配置图片模糊告警该参数才有意义。</li><li><ul><li>取值范围(0~100),目前默认阈值是50分,低于50分会触发模糊告警。</li></ul></li></ul>
7092
+ :type Quality: float
7100
7093
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7101
7094
  :type RequestId: str
7102
7095
  """
@@ -7108,21 +7101,14 @@ class IdCardOCRVerificationResponse(AbstractModel):
7108
7101
  self._Nation = None
7109
7102
  self._Birth = None
7110
7103
  self._Address = None
7104
+ self._Portrait = None
7105
+ self._Warnings = None
7106
+ self._Quality = None
7111
7107
  self._RequestId = None
7112
7108
 
7113
7109
  @property
7114
7110
  def Result(self):
7115
- r"""认证结果码,收费情况如下。
7116
- - 收费结果码:
7117
- 0: 姓名和身份证号一致。
7118
- -1: 姓名和身份证号不一致。
7119
- - 不收费结果码:
7120
- -2: 非法身份证号(长度、校验位等不正确)。
7121
- -3: 非法姓名(长度、格式等不正确)。
7122
- -4: 证件库服务异常。
7123
- -5: 证件库中无此身份证记录。
7124
- -6: 权威比对系统升级中,请稍后再试。
7125
- -7: 认证次数超过当日限制。
7111
+ r"""<p>认证结果码,收费情况如下。</p><ul><li>收费结果码:<br>0: 姓名和身份证号一致。<br>-1: 姓名和身份证号不一致。</li><li>不收费结果码:<br>-2: 非法身份证号(长度、校验位等不正确)。<br>-3: 非法姓名(长度、格式等不正确)。<br>-4: 证件库服务异常。<br>-5: 证件库中无此身份证记录。<br>-6: 权威比对系统升级中,请稍后再试。<br>-7: 认证次数超过当日限制。</li></ul>
7126
7112
  :rtype: str
7127
7113
  """
7128
7114
  return self._Result
@@ -7133,7 +7119,7 @@ class IdCardOCRVerificationResponse(AbstractModel):
7133
7119
 
7134
7120
  @property
7135
7121
  def Description(self):
7136
- r"""业务结果描述。
7122
+ r"""<p>业务结果描述。</p>
7137
7123
  :rtype: str
7138
7124
  """
7139
7125
  return self._Description
@@ -7144,7 +7130,7 @@ class IdCardOCRVerificationResponse(AbstractModel):
7144
7130
 
7145
7131
  @property
7146
7132
  def Name(self):
7147
- r"""用于验证的姓名。
7133
+ r"""<p>用于验证的姓名。</p>
7148
7134
  :rtype: str
7149
7135
  """
7150
7136
  return self._Name
@@ -7155,7 +7141,7 @@ class IdCardOCRVerificationResponse(AbstractModel):
7155
7141
 
7156
7142
  @property
7157
7143
  def IdCard(self):
7158
- r"""用于验证的身份证号。
7144
+ r"""<p>用于验证的身份证号。</p>
7159
7145
  :rtype: str
7160
7146
  """
7161
7147
  return self._IdCard
@@ -7166,7 +7152,7 @@ class IdCardOCRVerificationResponse(AbstractModel):
7166
7152
 
7167
7153
  @property
7168
7154
  def Sex(self):
7169
- r"""OCR得到的性别。
7155
+ r"""<p>OCR得到的性别。</p>
7170
7156
  注意:此字段可能返回 null,表示取不到有效值。
7171
7157
  :rtype: str
7172
7158
  """
@@ -7178,7 +7164,7 @@ class IdCardOCRVerificationResponse(AbstractModel):
7178
7164
 
7179
7165
  @property
7180
7166
  def Nation(self):
7181
- r"""OCR得到的民族。
7167
+ r"""<p>OCR得到的民族。</p>
7182
7168
  注意:此字段可能返回 null,表示取不到有效值。
7183
7169
  :rtype: str
7184
7170
  """
@@ -7190,7 +7176,7 @@ class IdCardOCRVerificationResponse(AbstractModel):
7190
7176
 
7191
7177
  @property
7192
7178
  def Birth(self):
7193
- r"""OCR得到的生日。
7179
+ r"""<p>OCR得到的生日。</p>
7194
7180
  注意:此字段可能返回 null,表示取不到有效值。
7195
7181
  :rtype: str
7196
7182
  """
@@ -7202,7 +7188,7 @@ class IdCardOCRVerificationResponse(AbstractModel):
7202
7188
 
7203
7189
  @property
7204
7190
  def Address(self):
7205
- r"""OCR得到的地址。
7191
+ r"""<p>OCR得到的地址。</p>
7206
7192
  注意:此字段可能返回 null,表示取不到有效值。
7207
7193
  :rtype: str
7208
7194
  """
@@ -7212,6 +7198,39 @@ class IdCardOCRVerificationResponse(AbstractModel):
7212
7198
  def Address(self, Address):
7213
7199
  self._Address = Address
7214
7200
 
7201
+ @property
7202
+ def Portrait(self):
7203
+ r"""<p>身份证头像照片的base64编码</p>
7204
+ :rtype: str
7205
+ """
7206
+ return self._Portrait
7207
+
7208
+ @Portrait.setter
7209
+ def Portrait(self, Portrait):
7210
+ self._Portrait = Portrait
7211
+
7212
+ @property
7213
+ def Warnings(self):
7214
+ r"""<p>告警信息。</p><ul><li>Code 告警码列表和释义:<br> &#39;-9101&#39;:身份证边框不完整告警。<br> &#39;-9102&#39;:身份证复印件告警。<br> &#39;-9103&#39;:身份证翻拍告警。<br> &#39;-9105&#39;:身份证框内遮挡告警。&#39;<br> &#39;-9104&#39;:临时身份证告警。<br> &#39;-9106&#39;:身份证 PS 告警(疑似存在PS痕迹)。<br> &#39;-9107&#39;:身份证反光告警。<br> &#39;-9108&#39;:身份证复印件告警(仅黑白复印件)。<br> &#39;-9109&#39;:身份证有效日期不合法告警。<br> &#39;-8001&#39;:图片模糊告警。</li><li>多个会用“|” 隔开,如 &quot;-9101|-9106|-9104&quot;。</li></ul>
7215
+ :rtype: str
7216
+ """
7217
+ return self._Warnings
7218
+
7219
+ @Warnings.setter
7220
+ def Warnings(self, Warnings):
7221
+ self._Warnings = Warnings
7222
+
7223
+ @property
7224
+ def Quality(self):
7225
+ r"""<p>图片质量分数。</p><ul><li>当请求Config中配置图片模糊告警该参数才有意义。</li><li><ul><li>取值范围(0~100),目前默认阈值是50分,低于50分会触发模糊告警。</li></ul></li></ul>
7226
+ :rtype: float
7227
+ """
7228
+ return self._Quality
7229
+
7230
+ @Quality.setter
7231
+ def Quality(self, Quality):
7232
+ self._Quality = Quality
7233
+
7215
7234
  @property
7216
7235
  def RequestId(self):
7217
7236
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -7233,6 +7252,9 @@ class IdCardOCRVerificationResponse(AbstractModel):
7233
7252
  self._Nation = params.get("Nation")
7234
7253
  self._Birth = params.get("Birth")
7235
7254
  self._Address = params.get("Address")
7255
+ self._Portrait = params.get("Portrait")
7256
+ self._Warnings = params.get("Warnings")
7257
+ self._Quality = params.get("Quality")
7236
7258
  self._RequestId = params.get("RequestId")
7237
7259
 
7238
7260
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-faceid
3
- Version: 3.1.127
3
+ Version: 3.1.131
4
4
  Summary: Tencent Cloud Faceid SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.127
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.131
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.131
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.127