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

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

(USB Camera)
(USB Camera)
 
Line 21: Line 21:
 
Capture image
 
Capture image
  
  fswebcam /dev/video0 ./test.png
+
  fswebcam -d /dev/video0 ./test.png
  
 
=== Troubleshooting ===
 
=== Troubleshooting ===
  
 
* Post your issue on the forum: https://forum.radxa.com/c/rockpiS
 
* Post your issue on the forum: https://forum.radxa.com/c/rockpiS

Latest revision as of 09:12, 23 November 2021

    ROCK Pi S >  Hardware >  Camera module

USB Camera

Update kernel to version 4.4.143-41-rockchip or newer.

root@rockpis:~# apt-get install -y linux-4.4-rock-pi-s-latest

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 -d /dev/video0 ./test.png

Troubleshooting