The invention provides an attention detection method and
system based on a brain-computer interface, and particularly relates to the technical field of brain-computer interfaces, and the
system integrates a hardware unit (including TGAM electroencephalogram acquisition,
Bluetooth connection and
LED illumination control), a
software unit (including login, detection, display and
data export) and an
algorithm unit. According to the method, electroencephalogram collection is carried out,
wavelet filtering is utilized to decompose EEG signals, an Attention value and a Meditation value are extracted after calculation, a fusion value AM of the Attention value and the Meditation value is further provided, and control over the
LED illumination brightness is achieved according to the fusion value. Besides, the functions of
user verification,
signal processing, result display and
data recording are achieved through the
software unit, the problems of extraction and fusion of attention features and relaxation features of electroencephalogram signals in the man-
machine interaction process are solved through the
algorithm unit, the accuracy and reliability of collection and
processing of electroencephalogram data are improved, and the
system is suitable for popularization and application. Effective attention
feature extraction and
feature fusion based on the electroencephalogram signals and adjustment of the
LED illumination brightness are achieved, and development of the human-computer
interaction technology is promoted.