There are two modes under which the eyeblink detection
algorithm can operate: training mode and detection
mode. A flag is used to allow the algorithm to switch automatically
from the training mode to the detection mode
after the parameters are learned and adapted to the eyeblink
patterns of a given subject.