To proceed to execute the following algorithm, execute the script taking into account the main path which is the path where the images are stored
variable and path to modify:
path = Path("/gdrive/MyDrive/Colab/data/aumentadas_buenas") # Image folder path to include in collage
path name image that stores the collage:
ref_im = Image.open("/gdrive/MyDrive/Colab/fondo.jpg") # original image
once the execution is finished, you get the following.