mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-28 00:03:42 +08:00
0b2c431d3a
version: sunnypilot v2026.003.000 (dev)
date: 2026-09-14T15:43:39
master commit: a5f44653d7
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]