FaceState Project
by Wes Schuitema and Frank Blaauw
In stead of monitoring a user's input, the FaceState application lets the computer see the person. This means that it will change the computer's behavior according to if someone is working behind his or her pc, or if someone just has gone away. This can for example work when a person is not interacting with the PC, but is only reading a document. While doing this, it can be annoying if the display constantly dims. Using the FaceState application, this state could be detected. Another idea is to play a movie when someone is behind the screen, and pause it when the user is gone.
The implementation of this application has been done using C++ and the Qt framework for the GUI components. The library that handles the face detection in the application is the open-source library OpenCV.
The application uses so called shell scripts, or bash scripts to perform an action. For both of the events that can happen (i.e., someone is detected and someone is not detected anymore) scripts can be connected. This means that when a user leaves for example the 'userleft.sh' script is activated and when the person is back, the 'userpresent.sh' script is ran. The user can add as many scripts as necessary.