alphablending

OpenCV Composting 2 images of differing size

OpenCV Composting 2 images of differing size Question: I need to alpha-blend 2 images that are not the same size. I’ve managed to get them to composite by resizing to the same size, so I’ve got part of the logic: import cv2 as cv def combine_two_color_images_composited(foreground_image, background_image): foreground = cv.resize(foreground_image, (400,400), interpolation=cv.INTER_CUBIC).copy() background = cv.resize(background_image, …

Total answers: 1