Skip to main content
. 2023 Aug 28;18(1):20220689. doi: 10.1515/biol-2022-0689
Algorithm 1: Algorithm to obtain resized clipped images
Input: f1 = path_to_dataset
Output: resized_image
For all_images in f1 do
 box = clipping_size
 image_crop = file_i.crop(box)
 resized_image = image_crop.resize((512,512))
 resized_image.save(file_i)
End