Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recognizing the wrong person #451

Closed
rafaelsilvade opened this issue Apr 16, 2024 · 1 comment
Closed

Recognizing the wrong person #451

rafaelsilvade opened this issue Apr 16, 2024 · 1 comment
Assignees

Comments

@rafaelsilvade
Copy link

rafaelsilvade commented Apr 16, 2024

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

};

  • Human library version? 3.2.1
  • Built-in demo or custom code?
  • Type of module used (e.g. js, esm, esm-nobundle)?
  • TensorFlow/JS version (if not using bundled module)?
  • Browser or NodeJS and version (e.g. NodeJS 14.15 or Chrome 89)? Chrome
  • OS and Hardware platform (e.g. Windows 10, Ubuntu Linux on x64, Android 10)? Windows 11
  • Packager (if any) (e.g, webpack, rollup, parcel, esbuild, etc.)?
  • Framework (if any) (e.g. React, NextJS, etc.)? Angular

Diagnostics

Additional

  • For installation or startup issues include your package.json
  • For usage issues, it is recommended to post your code as gist
  • For general questions, create a discussion topic
@vladmandic
Copy link
Owner

this topic has been discussed many times:

  • search for more detailed descriptions/conversations - there have been a lot.
  • default model for face intentification is choosen because its fast and lightweight,
    not because its precise. use a different model, human supports several just via config change
  • tune other params as needed

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

@vladmandic vladmandic closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants