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 aPointCloud
orLabelledPointUndirectedGraph
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
orPointCloud
) – The shape that the file format represents.