TadasBaltrusaitis / OpenFace

OpenFace – a state-of-the art tool intended for facial landmark detection, head pose estimation, facial action unit recognition, and eye-gaze estimation.
Other
6.93k stars 1.85k forks source link

How to get face bounding boxes #808

Open shehabk opened 4 years ago

shehabk commented 4 years ago

Hello, I am using FaceLandmarkImg to extract features from image containing multiple faces. As I looked at the output csv file format there is no bounding box information. How can I get the bounding boxes of all detected faces ?

TadasBaltrusaitis commented 4 years ago

You can take the minimum/maximum value of x and y 2D facial landmarks to compute the bounding boxes.