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

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

(USB Camera)
Line 14: Line 14:
  
 
=== USB Camera ===
 
=== USB Camera ===
 +
Update kernel to version 4.4.154-115-rockchip or newer.
  
 +
root@rockpi4:~# apt install linux-4.4-rock-pi-4-latest
 +
 +
Install tool fswebcam
 +
 +
root@rockpi4:~# apt-get install -y fswebcam
 +
 +
Plug USB camera in, there shall be video devices.
 +
 +
root@rockpi4:~# ls /dev/video*
 +
/dev/video4  /dev/video5
 +
 +
Capture image
 +
 +
fswebcam -d /dev/video4 ./test.png
  
 
=== Troubleshooting ===
 
=== Troubleshooting ===
  
 
* Post your issue on the forum: https://forum.radxa.com/c/rockpi4
 
* Post your issue on the forum: https://forum.radxa.com/c/rockpi4

Revision as of 09:18, 23 November 2021

    ROCK Pi 4 >  Hardware >  Camera module

MIPI CSI Camera

ROCK Pi 4 supports The Raspberry Pi Camera Module v2 now. And Raspberry pi official camera module v1-OV5647 is in testing.

Test:

You must connect the display on ROCK Pi 4 before testing the camera module.

   test_camera-rkisp1.sh

USB Camera

Update kernel to version 4.4.154-115-rockchip or newer.

root@rockpi4:~# apt install linux-4.4-rock-pi-4-latest

Install tool fswebcam

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

Plug USB camera in, there shall be video devices.

root@rockpi4:~# ls /dev/video*
/dev/video4  /dev/video5

Capture image

fswebcam -d /dev/video4 ./test.png

Troubleshooting