Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 2.12 KB

README.MD

File metadata and controls

48 lines (34 loc) · 2.12 KB

OSX Thief Catcher

OSX Thief Catcher

Introduction:

🔵 An application that detects the vibration that occurs when the wrong password is entered on your Mac Os device and takes photos from your camera when this vibration occurs. Made using python opencv.

Usage :

  • Install requirements:

pip install -r requirements.txt
  • Run Application:

python init.py

How It Works:

  • The application listens for the computer to wake up. When the computer wakes up, it starts performing image operations.
  • First, as soon as you wake up, it takes a picture of the password entry screen and memorizes this picture.
  • Then it takes a picture of the screen continuously in a while loop and takes the difference with the one in memory.
  • The difference between the memory photo and the current photo is that the same places are painted black and different places are painted white.
  • So when the password is entered incorrectly, the difference picture will be as follows:

start current diff

  • Then our program outputs the histogram of this difference image.
  • Calculates the standard deviation from this histogram. The "stgScreen" value is for the standard deviation value required to open the screen. The "stgWrong" value is for the standard deviation value when the wrong password is entered.
  • You can change these values yourself.
  • Edit the code on line 60 for testing.

Demo Video

video.mp4