AutismBD

Published: 4 November 2026| Version 1 | DOI: 10.17632/srvz8fm2t4.1
Contributors:
,
,
,
,
,

Description

1. AutismBD is a webcam-based eye-tracking dataset of 72 children aged 4-14 years from the Natore and Rajshahi districts of Bangladesh: 36 children with autism spectrum disorder (ASD) and 36 typically developing (TD) children. Children were recruited from an autism centre, an autism school, general schools, and homes. 2. Recording Protocol Each child sat in front of an HP laptop (15.6-inch display, built-in HP TrueVision 720p HD webcam). After a short practice, the child followed the same fixed sequence of 35 commands (MIDDLE, LEFT, RIGHT, UP, DOWN, BLINK) for 119 s. Each direction command was shown as an on-screen target with a voice prompt; BLINK was given as a voice prompt. Custom software built on pretrained OpenVINO models processed every frame at 640x480 pixels. The same laptop, camera resolution, and background were used for all children. 3. Data Details One CSV file per child (68,441 rows in total; 467-1542 rows per file). Each row is one video frame with 16 columns: Timestamp (s) Command Left and right eye-centre coordinates (x, y) Left and right pupil coordinates (x, y) Left and right eye aspect ratio (EAR) Blink state (OPEN, LEFT_BLINK, RIGHT_BLINK, BOTH_BLINK, NO_FACE) Head yaw, pitch, and roll (degrees) 4. Folder Structure: ASD/: ASD_1001.csv ... ASD_1036.csv (label 1) TD/: TD_1001.csv ... TD_1036.csv (label 0) participants_metadata.csv: One row per child with group, label, sex, age, recruitment setting, number of rows, recording length, frame rate, percentage of frames without a face, percentage of missing eye positions, and resolution. README.txt: Data dictionary, command order, and usage notes. Usage Notes: The frame rate was not fixed and varies between sessions (3.9-12.9 frames per second), so signals should be resampled to a common rate before comparing children. Positions are image coordinates, not screen positions, and should be normalised (e.g., by the distance between the eyes). The BOTH_BLINK flag is also frequent when children look down. 5. Possible Uses: Development and testing of webcam-based gaze, blink, and head-pose methods. Analysis of how autistic and non-autistic children follow simple visual and spoken commands. Design of low-cost screening and telehealth tools. Teaching signal processing and data science. The dataset is for research only and is not a diagnostic tool. 6. Ethics & Compliance: Data were collected with written consent from parents or guardians and permission from the National Foundation for Development of the Disabled Persons, Ministry of Social Welfare, Bangladesh (website: www.jpuf.gov.bd, Memo No: 41.02.0000.006.00.133.2025-1954, Dated: 16 June 2026).. No names, images, or videos are included. 7. Acknowledgements: The authors thank the Asian Development Bank (ADB) and the University Grants Commission (UGC), Bangladesh, for their financial support in the framework of ICSETEP.

Files

Steps to reproduce

1. Participants: 36 children with ASD (from an autism centre and an autism school) and 36 typically developing children (from general schools and homes), aged 4-14 years, in Natore and Rajshahi, Bangladesh. Written consent was obtained from a parent or guardian. Sex, age, and recruitment setting were taken from the consent forms. 2. Equipment: One HP laptop (15.6-inch display, built-in HP TrueVision 720p HD webcam) with custom recording software built on pretrained OpenVINO models (face detection, eye/iris landmarks, and head pose). Every frame was processed at 640x480 pixels. The same laptop, resolution, and background were used for all children. 3. Set-up: The child sat in front of the laptop with the face and both eyes visible to the camera. An instructor explained the task and stayed with the child. 4. Pactice: The instructor showed the six commands (MIDDLE, LEFT, RIGHT, UP, DOWN, BLINK) until the child understood them. Practice data were not saved. 5. Task: The software gave the same fixed sequence of 35 commands over 119 s (6x each direction, 5x BLINK). Each direction command highlighted a target on the screen and was spoken aloud; BLINK was spoken only. Data were recorded for about 2.5 s per direction command and 3.3 s per BLINK command, with a pause of about 0.9 s between commands. 6. Processing of each frame: (a) Detect the face; (b) Locate eye and iris landmarks to get eye-centre and pupil (x, y) positions; (c) Compute the eye aspect ratio (EAR) of each eye from six landmarks, EAR = (|p2 - p6| + |p3 - p5|) / (2 |p1 - p4|) and set blink_state by an EAR threshold; (d) Estimate head yaw, pitch, and roll; (e) Write one CSV row with timestamp, command, and these values. If no face is found, a row with blink_state = NO_FACE and empty values is written. 7. Storage: Each recording was saved as one CSV file named by participant code in the ASD or TD folder. Files were checked for identical columns, valid values, increasing timestamps, no duplicates, and the same command sequence. No filtering or resampling was applied. 8. Metadata and figures: Run Python 3 (with pandas, NumPy, SciPy, and Matplotlib) inside the code/ folder: python build_metadata.py python make_figures.py output_folder The first script rebuilds participants_metadata.csv from the CSV files (rows, duration, frame rate = rows / duration, % frames without a face, % missing eye positions) and keeps the sex, age, and recruitment setting columns. The second script recreates the summary statistics and all figures of the data article.

Institutions

Categories

Artificial Intelligence, Machine Learning, Autism Spectrum Disorder, Patient with Autism Spectrum Disorder, Autism Practice

Licence