Zero/hardware/camera/
Radxa Zero > Hardware > Camera module
USB Camera
Without MIPI CSI interface you can only use USB camera on Radxa Zero. In this guide we will show you some basic usage with USB camera.
1. Install fswebcam:
root@zero:~# apt-get install -y fswebcam
2. Plug USB camera into Radxa Zero or a connected USB hub. If the camera is supported you can see a new device shown up in /dev folder:
root@zero:~# ls /dev/video* /dev/video0 /dev/video1 /dev/video2
3. Capture still image:
root@zero:~# fswebcam /dev/video2 /tmp/test.png
4. Check image properties:
root@zero:~# file /tmp/test.png /tmp/test.png: JPEG image data, JFIF standard 1.01, resolution (DPI), density 96x96, segment length 16, comment: "CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 255", baseline, precision 8, 352x288, components 3