A wearable EEG-based drowsiness detection system with blink duration and alpha waves analysis