Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import cv2
- import matplotlib.pyplot as plt
- img1 = cv2.imread('imagescolombia_city.jpg')
- img2 = cv2.imread('imagescolombia_city_2.jpg')
- #img = img1 + img2
- #img = cv2.add(img1,img2)
- abc = cv2.addWeighted(img1,0.7,img2,0.3,55)
- plt.imshow(abc)
- plt.show()
- plt.title("Weighted"); plt.axes()
- plt.waitforbuttonpress()
Add Comment
Please, Sign In to add comment