import cv2 
img=cv2.imread("images/images/poster.jpg")
rocket=img[120:360, 400:500]
img[0:240, 500:600]=rocket
text="I love coding"
cv2.putText(img, text, (20, 200), fontFace=cv2.FONT_HERSHEY_COMPLEX, fontScale=2, color=(0, 0, 255))
cv2.imshow("rocketimage", img)
cv2.waitKey(0)