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

Rock5/hardware/camera/

< Rock5‎ | hardware
Revision as of 06:22, 8 September 2022 by Stephen (Talk | contribs)

    ROCK 5 >  Hardware >  Camera module

MIPI Camera

Radxa Camera 4K

Hardware connection

Rock-5b-radxa-camera-4k.jpeg

Software configuration

Add one line to file /boot/config.txt. Like this.

dtoverlay=rock-5ab-camera-imx415

And then execute command.

update_extlinux.sh

Reboot the device, you would see devices /dev/video0 to /dev/video19 are created.

Test command.

gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 ! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080 ! jpegenc ! multifilesink location=%d.jpg

You would see generated pictures.

USB Camera

Troubleshooting