Comments (7)
verify compares the most similar ones in that image pair even if same two person are available.
from deepface.
@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:
deepface/deepface/modules/verification.py
Line 154 in 3690f32
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.
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.
@serengil Thanks!
from deepface.
@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.
Please checkout stream function, it does similar task
from deepface.
Thanks a lot @serengil ! I'll check it out.
from deepface.
Related Issues (20)
- Request for support of model conversion like in .onnx or .engine file. HOT 2
- [FEATURE]: extract_faces return face center point info or stop further enlargement if face center point can't be kept at image center HOT 8
- [BUG]: TypeError: unhashable type: 'list' HOT 2
- Fine Tuning Threshold in Face Recognition HOT 1
- New api endpoint HOT 4
- [BUG]: license is not shown in pip package
- Add TFace & Anti-Spoofing models π HOT 3
- Which Billion-Scale Database is the best for Face Recognition Query? HOT 1
- [BUG]: The verify function in gunicorn is unavailable
- [BUG]: <Wrong display of height and width values ββin DeepFace.represent function> HOT 2
- [BUG]: x of facial area left and right eye seems to be swapped since version 0.0.90 HOT 8
- [BUG]: Models ArcFace, Dlib, and others are not working. VGG-Face is the only model working for me HOT 3
- [BUG]: Age of children detected wrong HOT 1
- [BUG]: tensorflow deprecation warning with tf-keras HOT 1
- [FEATURE]: Nix flake deployment mechanism HOT 3
- [FEATURE]: Face Recognition in an image filled with other people HOT 2
- FAU Detection HOT 1
- [BUG]: Intermittent Packet Type Mismatch Error in Long-Term Face Detection with DeepFace and MediaPipe "Graph has errors: Packet type mismatch on a calculator receiving from stream "image": ; Empty packets are not allowed for type: OneOf<::mediapipe::Image, ::mediapipe::ImageFrame, mediapipe::GpuBuffer>" HOT 1
- [More info from find method]: Find method should optionally return full face detection results HOT 3
- [BUG]: deepface "find" method runs very slowly (16 sec per iteration), unable to use gpu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepface.