Coder Social home page Coder Social logo

Comments (4)

pospielov avatar pospielov commented on June 16, 2024

Ideally, training images should be taken on the same camera and same conditions as during recognition.
If it's not possible - it's better to use images with the best quality for training.
One detail, I recommend using only one image per subject to avoid false positives.
One more idea, have you tried custom builds? They should be more accurate, especially SubCenter-ArcFace-r100:
https://github.com/exadel-inc/CompreFace/blob/master/docs/Custom-builds.md

from compreface.

tyanai avatar tyanai commented on June 16, 2024

Thanks, can you please elaborate what did you refer with "one image per subject"? Are you saying that more than one image within a training is less beneficial?

from compreface.

pospielov avatar pospielov commented on June 16, 2024

Imagine you are a security guy and you were given a photo of John - the person needs to recognize.
It's not an easy task to recognize a person using a photo, so there is a chance that you won't recognize John when you see him, or there is a chance that you will recognize another person as John
So now, imagine you were given the second photo of John. So when a person approaches you, you compare the first photo and then a second photo with the person. The chance that you recognize John will increase, even if he doesn't look like in the first photo, he will probably look similar in the second photo. But the chance that somebody else would look like John in one of the photos also increased. So there is a bigger chance of recognizing another person as John.
What would you do if you met a person who looks similar to John from one photo, but different from another photo?
The logic will depend on your needs:

  • you say that this is John only if he looks similar to both photos
  • you say that this is John only if he looks similar to one of the photos
  • you say that this is John only if he looks similar to 50% of photos (if you have more than 2 photos)
  • in the case of an automated security system, you can automatically approve a person who looks like john on all photos, if not, send it to human check
  • If you have several people to recognize, you can take top 5 results and make a logic on how to determine the person.
    Because of all those possibilities, we return the similarity to each photo, and you should decide how your system should behave.
    Loading only one image per person and using a threshold on similarity is the simplest way to decrease incorrect recognitions. This is why I usually recommend it for most systems.

from compreface.

tyanai avatar tyanai commented on June 16, 2024

from compreface.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.