WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libcamera  (Read 1153 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
libcamera
« on: October 17, 2022, 05:39:43 AM »
libcamera and libcamera-apps added to the armv* repos - note that piCore-13.1 is required.

Add the following to config.txt: to enable the camera:
Code: [Select]
camera_auto_detect=0
dtoverlay=imx219

Load libcamera-apps and then:
Code: [Select]
sudo chown tc:staff /dev/media*
sudo chown tc:staff /dev/dma_heap/*

Check things are OK with:
Code: [Select]
libcamera-hello -n
libcamera-still -r -n -o test.jpg

* tested with an RPi3
* RPi camera v2.1 used - a different dtoverlay will be required for other cameras
* there is a fix for /dev/media permissions in tc git