visualize_landmarkgroups

menpo.visualize.visualize_landmarkgroups(landmarkgroups, figure_size=(10, 8), style='coloured', browser_style='buttons')[source]

Widget that allows browsing through a list of LandmarkGroup (or subclass) objects.

The landmark groups can have a combination of different attributes, e.g. different labels, number of points etc. The widget has options tabs regarding the landmarks, the renderer (lines, markers, numbering, legend, figure, axes) and saving the figure to file.

Parameters:
  • landmarkgroups (list of LandmarkGroup or subclass) – The list of landmark groups to be visualized.
  • figure_size ((int, int), optional) – The initial size of the rendered figure.
  • style ({'coloured', 'minimal'}, optional) – If 'coloured', then the style of the widget will be coloured. If minimal, then the style is simple using black and white colours.
  • browser_style ({'buttons', 'slider'}, optional) – It defines whether the selector of the objects will have the form of plus/minus buttons or a slider.