ibug_68_closed_mouth

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

Apply the ibug’s “standard” 68 point semantic labels (based on the original semantic labels of multiPIE) to the landmarks in the given landmark group - but ignore the 3 points that are coincident for a closed mouth. Therefore, there only 65 points are returned.

The label applied to this new group will be ‘ibug_68_closed_mouth’.

The semantic labels applied are as follows:

  • tri
Parameters:

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

The landmark group to apply semantic labels to.

Returns:

landmark_group : LandmarkGroup

New landmark manager with label ‘ibug_68_closed_mouth’

Raises:

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

If the given landmark group contains less than 65 points

References

[R4]http://www.multipie.org/