From a361d46a7938adb82cfd38b9ced38a401f6be1b1 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Sun, 9 Feb 2025 19:45:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/subPack/human/human.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/subPack/human/human.vue b/pages/subPack/human/human.vue index 2ec9f5d..5e71232 100644 --- a/pages/subPack/human/human.vue +++ b/pages/subPack/human/human.vue @@ -34,7 +34,7 @@ - {{ tipsText }} + @@ -259,7 +259,7 @@ const standard = 0.5 - let faseP = 0.98 + let faseP = 0.8 if (Math.abs(pitch) >= standard || Math.abs(roll) >= standard || Math.abs(yaw) >= standard) { @@ -284,11 +284,14 @@ // } } + } + // 不管是否有人脸都是成功 + this.tipsText = this.successText }, fail: (err) => { if (err.x == -1 || err.y == -1) { - this.tipsText = '检测不到人' + // this.tipsText = '检测不到人' } else { this.tipsText = err.errMsg || '网络错误,请退出页面重试' }