I have camera from aptina image sensor , I want to access this camera using opencv , I wrote a simple python code to display the video, it works with default camera . I disabled default camera and try to run for the camera but getting the error,
Error File "C:\Python32Bit\video.py, lime 89, in cv2.imshow('images',frame) eror :........\opencv\modules\hihggui\src\window.cpp:error:(-215) size.width>0 && size.height>0 in function cv::imshow
I changed value in cv2.VideoCapture(0) to 1, 2, 3 but same error and also I tried all the optional list in option as cv2.VideoCapture(0+cv2.CAP_DSHOW) but no use
I noticed there is only one camera under "Imaging Devices " which is my default camera, my third party camera is coming under "Universal Serial Bus Controller " as "aptina Demo" , so is there any thing to do with this