Code Monkey home page Code Monkey logo

facepalm's Introduction

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

facepalm's People

Contributors

oscarholst avatar

Watchers

 avatar

facepalm's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.