jakowenko / double-take

Unified UI and API for processing and training images for facial recognition.
https://hub.docker.com/r/jakowenko/double-take
MIT License
1.22k stars 98 forks source link

[FEAT] deepface detector support #196

Open luzik opened 2 years ago

luzik commented 2 years ago

It would be awesome if double-take support deepface.

https://github.com/serengil/deepface

jakowenko commented 2 years ago

Hey, thanks for suggesting this. I checked out their API and don't see a way to use the find function to perform the recognition against the data set. Here's a closed issue talking about it - https://github.com/serengil/deepface/issues/425. Double Take currently relies on the detectors having a RESTful API with a similar feature set to what the current detectors have.

Did you have any ideas on how to best implement this?

luzik commented 2 years ago

You are right, there is no find in API, but looking into find method there should be an a way to iterate over double-take DB images using API verify() that takes two images, and then calculate result on double-take side as an average score