Skip to main content
construction release_alert
Scholars@Duke will be down for maintenance for approximately one hour starting Tuesday, 11/11 @1pm ET
cancel

Use of computer vision analysis for labeling inattention periods in EEG recordings with visual stimuli.

Publication ,  Journal Article
Isaev, DY; Major, S; Carpenter, KLH; Grapel, J; Chang, Z; Di Martino, M; Carlson, D; Dawson, G; Sapiro, G
Published in: Sci Rep
August 22, 2025

Electroencephalography (EEG) recordings with visual stimuli require detailed coding to determine the periods of participant's attention. Here we propose to use a supervised machine learning model and off-the-shelf video cameras only. We extract computer vision-based features such as head pose, gaze, and face landmarks from the video of the participant, and train the machine learning model (multi-layer perceptron) on an initial dataset, then adapt it with a small subset of data from a new participant. Using a sample size of 23 autistic children with and without co-occurring ADHD (attention-deficit/hyperactivity disorder) aged 49-95 months, and training on additional 2560 labeled frames (equivalent to 85.3 s of the video) of a new participant, the median area under the receiver operating characteristic curve for inattention detection was 0.989 (IQR 0.984-0.993) and the median inter-rater reliability (Cohen's kappa) with a trained human annotator was 0.888. Agreement with human annotations for nine participants was in the 0.616-0.944 range. Our results demonstrate the feasibility of automatic tools to detect inattention during EEG recordings, and its potential to reduce the subjectivity and time burden of human attention coding. The tool for model adaptation and visualization of the computer vision features is made publicly available to the research community.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Published In

Sci Rep

DOI

EISSN

2045-2322

Publication Date

August 22, 2025

Volume

15

Issue

1

Start / End Page

30963

Location

England

Related Subject Headings

  • ROC Curve
  • Photic Stimulation
  • Male
  • Machine Learning
  • Humans
  • Female
  • Electroencephalography
  • Child, Preschool
  • Child
  • Autistic Disorder
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Isaev, D. Y., Major, S., Carpenter, K. L. H., Grapel, J., Chang, Z., Di Martino, M., … Sapiro, G. (2025). Use of computer vision analysis for labeling inattention periods in EEG recordings with visual stimuli. Sci Rep, 15(1), 30963. https://doi.org/10.1038/s41598-025-10511-2
Isaev, Dmitry Yu, Samantha Major, Kimberly L. H. Carpenter, Jordan Grapel, Zhuoqing Chang, Matias Di Martino, David Carlson, Geraldine Dawson, and Guillermo Sapiro. “Use of computer vision analysis for labeling inattention periods in EEG recordings with visual stimuli.Sci Rep 15, no. 1 (August 22, 2025): 30963. https://doi.org/10.1038/s41598-025-10511-2.
Isaev DY, Major S, Carpenter KLH, Grapel J, Chang Z, Di Martino M, et al. Use of computer vision analysis for labeling inattention periods in EEG recordings with visual stimuli. Sci Rep. 2025 Aug 22;15(1):30963.
Isaev, Dmitry Yu, et al. “Use of computer vision analysis for labeling inattention periods in EEG recordings with visual stimuli.Sci Rep, vol. 15, no. 1, Aug. 2025, p. 30963. Pubmed, doi:10.1038/s41598-025-10511-2.
Isaev DY, Major S, Carpenter KLH, Grapel J, Chang Z, Di Martino M, Carlson D, Dawson G, Sapiro G. Use of computer vision analysis for labeling inattention periods in EEG recordings with visual stimuli. Sci Rep. 2025 Aug 22;15(1):30963.

Published In

Sci Rep

DOI

EISSN

2045-2322

Publication Date

August 22, 2025

Volume

15

Issue

1

Start / End Page

30963

Location

England

Related Subject Headings

  • ROC Curve
  • Photic Stimulation
  • Male
  • Machine Learning
  • Humans
  • Female
  • Electroencephalography
  • Child, Preschool
  • Child
  • Autistic Disorder