A tool to take photos using motion detection by deploying the Proximity sensor