imm_58_points

menpo.landmark.labels.imm_58_points(landmark_group)[source]

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

The label applied to this new manager will be ‘imm_58_points’.

The semantic labels applied are as follows:

  • chin
  • leye
  • reye
  • leyebrow
  • reyebrow
  • mouth
  • nose
Parameters:

landmark_group: :class:`menpo.landmark.base.LandmarkGroup` :

The landmark group to apply semantic labels to.

Returns:

landmark_group: :class:`menpo.landmark.base.LandmarkGroup` :

New landmark group with group label ‘imm_58_points’

Raises:

:class:`menpo.landmark.exceptions.LabellingError` :

If the given landmark group contains less than 58 points

References

[R8]http://www2.imm.dtu.dk/~aam/