1 | initial version |
I didn't test it. I don't have colour images on it. So, you can try this in below.
import cv2
# Read Image1
mountain = cv2.imread('green.jpg, 1)
# Read image2
dog = cv2.imread('yellow.jpg, 1)
# Blending the images with 0.3 and 0.7
img = cv2.addWeighted(mountain, 0.3, dog, 0.7, 0)
# Show the image
cv2.imshow('image', img)
# Wait for a key
cv2.waitKey(0)
# Distroy all the window open
cv2.distroyAllWindows()