opencv video capture of USB device without drivers
Alright. So I've got a camera without working windows drivers. I'd like to use VideoCapture to access the camera and see if I can access it with opencv. However, the camera is not identified as camera from Windows. It is listed as "usb composite device".
The hardware id is something like USB\VID_XXXX&PID_YYYY.
The "default" way to access a camera stream in opencv is not working.
int main(int argc, char** argv)
{
VideoCapture cap(0);
if (!cap.isOpened()) {
cerr << "ERROR! Unable to open camera\n";
return -1;
}
}
Is there any way to try to get opencv access the cam? I can also install winusb drivers for the camera if that helps.
you need drivers, that work with directshow.
There surely must be a way to access it without on low-level using opencv?
given, you can buy a cam with working drivers for < 10€, you must value your time spent on that very low ;(
Many USB cameras will operate using the generic USB Video Class device driver - in a generic way, with no unique/proprietary/optimized feature support. Since OpenCV requires and expects camera drivers, this isn't actually an opencv question. HTH.