Giter VIP home page Giter VIP logo

lorenzodifuccia / watchmyback Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 0.0 34.92 MB

An easy-to-use defense tool against "Shoulder Surfing" attacks, which allows you to immediately lock the screen of your computer if someone is behind you or if you move away from the computer without locking it.

Python 100.00%
face-detection mediapipe security shoulder-surfing tobii-eye-tracker tobii-aware

watchmyback's Introduction

WatchMyBack

Update Jun 2023: Free (wannabe) alternative to Tobii Aware experience of new MSI laptops...

An easy-to-use defense tool against "Shoulder Surfing" attacks, which allows you to immediately lock the screen of your computer if someone is behind you or if you move away from the computer without locking it.

It may be useful for students, workers, military personnel in situations where the computer is used in an insecure environment or when sensitive information are displayed on the screen and you want that nobody see them.

The program uses Google's mediapipe library for the face detection.
My sincere kudos for the easy-to-use and powerful capabilities of the library ๐Ÿ‘

These are functionalities of the program:

  • It detects the user face (the first face detected or the nearest, thus the ones with the larger face detection box area)
  • If two faces are detected:
    • It shows an alert notification to the user,
    • Keeps track of the user face between the faces detected (by the euclidean distance between new detections and previous user face detection)
    • Then, if the user face moves the nose down (the 'lock' signal), the program locks the screen.
  • If no faces are detected, it shows a notification and start a countdown (~5 seconds) to automatically lock the screen.

Demo

Two faces detected: Two faces detected

No faces detected:
No faces detected

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.