Files
github-actions[bot] 0b2c431d3a sunnypilot v2026.09.14-4885
version: sunnypilot v2026.003.000 (dev)
date: 2026-09-14T15:43:39
master commit: a5f44653d7
2026-09-14 15:43:39 +00:00
..
2026-09-14 15:43:39 +00:00
2026-09-14 15:43:39 +00:00

Face detection demo

Run simple face detection model on video stream from driver camera of comma three.

This example streams video frames, runs face-detection model and displays window with live detection results (bounding boxes).

Install the example-only display/detection dependencies first:

python3 -m pip install "opencv-python<5" pygame av
# pass the ip address of comma three, if running remotely (by default localhost)
python3 face_detection.py [--host comma-ip-address] [--port 5001] [--camera driver]