def prepare_preprocessing_image(preprocessed_path, original_path, pattern): filename_list = [filename for filename in os.listdir(original_path) if fnmatch.fnmatch(filename, pattern)] return ImageOrganizer.prepare_images(filename_list, original_path, preprocessed_path)
def prepare_preprocessing_image(excel_df, preprocessed_path, original_path, file_column_name): return ImageOrganizer.prepare_images(excel_df[file_column_name], original_path, preprocessed_path)