1 | initial version |
hi hitendra,
what's puzzling me here is , that videoInput is actually part of opencv, and should be used internally, when you try VideoCapture cap(0);
or similar.
can you try 2 things ?
specify dshow explicitly: VideoCapture cap(0 + CV_CAP_DSHOW);
see, if highgui was built with dshow support:
cout << cv::getBuildInformation() << endl;
(somewhere at the bottom should be : DirectShow: YES
)