oscarholst / facepalm

PoC Face Proximity Screen Lock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

facepalm

Proof of concept

Quick install below. Disclaimer: You should always inspect code before run and use at your own risk!

curl https://raw.githubusercontent.com/oscarholst/facepalm/main/install.sh | sudo bash

Background: The optional bluetooth proximity lock in Windows is a good idea but not good enough.

Idea: Run as a background process every minute or so. If no face is detected within 15 seconds of run. Activate built-in screenlock.

This has only been tested on a machine running Ubuntu 23.10, with a Logitech C922 Pro Stream Webcam and running python version 3.

Also, the standard nerd like myself is not the ones in need of a utility like this. Will most likely be beneficial running on a Windows machine for the average business user.

This does not do any facial recognition, anyone in front of the webcam will keep the computer unlocked with this poc.

Also, a potential issue is obviously if the webcam is already in use by another program/videochat etc, if so, it will most likely not work as intended.

But again, this was just a crazy idea and once again, this is only a proof of concept.

Why name it facepalm? Because the standard nerd will unfortunately but surely facepalm every time an unlocked and unsupervised PC is spotted at the office! Also, to trigger the screen lock with this poc, all you need to do is facepalm! ;-)

License

BSD 3-Clause License

About

PoC Face Proximity Screen Lock

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 79.1%Language:Shell 20.9%