LandmarkViewer¶
- class menpo.visualize.base.LandmarkViewer(figure_id, new_figure, group_label, pointcloud, labels_to_masks, target)[source]¶
Bases: object
Base Landmark viewer that abstracts away dimensionality
Parameters: figure_id : object
A figure id. Could be any valid object that identifies a figure in a given framework (string, int, etc)
new_figure : bool
Whether the rendering engine should create a new figure.
group_label : string
The main label of the landmark set.
pointcloud : PointCloud
The pointclouds representing the landmarks.
labels_to_masks : dict(string, ndarray)
A dictionary of labels to masks into the pointcloud that represent which points belong to the given label.
target : Landmarkable
The parent shape that we are drawing the landmarks for.