Coder Social home page Coder Social logo

Comments (7)

serengil avatar serengil commented on May 26, 2024

verify compares the most similar ones in that image pair even if same two person are available.

from deepface.

utility-aagrawal avatar utility-aagrawal commented on May 26, 2024

@serengil , Thanks for your response! I understand that from the readme. I think what I am asking is if it is possible to do many-to-many comparison and return all the matches.

In the code, I see that we are comparing all the faces between two images but only returning the most similar match based on the best distance:

threshold = find_threshold(model_name, distance_metric)

I would be willing to open a PR if you think this feature would be useful. One thing I would need to understand is how you came up with hardcoded threshold for different model_name, distance_metric combinations. Thanks!

from deepface.

serengil avatar serengil commented on May 26, 2024

I am very satisfied with the current version of verify function. IMO, that feature would not be helpful. Still, thank you for your interest.

Secondly, you can use the distance in the response instead of verified key if you want to use your own threshold.

from deepface.

utility-aagrawal avatar utility-aagrawal commented on May 26, 2024

@serengil Thanks!

from deepface.

utility-aagrawal avatar utility-aagrawal commented on May 26, 2024

@serengil , I would like to get your opinion on my use case. I am trying to build a face detection and tracking platform on video data. The problem is that there could be multiple individuals in a frame and I want to be able to track them all across frames. Is that something I can implement using your library? If not, do you have any alternative recommendations?

from deepface.

serengil avatar serengil commented on May 26, 2024

Please checkout stream function, it does similar task

from deepface.

utility-aagrawal avatar utility-aagrawal commented on May 26, 2024

Thanks a lot @serengil ! I'll check it out.

from deepface.

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.