Hey everyone,
I have created a sample app to showcase using libcamera-apps
on balenaOS. You can find it here: GitHub - balena-io-playground/libcamera-apps: Example repo to showcase Raspberry Pi's new libcamera stack on balenaOS
-
udev
is required to get the camera to be properly detected. otherwise the apps fail with :No cameras available!
The maintainers of the app were very helpful in this finding. You can see the issue here: [BUG] libcamera apps cannot detect camera(imx219) when running in a docker container using balenaOS · Issue #270 · raspberrypi/libcamera-apps · GitHub . -
the sample app simply lists the connected camera
-
it is using
libcamera-apps-lite
so there are no bindings for x11 and qt etc. you can change tolibcamera-apps
and add a display server like GitHub - balenablocks/xserver: A simple X11 server block . there is also possiblity to display via drm -
i would suggest using latest release for Pi4: 2.94.4
let us know how it goes.