In the Menpo Project, we take an opinionated stance that visualization is a key part of generating research. Therefore, we tried to make the mental overhead of visualizing objects as low as possible.
We also took a strong step towards simple visualization by integrating some of our objects with visualization widgets for the Jupyter notebook. Remember that our widgets live on their own repository, called menpowidgets.
1. Visualizing Models
menpofit models provide functionalities for visualizing themselves. For example,
the AAM that we trained in the Training section can be visualized with an interactive widget as:
We can visualize only the multi-scale shape model as:
or the appearance models as:
The same visualization widgets can be found in other models, such as ATM, CLM etc.
2. Visualizing Fitting Result
The fitting result objects shown returned by the fitting methods in the Fitting section can be easily visualized. Specifically, the initial and final shapes can be rendered as:
Similarly, the shapes acquired at each iteration can be visualized as:
and the corresponding errors as:
Finally, a fitting result can also be analysed through an interactive widget as: