使用C:Program FilesOracleVirtualBoxVBoxManage.exe工具加载摄像头
1,显示可用摄像头
C:Program FilesOracleVirtualBox>VBoxManage list webcams
Video Input Devices: 1 .1 "Integrated Webcam" \?usb#vid_0c45&pid_671e&mi_00#6&20843a0f&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}global
2,显示可用虚拟机
C:Program FilesOracleVirtualBox>VBoxManage list vms
"Ubuntu" {c43e6950-1ded-46d5-b592-35cb7ccb4a8b}
3,加载WEBCAM
C:Program FilesOracleVirtualBox>VBoxManage controlvm "Ubuntu" webcam attach ”\?usb#vid_0c45&pid_671e&mi_00#6&20843a0f&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}global“
4,虚拟机中查看摄像头
ls /dev/video0
5,打开摄像头
cheese(如果没有,需要安装)