goncalopp / opencv_face_detection_screen_lock

Periodically monitors a webcam and locks your computer if a face is not detected (i.e.: you left your seat)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This script periodically monitors a webcam and locks your computer if a face is not detected (i.e.: you left your seat).

Note this does not perform face *recognition*, which is a entirely different task.

The "xscreensaver" program is used to do the locking, but that can easily be adapted.

Dependencies:
 - OpenCV and its python bindings (python-opencv in debian and derivatives)

About

Periodically monitors a webcam and locks your computer if a face is not detected (i.e.: you left your seat)


Languages

Language:Python 100.0%