ibug_open_eye

menpo.landmark.ibug_open_eye(landmark_group)[source]

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

The group label will be ibug_open_eye.

The semantic labels applied are as follows:

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