No description
  • Python 99.7%
  • Shell 0.3%
Find a file
2026-08-03 18:13:14 +02:00
bin just updating 2026-08-03 18:13:14 +02:00
services just updating 2026-08-03 18:13:14 +02:00
.gitignore uplaod project 2026-07-06 02:22:07 +02:00
.gitmodules uplaod project 2026-07-06 02:22:07 +02:00
face_detection.py uplaod project 2026-07-06 02:22:07 +02:00
face_detection_yunet.onnx uplaod project 2026-07-06 02:22:07 +02:00
in_range_detect.py uplaod project 2026-07-06 02:22:07 +02:00
main.py just updating 2026-08-03 18:13:14 +02:00
mp_persondet.py uplaod project 2026-07-06 02:22:07 +02:00
person_detection_mediapipe_2023mar.onnx uplaod project 2026-07-06 02:22:07 +02:00
README.md added readme 2026-07-06 02:36:07 +02:00

camera presence detection

A screensaver that is displayed or hidden by the presence of a face in front of the monitor.

Face detection

Using OpenCV a live feed from the webcam is taken and processed to recognize a face. If the face width and height is smaller than the constants set in the main.py or doesn't exist at all in the frame the screensaver is triggered. Vice-versa the screensaver is disabled if a face is close enough.

Screensaver

The screensaver is rather inefficient, but the easiest for me to deploy. It's just chromium browser windows being opened per cli. Since the web is already very versatile I thought this would be a way of achieving full screen displays without much trouble.