olaf.image_verification.data_loader

Classes

DataLoader

Module Contents

class olaf.image_verification.data_loader.DataLoader(root, folder_path, num_samples, includes)

Bases: olaf.utils.data_handler.DataHandler

Parameters:
  • root (tkinter.Tk)

  • folder_path (pathlib.Path)

  • num_samples (int)

  • includes (tuple)

root
label
current_photo_index = 0
photos
button_frame
load_photos()

Load the images from the folder and sort them naturally and returns them in a list. :returns: list of pathlib.Path objects of the images

Return type:

list