I am using deep face library in order to get several faces in one picture, DeepFace.detectFace(), only detect one face, but if I use the backends separately without use DeepFace I can extract all faces, is it possible to use DeepFace.detectFace() in order to get all faces in one photo?
Thanks
I just found this question so adding my 2 cents here.
The deepFace has 2 face detection methods:
detect_face(), detect_faces()
. I tried both of them on the input image which had 2 faces. Thedetect_face()
method returned 2 faces while thedetect_faces()
returned only 1.I also explored the retinaFace library. The
RetinaFace.detect_faces(input_img)
works better than the above 2. It will return a dictionary containing more details like the position of the detected faces, conf-score, facial area, landmarks, etc.Output:
Comparison between deepface and retinaFace detect face methods