chenyc
2023-11-27 e9ef9bfe411bda655f6231f3213cb09039b9dbb7
src/samples/faceApi.ts
@@ -58,6 +58,10 @@
      console.log(matchList)
      if(matchList?.length>0){
        const faceItems =matchList[0].faceItems
        if(faceItems?.length===0){
          console.log('没有找到患者对应的人脸')
          return false
        }
        if(faceItems[0].score>=faceScore){
          const entityId=faceItems[0].entityId
          console.log(entityId,'得到了人脸识别id,存患者code到vuex')
@@ -96,7 +100,7 @@
  if(err){
    console.log(err);
  }else{
    console.log('写入成功!',path);
    console.log('写入成功!验证阿里',path);
    // getOssUrl(path)
    // 验证图片
    faceShibie(path)