Download Blink behaviour based drowsiness detection
Transcript
participant had a higher KSS rating in the alert condition than in the drowsy condition. This was incompatible with the prerequisites of the program. After inspection of the figures, a linear relationship was found for the amplitude and the duration difference. No relationship was found for the blink intervals for the three participants that had rated themselves in corresponding interval (KSS 1-6, corresponding to the first two drowsiness stages). Linearity constants were thus calculated only for blink amplitude and duration difference for the five participants. The amplitude values were normalized with the first value to decide if a percentage value would be a better choice for the boundary than a fixed value. Normalization could not be made with the duration difference as its reference value ideally would be zero. The expected duration was based on the measured duration in the alert condition and hence the difference would be close to zero. As the linearity constants differed between the individuals, a best value had to be found. The constants received after normalizing the amplitude with the first value were found to vary less between the individuals. A percentage value was thus chosen for the amplitude. The constants for amplitude and duration difference were first calculated as mean values of four of the constants. One of the constants was excluded due to large variation in data. Another one, corresponding to participant number 10, was also excluded as described in the first part of this chapter. Boundaries were calculated based on the chosen linearity constants and the program was tested on the participants chosen for adjustment. A modification was made so that only the first five minutes of the alert condition were used as reference value as the constants had been calculated based on mean values over five minute intervals. 10.4.2 Adjustment of boundaries The chosen boundaries were set based on data from both alert and drowsy condition. The boundary for the duration difference in the drowsy condition was not found strict enough; a very bad correspondence was obtained. The program did not classify the participants as drowsy (stage three) even though KSS indicated that they were. It was considered more important to correctly detect all drivers that were drowsy than to correctly detect all alert drivers, i.e. high sensitivity was preferred over high specificity. A choice was thus made to adjust the boundaries to get as good correspondence with the KSS ratings in the drowsy condition as possible. This implied that the boundary for the duration difference had to be more strictly set. Constants could not be calculated only for the drowsy condition as the variability in data was too low. The participants often reached the last KSS steps (step 8 or 9) quite fast and then remained there. The boundaries were adjusted in the order of priority that the conditions were checked, see Figure 9.1. The boundary calculated for the amplitude was kept as this showed to be the best value possible. The duration boundary was adjusted until the best possible correspondence with KSS was obtained. The material used for choosing boundaries for the blink intervals did not indicate that they got lower between drowsiness stage one and two. A boundary was set for the blink intervals without any basis. The validity of this boundary is thus uncertain. A simplification was made when adjusting boundaries; it was assumed that the diagnose obtained in a five minute interval was based on all blinks in the interval. The boundaries and conditions could then be adjusted in the order of priority that the conditions were checked, i.e. with stage four first. Adjusting boundaries and conditions of lower priority would not affect adjustments already made. In reality a diagnose was given for each ten blink interval and the 39