Getting error while giving imshow, imwrite commands.
Hi, I am new to programming. I am getting this error. Please help! (I am using enthought canopy). I installed opencv with great difficulty in getting it to work. Now I can import cv2 but further commands seems to be not working. Guess it has something to do with the path, any solution?
1 import cv2 2 img=cv2.imread('lena.jpg') ----> 3 cv2.imwrite('djfkjdf',img) 4 cv2.imshow(img)
error: ........\opencv\modules\highgui\src\loadsave.cpp:275: error: (-2) could not find a writer for the specified extension in function cv::imwrite_