menpofit.checks.check_trilist(shape, transform)[source]

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

  • shape (menpo.shape.TriMesh) – The input shape (usually the reference/mean shape of a model).

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


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.