Ever sick of people looking into your windows devices when you don't want anyone to see it , well I have so this script will help you to automatically lock your pc when someone peeks in your work.
- Setup python env.
- Open cmd and enter this command: pip install -r requirements.txt
- Camera availability to create dataset and final recognition.
- First run create_face_datasets.py .This will create dataset folder where it will capture your image in greyscale
- Now, run training_model.py to train your model using dataset which were previously created
- Run the lock_unlock_face_recognition.py
Keep all the files in one folder.