Camera Toolkit
Capture photos, record video clips, and start MJPEG streams usinglibcamera-still and libcamera-vid. Works with Pi Camera Module 3 on Pi 5 and earlier models.
Zero native dependencies — shells out to system commands.
Quick Start
Config
Default image/video width in pixels.
Default image/video height in pixels.
Image rotation in degrees: 0, 90, 180, or 270.
Directory for saved images and videos.
Image format:
"jpg" or "png".Tools
| Tool | Description |
|---|---|
camera_capture | Take a photo (file path or base64) |
camera_record | Record a video clip (up to 60 seconds) |
camera_stream_url | Start an MJPEG stream on a local port |
Prerequisites
Make surelibcamera-apps is installed on your Pi: