Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Zero/hardware/camera/"

< Zero‎ | hardware
(Created page with "{{Zero_header}} {{Languages|zero/hardware/camera}} Radxa Zero > Hardware > Camera module === USB Camera === I...")
 
Line 26: Line 26:
 
=== Troubleshooting ===
 
=== Troubleshooting ===
  
* Post your issue on the forum: https://forum.radxa.com/c/rock3
+
* Post your issue on the forum: https://forum.radxa.com/c/zero

Revision as of 07:23, 25 October 2021

    Radxa Zero >  Hardware >  Camera module

USB Camera

Install tool fswebcam

root@zero:~# apt-get install -y fswebcam

Plug USB camera in, there shall be video devices.

root@zero:~# ls /dev/video*
/dev/video0  /dev/video1  /dev/video2

Capture image

fswebcam /dev/video2 /tmp/test.png

Check image

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

Troubleshooting