We have wrapped the simple libcamera python library.
It allows you to access libcamera through python code, and realize tasks such as turning on the camera, controlling the camera, and turning off the camera.
In addition, we have also written a simple libcamera C++ example.
Through this example, you can quickly run the camera, and you can view the example source code to understand the specific process of libcamera operation.
Python
Download libcamera python library URL
Note
Our wrapped libcamera python library is about to retire. Full support for Picamera2.
We are about to release the libcamera package that supports Picamera2.
Picamera2 requires Raspberry Pi system version: bullseye, kernel version: >=5.10.92. We recommend users to use the latest Raspberry Pi system.
C++
libcamera_cpp_demo-master.zip (1.7 MB)