i am not able to put the pic in center… please tell me how to do it
secondly
also tell how to add borders
Instagram collage challenge
Hey @shlok.sharma3, a simple trick can be used to do both these things. Just see the final shape of the image you want in the end(after adding all the borders and the images in the collage). Then you can create a complete black image of this shape. Then use slicing to overlap the images over the complete black image. The black image or canvas can be created like this :
final_image = np.zeros(h,w,c)
Now you can use slicing to overlap the images. In this way padding will be done by itself and the center image can also be placed easily.
I hope this clears your doubt !
Please mark the doubt as resolved in your doubts section ! 
Happy Learning ! 
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.