raspberrypi/picamera2
New libcamera based python library
What it solves
Picamera2 provides a modern, easy-to-use Python interface for controlling cameras on Raspberry Pi devices. It serves as the official replacement for the older, legacy camera stack, allowing developers to interact with camera hardware using the current libcamera-based system.
How it works
It acts as a bridge between your Python code and the underlying libcamera libraries. By installing the package on supported Raspberry Pi OS versions (Bullseye or later), you gain access to a set of Python commands that manage camera input, processing, and output. It is designed to be stable, with a strong focus on maintaining consistent behavior and avoiding breaking changes to its API.
Who it’s for
This tool is for developers and hobbyists working with Raspberry Pi hardware who need to capture images or video. It is suitable for anyone moving from the legacy camera stack to the modern libcamera framework on current Raspberry Pi OS releases.
Highlights
- Simple Python API for camera control.
- Built on the modern libcamera framework.
- Pre-installed on standard Raspberry Pi OS images.
- Compatible with all Raspberry Pi boards, including the Pi Zero.
- Extensive documentation and a dedicated repository for examples and automated tests.
Related
- Project
- Project
- Project
- Project