II. Structure of the Algorithm
In the Fig.1 it is shown a flow graphic of the processing software implemented for the driver monitoring system. On top we have the frame capture from a video camera, the captured image being transposed into the greyscale space. This image is processed with the face detection algorithm and if it is a face detected the algorithm proceeds forward, otherwise captures a new image.