imagecluster.io.get_files

imagecluster.io.get_files(imagedir, ext='jpg|jpeg|bmp|png')[source]

Return all file names with extension matching the regex ext from dir imagedir.

Parameters:

imagedir : str

ext : str

regex

Returns:

list

list of file names