get_valid_triples module¶
-
get_valid_triples.files= []¶
-
get_valid_triples.get_files(path, name_contains, ignore, use_full_path=False)¶
-
get_valid_triples.get_valid_triples(root, name_contains='.bmp', ignore_if_name_contains='')¶ List the files from which all three images exist.
Unfortunately not all images exist, there are some single images. We don’t use them for now but keep it in mind if we need more images later.
Args: root: root directory of images Return: valid_triples: list of valid file names
-
get_valid_triples.rek_get_files(path, name_contains, ignore, root=None)¶