how should I put the picture in center?
Instagram collage
Hey @debjanihome, to place the center image, you need to use slicing, suppose ‘ans’ is your final array, and img5 is the image for center, than use,
img5 = cv2.resize(img5, (100,100))
ans[155:275,155:275,:] = 0
ans[165:265,165:265,:] = img5[:,:,:]
Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section.