ibug_close_eye_points

menpo.landmark.ibug_close_eye_points(landmark_group)[source]

Apply the ibug’s “standard” close eye semantic labels to the landmarks in the given landmark group.

The group label will be ibug_close_eye.

The semantic labels applied are as follows:

  • upper_eyelid
  • lower_eyelid
Parameters:landmark_group (LandmarkGroup) – The landmark group to apply semantic labels to.
Returns:
  • group (str) – The group label: ibug_close_eye
  • landmark_group (LandmarkGroup) – New landmark group.
Raises:error (LabellingError) – If the given landmark group contains less than 17 points