Rock3/hardware/camera/
USB Camera
Install tool fswebcam
root@rockpis:~# apt-get install -y fswebcam
Plug USB camera in, there shall be video devices.
root@rockpis:~# ls /dev/video* /dev/video0 /dev/video1
Capture image
fswebcam /dev/video0 ./test.png