import cv2 
import numpy as np 
 
img1=cv2.imread('D:/4.png') 
img2=cv2.imread('D:/90.png')
dst = cv2.addWeighted(img1,0.7,img2,0.3,0) 
 
cv2.imshow('dst',dst)
cv2.waitKey(0) 
cv2.destroyAllWindows()