Skip to content

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.

Notifications You must be signed in to change notification settings

lorenzodifuccia/WatchMyBack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Topics

Resources

Stars

Watchers

Forks

Languages