import_landmark_files

menpo.io.base.import_landmark_files(pattern, max_landmarks=None, verbose=False)[source]

Multiple landmark file import generator.

Note that this is a generator function.

Parameters:

pattern : str

The glob path pattern to search for images.

max_landmark_files : positive int, optional

If not None, only import the first max_landmark_files found. Else, import all.

verbose : bool, optional

If True progress of the importing will be dynamically reported.

Raises:

ValueError :

If no landmarks are found at the provided glob.