TunAugmentor.utils module
- TunAugmentor.utils.export(images, path, base='img', **kwargs)
Export images from a list of numpy arrays to a path.
- Parameters:
path(str): path to export to. base(str): base name for the image logging_enabled(bool), optional: enables logging
- Returns:
images (List[numpy.ndarray]): list containing the single image.
- TunAugmentor.utils.read_image(path)
Reads a single image from a path and appends it to a list
- Parameters:
path(str) :path to images folder
- Returns:
images (List[numpy.ndarray]): list containing the single image.
- TunAugmentor.utils.read_images(path)
Reads a list of jpg images from a path
- Parameters:
path(str) :path to images folder
- Returns:
images (List[numpy.ndarray]): list of numpy arrays containing the images