menpofit.checks.check_landmark_trilist(image, transform, group=None)[source]

Checks that the provided image has a triangulated shape (thus an isntance of menpo.shape.TriMesh) and the transform is menpo.transform.PiecewiseAffine

  • image (menpo.image.Image or subclass) – The input image.

  • transform (menpo.transform.PiecewiseAffine) – The transform object.

  • group (str or None, optional) – The group of the shape to check.


Warning – The given images do not have an explicit triangulation applied. A Delaunay Triangulation will be computed and used for warping. This may be suboptimal and cause warping artifacts.