dlib icon indicating copy to clipboard operation
dlib copied to clipboard

Face Recognition on D-Lib

Open praveenlovely opened this issue 10 years ago • 7 comments

Hi Dr.Davis, Will we be able to generate a score using D-Lib? Can we directly use your classifier which has already been trained under several images as a probe to generate scores with test images?

praveenlovely avatar Aug 09 '16 20:08 praveenlovely

The detection_confidence field of the full_detection (see http://dlib.net/dlib/image_processing/object_detector_abstract.h.html#full_detection) gives the detection score.

davisking avatar Aug 09 '16 20:08 davisking

Impressive! Thank you! Do you have a Python version for the same?

praveenlovely avatar Aug 09 '16 20:08 praveenlovely

This is covered in the example program: http://dlib.net/face_detector.py.html

davisking avatar Aug 09 '16 20:08 davisking

I meant, if you have a python version for the score program

praveenlovely avatar Aug 09 '16 20:08 praveenlovely

You mean the score of each face detection?

davisking avatar Aug 09 '16 20:08 davisking

Yes, I would like to generate a score for every face detection. So that I could run it to find TP TN, FP and FN.

praveenlovely avatar Aug 09 '16 20:08 praveenlovely

Yes, that's in the example program.

davisking avatar Aug 09 '16 20:08 davisking