Browse Source

✨ feat: 更改logo位置

Pchen. 8 months ago
parent
commit
64e1592dde
2 changed files with 2 additions and 1 deletions
  1. 0 0
      public/logo.svg
  2. 2 1
      src/pages/face/components/faceReco.vue

+ 0 - 0
logo.svg → public/logo.svg


+ 2 - 1
src/pages/face/components/faceReco.vue

@@ -302,7 +302,8 @@ async function fnRedrawDiscern() {
     const best = state.faceMatcher.findBestMatch(descriptor)
 
     if (best) {
-      if (best._distance <= 0.6) {
+      // 临时加大匹配范围
+      if (best._distance <= 0.9) {
         state.failCount = 0
         tagColor.value = 'green'
         tagInfo.value = '录制中,请确保面部不要离开取景框'