The programme is based around an in-car camera hooked up to an image-processing software that captures a sequence of images of the driver's face.
It then analyses changes in the face and accurately identifies yawning as distinct from other facial movements such as smiling, talking, and singing.
The yawn frequency is then correlated with fatigue behaviour and could then be hooked up to a warning system to alert drivers of the need to take a break.
The algorithm is effective at yawn detection regardless of image intensity and contrast, small head movements, viewing angle, spectacle wearing, and skin colour.