Skip to content

zhoudada/PCInvaderDetector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PCInvaderDetector

Punish those who do pranks to your unlocked PC!

If culprit is caught, it will

  • Automatically lock your PC to prevent further malicious activities.
  • Play the alarm audio (remember to connect your PC to a loud loud loud speaker).
  • capture the face of the culprit and automatically email it to the email group.

Steps:

  1. Deploy the server side code to any server. It hosts a web server that just contains a switch for this detection system. You need to figure out a way to alter the server's boolean variable switch.
  2. Train the facial recognizer from OpenCV with your faces, so the system can differentiate you from others (Well, it only works to some extent).
  3. Run client/main.py. If you switch on the system from the browser webpage managed by the server, it will detect the face and mouse & keyboard activity and fire the alarm.
  4. Have fun!

Notes:

  • If there is no OpenCV installed, it will only use keyboard and mouse to detect the culprit activity.
  • On the client side, it requires the following python pip packages:
    • playsound
    • pywin32
    • requests
  • On the server side, it requires the following python pip packages:
    • mysqlclient
    • flask

About

Punish those who do pranks to your unlocked PC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published