opencv-python addWeighted() error - Sizes of input arguments do not match

Published: 5/10/2017
opencv-python addWeighted() error - Sizes of input arguments do not match
Source: STACKOVERFLOW.COM

I have a simple code to try out opencv image blending with addWeighted() function. It shows me the error which Sizes of input arguments do not match The following is my code import cv2 import numpy as np img1 = cv2.imread('/home/jianyepa/Downloads/gtr1.jpg') img2 = cv2.imread('/home/jianyepa/Downloads/r1.png') dst = cv2.addWeighted(img1,0.7,img2,0.3,0) cv2.imshow('dst', dst) cv2.waitkey(0) c

Read more
Related news
Comment