l_img = cv2.imread('larger_image.jpg')
x_offset = y_offset = 50
l_img[y_offset:y_offset + s_img.shape[0], x_offset:x_offset + s_img.shape[1]
    ] = s_img
overlay a smaller image on a larger image python OpenCv