annotate module

class annotate.FaceAnnotate(IMG, BOX, IS_FILE)[source]

Bases: object

Face annotation with 68 landmarks

Parameters:
  • IMG (numpy array) – Numpy array of the image to be processed for landmarks
  • BOX (typle) – Bounding box of the detected face
get_ldmk()[source]

Get landmark coordinates for detected face

Returns:ldmk – Numpy array containing the coordinates of the landmarks
Return type:numpy array