INSTAGRAM COLLAGE CENTRE IMAGE ISSUE

How do I get the final image in centre? And how will the borders be created?

Hey @prakhar.kamal.met17, you just need to use the slicing technique using numpy arrays and you can easily get the centre image overlapping over all the four images. Borders can be created either by using np.pad() function or by taking a complete black images of bigger size and then overlapping the other images over them.
Try to do it once. If you feel you have given your best nd are still stuck, I’ll help you out with the code.

I hope this clears your doubt ! :+1:
Happy Learning ! :slightly_smiling_face:

1 Like

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.