photogrammetry_importer.utility.os_utility
Module Contents
- photogrammetry_importer.utility.os_utility.get_file_paths_in_dir(idp, ext=None, target_str_or_list=None, ignore_str_or_list=None, base_name_only=False, relative_path_only=False, without_ext=False, sort_result=True, natural_sorting=False, recursive=False)
Return the paths of the files in the given directory.
The parameter
extcan be a list of extensions or a single extension (e.g. [.jpg,.png] or.jpg).
- photogrammetry_importer.utility.os_utility.get_image_file_paths_in_dir(idp, base_name_only=False, relative_path_only=False, without_ext=False, sort_result=True, recursive=True, target_str_or_list=None)
Return the paths of the images in the given directory.
- photogrammetry_importer.utility.os_utility.get_subdirs(idp, base_name_only=False, sort_result=True, natural_sorting=False, recursive=False)
Return the paths of the subdirectories in the given directory.