Using a USB webcam (with virtualbox) Introduction Making a usb webcam work in Linux AND virtualbox is not as easy as it sounds.
install opencv for python
sudo apt update sudo apt install python3-opencv # may be done already depending on what you installed.
install uvc stuff.
sudo apt update sudo apt install -y libuvc-dev guvcview cheese v4l-utils # sudo apt install uvccapture uvcdynctrl try guvcview or cheese to see if you can see video output(may need to install):
getting cv_bridge working with python 3 is less straightforward. you need to recompile cv_bridge locally.
I am a Robotics Researcher, director of the IDEAlab, and Assistant Professor in the Ira A.