Guest User

Untitled

a guest
Feb 17th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. import cv2
  2. import matplotlib.pyplot as plt
  3.  
  4. img1 = cv2.imread('imagescolombia_city.jpg')
  5. img2 = cv2.imread('imagescolombia_city_2.jpg')
  6.  
  7. #img = img1 + img2
  8. #img = cv2.add(img1,img2)
  9. abc = cv2.addWeighted(img1,0.7,img2,0.3,55)
  10.  
  11. plt.imshow(abc)
  12. plt.show()
  13. plt.title("Weighted"); plt.axes()
  14. plt.waitforbuttonpress()
Add Comment
Please, Sign In to add comment