PI

Picamera2

Python library for the Raspberry Pi camera with streaming support

Video Surveillance ★ 1.2k stars Medium setup BSD-2-Clause

Picamera2 is the official Python library for controlling Raspberry Pi cameras using the libcamera stack. It can be used to build self-hosted surveillance applications with live streaming, capture, and motion-based recording.

Key features

  • libcamera-based Pi camera control
  • MJPEG and H.264 streaming
  • Capture and recording
  • Scriptable in Python

Pros & cons

Strengths

  • Official and well-documented
  • Flexible for DIY systems

Trade-offs

  • Library, not a full NVR
  • Raspberry Pi specific

Picamera2 replaces

Compare Picamera2

25 head-to-head comparisons.

Similar video surveillance apps