Skip to content

Commit

Permalink
release 3.0.1108
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Mar 24, 2024
1 parent 0a80a8b commit 2dd3ff6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
],
"require": {
"tencentcloud/common": "3.0.1107"
"tencentcloud/common": "3.0.1108"
},
"autoload": {
"psr-4": {
Expand Down
12 changes: 12 additions & 0 deletions src/TencentCloud/Faceid/V20180301/Models/GetEidTokenConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
* @method void setIntentionRecognition(boolean $IntentionRecognition) 设置意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认不开启。
* @method boolean getIsSupportHMTResidentPermitOCR() 获取是否支持港澳台居住证识别
* @method void setIsSupportHMTResidentPermitOCR(boolean $IsSupportHMTResidentPermitOCR) 设置是否支持港澳台居住证识别
* @method boolean getMouthOpenRecognition() 获取用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。
* @method void setMouthOpenRecognition(boolean $MouthOpenRecognition) 设置用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。
*/
class GetEidTokenConfig extends AbstractModel
{
Expand Down Expand Up @@ -97,6 +99,11 @@ class GetEidTokenConfig extends AbstractModel
*/
public $IsSupportHMTResidentPermitOCR;

/**
* @var boolean 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。
*/
public $MouthOpenRecognition;

/**
* @param string $InputType 姓名身份证输入方式。
1:传身份证正反面OCR
Expand All @@ -112,6 +119,7 @@ class GetEidTokenConfig extends AbstractModel
* @param array $IntentionActions 意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。默认为空,最长可接受150的字符串长度。
* @param boolean $IntentionRecognition 意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认不开启。
* @param boolean $IsSupportHMTResidentPermitOCR 是否支持港澳台居住证识别
* @param boolean $MouthOpenRecognition 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。
*/
function __construct()
{
Expand Down Expand Up @@ -167,5 +175,9 @@ public function deserialize($param)
if (array_key_exists("IsSupportHMTResidentPermitOCR",$param) and $param["IsSupportHMTResidentPermitOCR"] !== null) {
$this->IsSupportHMTResidentPermitOCR = $param["IsSupportHMTResidentPermitOCR"];
}

if (array_key_exists("MouthOpenRecognition",$param) and $param["MouthOpenRecognition"] !== null) {
$this->MouthOpenRecognition = $param["MouthOpenRecognition"];
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
-107: "请勿遮挡鼻子"
-201: "人脸比对相似度低"
-202: "人脸比对失败"
-301: "意愿核验不通过"
-301: "意愿核验不通过"
-302: "用户回答阶段未检测到张嘴动作"
-800: "前端不兼容错误"
-801: "用户未授权摄像头和麦克风权限"
-802: "核验流程异常中断,请勿切屏或进行其他操作"
Expand All @@ -55,7 +56,8 @@
-107: "请勿遮挡鼻子"
-201: "人脸比对相似度低"
-202: "人脸比对失败"
-301: "意愿核验不通过"
-301: "意愿核验不通过"
-302: "用户回答阶段未检测到张嘴动作"
-800: "前端不兼容错误"
-801: "用户未授权摄像头和麦克风权限"
-802: "核验流程异常中断,请勿切屏或进行其他操作"
Expand Down Expand Up @@ -113,7 +115,8 @@ class IntentionQuestionResult extends AbstractModel
-107: "请勿遮挡鼻子"
-201: "人脸比对相似度低"
-202: "人脸比对失败"
-301: "意愿核验不通过"
-301: "意愿核验不通过"
-302: "用户回答阶段未检测到张嘴动作"
-800: "前端不兼容错误"
-801: "用户未授权摄像头和麦克风权限"
-802: "核验流程异常中断,请勿切屏或进行其他操作"
Expand Down Expand Up @@ -183,7 +186,8 @@ class IntentionQuestionResult extends AbstractModel
-107: "请勿遮挡鼻子"
-201: "人脸比对相似度低"
-202: "人脸比对失败"
-301: "意愿核验不通过"
-301: "意愿核验不通过"
-302: "用户回答阶段未检测到张嘴动作"
-800: "前端不兼容错误"
-801: "用户未授权摄像头和麦克风权限"
-802: "核验流程异常中断,请勿切屏或进行其他操作"
Expand Down

0 comments on commit 2dd3ff6

Please sign in to comment.