Landmarkable

class menpo.landmark.base.Landmarkable[source]

Bases: object

Abstract interface for object that can have landmarks attached to them. Landmarkable objects have a public dictionary of landmarks which are managed by a LandmarkManager. This means that different sets of landmarks can be attached to the same object. Landmarks can be N-dimensional and are expected to be some subclass of PointCloud. These landmarks are wrapped inside a LandmarkGroup object that performs useful tasks like label filtering and viewing.

n_landmark_groups[source]

The number of landmark groups on this object.

Type:int