import_landmark_file

menpo.io.import_landmark_file(filepath, asset=None)[source]

Single landmark file importer.

If a landmark file is found at filepath, returns a PointCloud or LabelledPointUndirectedGraph depending on the format of the landmark file.

Parameters:filepath (pathlib.Path or str) – A relative or absolute filepath to an landmark file.
Returns:landmarks (LabelledPointUndirectedGraph or PointCloud) – The shape that the file format represents.