Skip to content

Feature: Added Raspberry Pi 5 (Libcamera) support via new plugin #651

@RandomSnail

Description

@RandomSnail

Hello Pibooth,

I've been setting up Pibooth on a Raspberry Pi 5 running the latest OS (Trixie) with python3.13 and a picam 3, i ran into compatibility issues with the new camera stack (libcamera) and the Wayland display server.

Since the legacy camera stack is gone on Pi 5, the existing rpi and cv2 drivers don't work out of the box.

I have developed and packaged a working plugin that bridges Pibooth to the modern rpicam-apps suite. It is stable and functional, may need tweaking.

Hybrid Driver. Uses rpicam-vid streaming MJPEG to stdout for 30fps video preview (can be changed), then switches to rpicam-still for high-res capture.
Used threading to "pre-warm" the camera during the menu screen, eliminating the black screen delay.
Pillow 10+ Fixes Include compatibility patches for the removed ANTIALIAS and getsize methods in newer Pillow versions (standard on Python 3.11+).
Wayland Native: Works flawlessly on the new Pi desktop environment without X11 hacks.

The plugin is packaged and released here:
https://github.com/steveharris87/pibooth-libcamera-pi5

I would love to contribute this back to the project.

Thanks for the great software!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions