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 |