face_dlib_descriptors_extractor - Extended-Object-Detection-ROS/wiki_english GitHub Wiki

A utility for creating a file with face vectors for the face identification attribute using the dlib library.

Launch format:

rosrun extended_object_detection face_dlib_descriptors_extractor path_to_face_dir path_to_output_file path_to_shape_predictor path_to_recognition_model

It does not require running ros master.

The utility writes information about each file in the specified directory to the console. If the face in the image is correctly recognized, a message will be displayed

[Face_dlib] calculating face descriptors for Moscowsky.jpg...

If no face was recognized in the image, a message will be displayed

[Face_dlib] file Moscowsky.jpg has no faces!

If there are more than one face then

[Face_dlib] file Moscowsky.jpg has more than one faces!

In both cases, this label will not be added to the database.