Endpreise in CHF – Versand inklusive Schweizer Unternehmen · 076 792 63 50 (WhatsApp/SMS)
Kurse › Raspberry Pi › Stufe 21
Raspberry Pi · Intermediate · Stufe 21 / 40

picamera2 and libcamera in Depth

Control the camera pipeline precisely and build recording and streaming systems with picamera2.

Intermediate freischalten · CHF 19.90 Stufen 14–26, einmalig, kein Abo

10 Lektionen in dieser Stufe

  1. The libcamera Pipeline from Sensor to Frame
    Trace an image from the sensor through the ISP to your program. · Lab: Capture a raw frame and a processed frame of the same scene and compare their metadata.
  2. Camera Configurations: Main, Lores and Raw Streams
    Configure several simultaneous streams for different consumers. · Lab: Configure a full-resolution main stream plus a small lores stream and save one frame of each.
  3. Manual Exposure, Gain and Colour Controls
    Set and lock camera controls for repeatable images. · Lab: Lock exposure time, analogue gain and colour gains and photograph a scene under changing light.
  4. Capturing Frames as NumPy Arrays
    Access pixel data in memory and understand array shape and type. · Lab: Capture an array, print its shape, crop a region and compute its mean brightness.
  5. H.264 Encoding: Hardware on Pi 4, Software on Pi 5
    Choose encoder, bitrate and resolution for your board's capabilities. · Lab: Record the same scene at three bitrates and note CPU load and file size on your model.
  6. Pre-Roll Recording with a Circular Buffer
    Keep the last seconds in memory and save them when an event fires. · Lab: Record clips that start five seconds before a PIR trigger.
  7. MJPEG Streaming to a Browser
    Serve live frames over HTTP with a simple Python server. · Lab: Serve a low-latency MJPEG stream and embed it in your Flask dashboard.
  8. Low-Latency RTSP and WebRTC with a Media Server
    Publish an encoded stream to a media server for many viewers. · Lab: Feed H.264 into a media server container and view it in a player and a browser.
  9. Night Vision with NoIR Cameras and IR Illumination
    Capture in darkness and switch settings between day and night. · Lab: Light a dark room with an IR illuminator and switch profiles by measured brightness.
  10. Two Cameras at Once on Pi 5
    Run both camera connectors and synchronise captures. · Lab: Capture a simultaneous pair from two cameras and measure the time offset.

Abschlussprojekt

An event camera that records clips including the seconds before the trigger, serves a live browser stream and works day and night.

Teile für diese Stufe

  • 1 × Raspberry Pi 5 set from Level 1 (Pi 4 also works)
  • 1 × Camera module with autofocus (Camera Module 3 type)
  • 1 × NoIR camera module
  • 1 × Infrared LED illuminator board
  • 1 × Second camera ribbon cable 22-pin for Pi 5
  • 1 × PIR motion sensor module
  • 1 × Camera mount or tripod

In jeder Lektion legst du die passenden Teile direkt in den Warenkorb. Raspberry Pi →

Voraussetzung: Levels 9, 15 and 17: camera basics, services and web applications.

🔒 Sichere Zahlung · 3D Secure 🔐 SSL-verschlüsselt 🚚 Versand in die ganze Schweiz 🇨🇭 Schweizer Unternehmen