Extracted from https://github.com/davisking/dlib examples/faces directory