Python API for bob.ip.dlib¶
-
class
bob.ip.dlib.
AlignDLib
[source]¶ Bases:
object
Use dlib’s landmark estimation to align faces.
The alignment preprocess faces for input into a neural network. Faces are resized to the same size (such as 96x96) and transformed to make landmarks (such as the eyes and nose) appear at the same location on every image.
Code copied from here https://raw.githubusercontent.com/cmusatyalab/openface/master/openface/align_dlib.py