This mini-script verifies the authenticity of the owner. If it doesn't find them, Windows will fall asleep.
- Upload your photo to the "studied" folder.
- You should download dependencies on python.
- Start run.pyw.
When computer's webcam doesn`t see your face a long of time, Windows will fall asleep. The script has 5 attempts with an interval of 2 seconds to find a face. When computer sees your face, the script makes an interval of 5 seconds.
You can assign a task to the task scheduler on windows.