An algorithm for automatic detection of drowsiness for use in wearable EEG systems | IEEE Conference Publication | IEEE Xplore