|
@@ -47,13 +47,13 @@ export function useFaceLive(doSnap: () => void) {
|
|
doSnap();
|
|
doSnap();
|
|
// this.toggleSnapNow();
|
|
// this.toggleSnapNow();
|
|
$message.info("30秒后开始指定动作检测");
|
|
$message.info("30秒后开始指定动作检测");
|
|
- }, faceVerifyMinute * 60 * 1000 - 30 * 1000); // 活体检测提醒
|
|
|
|
|
|
+ }, faceVerifyMinute * 60 * 1000 - 30 * 1000 + 5 * 1000); // 活体检测提醒。加5秒,和整分抓拍错开。
|
|
|
|
|
|
addTimeout(() => {
|
|
addTimeout(() => {
|
|
if (identificationOfLivingBodyScheme === "S1") {
|
|
if (identificationOfLivingBodyScheme === "S1") {
|
|
showFaceId = true;
|
|
showFaceId = true;
|
|
}
|
|
}
|
|
- }, faceVerifyMinute * 60 * 1000); // 定时做活体检测
|
|
|
|
|
|
+ }, faceVerifyMinute * 60 * 1000 + 5 * 1000); // 定时做活体检测。加5秒,和整分抓拍错开。
|
|
// }, 1 * 1000); // 定时做活体检测
|
|
// }, 1 * 1000); // 定时做活体检测
|
|
}
|
|
}
|
|
|
|
|