vladmandic / human

Human: AI-powered 3D Face Detection & Rotation Tracking, Face Description & Recognition, Body Pose Tracking, 3D Hand & Finger Tracking, Iris Analysis, Age & Gender & Emotion Prediction, Gaze Tracking, Gesture Recognition
https://vladmandic.github.io/human/demo/index.html
MIT License
2.16k stars 308 forks source link

Recognizing the wrong person #451

Closed rafaelsilvade closed 2 months ago

rafaelsilvade commented 2 months ago

Issue Description Hi,

After several tests and I managed to capture the evidence.

As you can see, people are different and yet the model puts a similarity of 0.74. I tested on other sites and models and even the facejs version below your lib doesn't match the two photos.

I am attaching the two photos, for reasons of privacy for both people, could I not leave the images public?

Steps to Reproduce

compare the similarity between the two images

Expected Behavior

Environment humanConfig = { debug: false, modelBasePath: '../assets/models/', filter: { enabled: true, equalization: true, flip: false, width: 0 }, face: { enabled: true, detector: { rotation: true, maxDetected: 1, minConfidence: 0.6, return: true, mask: false, skipFrames: 1, iouThreshold: 0.5 }, iris: { enabled: true }, description: { enabled: true, minConfidence: 0.6, skipFrames: 1 }, // default model for face descriptor extraction is faceres

  //insightface: { enabled: true, modelPath: '../assets/models/insightface-mobilenet-swish.json' }, // alternative model
  mesh: { enabled: true },
  emotion: { enabled: false },
  antispoof: { enabled: false },
  liveness: { enabled: false },
  skipFrames: 1
},
body: { enabled: false },
hand: { enabled: false },
object: { enabled: false },
gesture: { enabled: true },
segmentation: { enabled: false },
async: false

};

Diagnostics

Additional

vladmandic commented 2 months ago

this topic has been discussed many times:

and other than those 3 large topics, i really don't have much to add so i'm closing the issue for now.