Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 681 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 681 Bytes

Python based Windows AutoLock

An ongoing small script to automatically lock/unlock system when detecting the presence of user. When you leave your laptop/device for 8-10 secs it automatically locks the screen to prevent access. Only requires you to download and install this script on to your system and launch it via cmd. The script uses OpenCV to detect the user on the computer screen.

Installation:

  1. Download the repo.
  2. navigate to the main directory.
  3. Install the requirements file by typing pip install -r requirements.txt
  4. Now run the script using python pyautolock.py

You may have to add the script into the services file to make it run on the background.