imm_face

menpo.landmark.imm_face(landmark_group)[source]

Apply the 58 point semantic labels from the IMM dataset to the landmarks in the given landmark group.

The group label will be imm_face.

The semantic labels applied are as follows:

  • jaw
  • left_eye
  • right_eye
  • left_eyebrow
  • right_eyebrow
  • mouth
  • nose
Parameters:landmark_group (LandmarkGroup) – The landmark group to apply semantic labels to.
Returns:
  • group (str) – The group label: imm_face
  • landmark_group (LandmarkGroup) – New landmark group
Raises:error (LabellingError) – If the given landmark group contains less than 58 points