Asked on Super User by joshua thomas, 2 years ago. No reply there for at least a week.
cannot access USB webcam within Raspbian OS in a VM
I have been trying to get some code that I got from github to run but I keep getting the error cannot open camera by Index.I am using opencv.I am running raspbian os on a vm. my webcam shows up on lsusb, but I cannot take pictures with it my webcam is a logitech c270 . I am on vbox and I have webcam passthrough aswellas usb device on. running fswebcam gives the following error fswebcam test_image.jpg --- Opening /dev/video0... Trying source module v4l2... /dev/video0 opened. No input was specified, using the first. Adjusting resolution from 384x288 to 352x288. --- Capturing frame... Timed out
This question is one of 1 report of the same problem:
cannot access USB webcam within Raspbian OS in a VM
Nobody has answered it yet, here or anywhere.
Related problems
Question by joshua thomas on Super User, licensed CC BY-SA. We show a short excerpt and link to the original thread as credit.