Auto Hibernate

A python script which automatically detects when there’s no one nearby and sends the system to hibernation mode. It uses OpenCV API to detect motion using a camera and triggers a corresponding query to switch the system to hibernation mode. Get the code on GitHub.