opencv小笔记(TypeError: unsupported operand type(s) for +: ‘NoneType‘ and ‘NoneType‘)
今天在学习OpenCV的算数操作时,进行图像加法时,运行了下列程序importnumpyasnpimportcv2ascvimportmatplotlib.pyplotasplt#1读取图像img1=cv.imread("D://02.cs//view.jpg")img2=cv.imread("D://02.cs//rain.jpg")#2加法操作img3=cv.add(img1,img2)#cv