Very simple program to take a photo with your laptop embedded camera every time computer is turned on, waked up or someone is logging in.
It uses OpenCV library and JavaCV library to support actions on the camera.
Java code of the application is only responsible for handling a camera and creating files with photos. This means that actual events tracking should be implemented for specific operating systems. However, application is prepared to handle this events by launching it with specific parameters.
Until now I was only able to prepare an appropriate scripts for OpenSuse with Gnome 3.
Java source code of the application is available on GitHub.