How to Combine Images?

https://drive.google.com/open?id=1Uj0Iho9nZyXtQHMHzsSnKKxmN8FzFfPm

Hey @Akshit2204,

you need to add borders to your image and then create a 430*430 size black image and then follow these steps:

  1. Let’s name your black image A. This image is 430*430 3D matrix.
  2. So you need to overlay/substitute your images or crops you created Example: rgbim1rs on A
    A[y:y+h,x:x+w]=rgbim1rs
  3. Here your y=0,h=220 and x=0,x=220.
  4. You may do this with other images as well

I had made a few changes to your code you may have a look.
I hope it helps, you may ask if you have any doubts.

I am not able to see the changes you have made. Please paste here

https://colab.research.google.com/drive/1NJjGBbLO1eW5FHRQDlD2nzxb_3sk0Bzt

1 Like

Thanks for your kind help

1 Like

Your Welcome
Happy Learning!!