No description
- Python 99.7%
- Shell 0.3%
| bin | ||
| services | ||
| .gitignore | ||
| .gitmodules | ||
| face_detection.py | ||
| face_detection_yunet.onnx | ||
| in_range_detect.py | ||
| main.py | ||
| mp_persondet.py | ||
| person_detection_mediapipe_2023mar.onnx | ||
| README.md | ||
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.