From d518ec81bbdb5f9f66584609bf5ae4c18347cd59 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 30 六月 2025 22:21:39 +0800
Subject: [PATCH] gx本地人脸识别匹配百度sdk
---
src/stores/StoresConfing.ts | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/src/stores/StoresConfing.ts b/src/stores/StoresConfing.ts
index a929c66..affed01 100644
--- a/src/stores/StoresConfing.ts
+++ b/src/stores/StoresConfing.ts
@@ -2,15 +2,23 @@
import { ref } from 'vue'
export const confingInfoStore =defineStore('confingInfo',()=>{
const confingInfo=ref({
+ isLanFace:false,//内网版
+ faceApi:'',
screenTimeout: 150,
+ // 启用人脸识别
isUseFaceRecogService: true,
deviceType:"血压计",
face_database:"Face_jq",
+ // 数据准度
face_score:0.55,
+ //结果展示等待页面读秒
timeJg:10000,
base_api:"",
+
+ // 人脸识别请求间隔
face_push:3,
- // 播报定时
+ imgHeight:200,
+ // 播报定时间隔
BobaoJg:4,
beginWorkTime:5,
endWorkTime:22,
@@ -21,7 +29,7 @@
baudRate:115200,
Is_xyj:true,
xyj_type:'mbp7000',
- // HBP-9030 波特率115200 ,TM2655 波特率 2400 mbp7000 波特率9600
+ // HBP-9030 波特率115200 ,TM2655 波特率 2400 mbp7000 波特率9600 yuyue 波特率115300
xueyanjiPortPath:"COM35",
xueyanjiBaudRate:9600,
Is_tzc:false,
@@ -44,7 +52,11 @@
confingInfo.value=info
// 给默认值
if(info.BobaoJg===undefined){
- confingInfo.value.BobaoJg=4
+ confingInfo.value.BobaoJg=10
+ }
+ //
+ if(info.isLanFace===undefined){
+ confingInfo.value.isLanFace=false
}
}
return {confingInfo,setconfingInfo}
--
Gitblit v1.8.0