align_shape_with_bounding_box¶
-
menpofit.fitter.
align_shape_with_bounding_box
(shape, bounding_box, alignment_transform_cls=<class 'menpo.transform.homogeneous.similarity.AlignmentSimilarity'>, **kwargs)[source]¶ Aligns the provided shape with the bounding box using a particular alignment transform.
Parameters: - shape (menpo.shape.PointCloud) – The shape instance used in the alignment.
- bounding_box (menpo.shape.PointDirectedGraph) – The bounding box instance used in the alignment.
- alignment_transform_cls (menpo.transform.Alignment, optional) – The class of the alignment transform used to perform the alignment.
Returns: noisy_shape (menpo.shape.PointCloud) – The noisy shape