Detection of EEG-Based Eye-Blinks Using A Thresholding Algorithm


  •   Dang-Khoa Tran

  •   Thanh-Hai Nguyen

  •   Thanh-Nghia Nguyen


In the electroencephalography (EEG) study, eye blinks are a commonly known type of ocular artifact that appears most frequently in any EEG measurement. The artifact can be seen as spiking electrical potentials in which their time-frequency properties are varied across individuals. Their presence can negatively impact various medical or scientific research or be helpful when applying to brain-computer interface applications. Hence, detecting eye-blink signals is beneficial for determining the correlation between the human brain and eye movement in this paper. The paper presents a simple, fast, and automated eye-blink detection algorithm that did not require user training before algorithm execution. EEG signals were smoothed and filtered before eye-blink detection. We conducted experiments with ten volunteers and collected three different eye-blink datasets over three trials using Emotiv EPOC+ headset. The proposed method performed consistently and successfully detected spiking activities of eye blinks with a mean accuracy of over 96%.

Keywords: EEG, EOG, artifact removal, peak detection, peak thresholding, eye-blink detection, Gaussian smoothing, notch filtering


B. Singh and H. Wagatsuma, "A Removal of Eye Movement and Blink Artifacts from EEG Data Using Morphological Component Analysis," Comput Math Methods Med, vol. 2017, p. 1861645, 2017, doi: 10.1155/2017/1861645.

J. A. Uriguen and B. Garcia-Zapirain, "EEG artifact removal-state-of-the-art and guidelines," J Neural Eng, vol. 12, no. 3, p. 031001, Jun 2015, doi: 10.1088/1741-2560/12/3/031001.

C. Kamarajan and B. Porjesz, "Advances in Electrophysiological Research," Alcohol Res, vol. 37, no. 1, pp. 53-87, 2015. [Online]. Available:

L. F. Nicolas-Alonso and J. Gomez-Gil, "Brain computer interfaces, a review," Sensors (Basel), vol. 12, no. 2, pp. 1211-79, 2012, doi: 10.3390/s120201211.

L. Mayaud et al., "A comparison of recording modalities of P300 event-related potentials (ERP) for brain-computer interface (BCI) paradigm," Neurophysiol Clin, vol. 43, no. 4, pp. 217-27, Oct 2013, doi: 10.1016/j.neucli.2013.06.002.

A. Mohebbi, S. K. Engelsholm, S. Puthusserypady, T. W. Kjaer, C. E. Thomsen, and H. B. Sorensen, "A brain computer interface for robust wheelchair control application based on pseudorandom code modulated Visual Evoked Potential," Annu Int Conf IEEE Eng Med Biol Soc, vol. 2015, pp. 602-5, Aug 2015, doi: 10.1109/EMBC.2015.7318434.

M. C. Corsi et al., "Integrating EEG and MEG Signals to Improve Motor Imagery Classification in Brain-Computer Interface," Int J Neural Syst, vol. 29, no. 1, p. 1850014, Feb 2019, doi: 10.1142/S0129065718500144.

S. Leske and S. S. Dalal, "Reducing power line noise in EEG and MEG data via spectrum interpolation," Neuroimage, vol. 189, pp. 763-776, Apr 1 2019, doi: 10.1016/j.neuroimage.2019.01.026.

P. Berg and M. Scherg, "Dipole models of eye movements and blinks," Electroencephalogr Clin Neurophysiol, vol. 79, no. 1, pp. 36-44, Jul 1991, doi: 10.1016/0013-4694(91)90154-v.

P. Berg, "The residual after correcting event-related potentials for blink artifacts," Psychophysiology, vol. 23, no. 3, pp. 354-64, May 1986, doi: 10.1111/j.1469-8986.1986.tb00646.x.

J. Mladenovic, "Standardization of protocol design for user training in EEG-based Brain-Computer Interface," J Neural Eng, Nov 20 2020, doi: 10.1088/1741-2552/abcc7d.

N. Kaewcum and V. Siripornpanich, "An electroencephalography (EEG) study of short-term electromyography (EMG) biofeedback training in patients with myofascial pain syndrome in the upper trapezius," J Phys Ther Sci, vol. 32, no. 10, pp. 674-679, Oct 2020, doi: 10.1589/jpts.32.674.

A. L. Ashley and M. Arvaneh, "Improving EEG-based error detection using relative peak features," Annu Int Conf IEEE Eng Med Biol Soc, vol. 2020, pp. 272-275, Jul 2020, doi: 10.1109/EMBC44109.2020.9176376.

M. Benda and I. Volosyak, "Peak Detection with Online Electroencephalography (EEG) Artifact Removal for Brain-Computer Interface (BCI) Purposes," Brain Sci, vol. 9, no. 12, Nov 29 2019, doi: 10.3390/brainsci9120347.

A. de Cheveigne and D. Arzounian, "Robust detrending, rereferencing, outlier detection, and inpainting for multichannel data," Neuroimage, vol. 172, pp. 903-912, May 15 2018, doi: 10.1016/j.neuroimage.2018.01.035.

M. Garcia, M. Martinez-Iniesta, J. Rodenas, J. J. Rieta, and R. Alcaraz, "A novel wavelet-based filtering strategy to remove powerline interference from electrocardiograms with atrial fibrillation," Physiol Meas, vol. 39, no. 11, p. 115006, Nov 26 2018, DOI: 10.1088/1361-6579/aae8b1.

G. Makkena, P. R. Bvvsn, and M. B. Srinivas, "Uniform approximation of Gaussian wavelet for biomedical signal processing in analog domain," Annu Int Conf IEEE Eng Med Biol Soc, vol. 2013, pp. 2886-9, 2013, doi: 10.1109/EMBC.2013.6610143.

M. Cavusculu, I. S. Yetik, and M. Yeginer, "Fully automated blink detection for uveal melanoma radiotherapy," Annu Int Conf IEEE Eng Med Biol Soc, vol. 2017, pp. 628-631, Jul 2017, doi: 10.1109/EMBC.2017.8036903.

K. Kleifges, N. Bigdely-Shamlo, S. E. Kerick, and K. A. Robbins, "BLINKER: Automated Extraction of Ocular Indices from EEG Enabling Large-Scale Analysis," Front Neurosci, vol. 11, p. 12, 2017, doi: 10.3389/fnins.2017.00012.

M. Kern, A. Schulze-Bonhage, and T. Ball, "Blink- and saccade-related suppression effects in early visual areas of the human brain: Intracranial EEG investigations during natural viewing conditions," Neuroimage, vol. 230, p. 117788, Apr 15 2021, doi: 10.1016/j.neuroimage.2021.117788.


Download data is not yet available.


How to Cite
Tran, D.-K., Nguyen, T.-H. and Nguyen, T.-N. 2021. Detection of EEG-Based Eye-Blinks Using A Thresholding Algorithm. European Journal of Engineering and Technology Research. 6, 4 (May 2021), 6-12. DOI: