The document presents an EEG-based brain-computer interface (BCI) system for recognizing emotions in patients with disorders of consciousness. The BCI system uses EEG data to distinguish positive and negative emotions evoked by viewing video clips in both healthy controls and DOC patients. Results show the BCI system classified emotions with over 80% accuracy in controls and provided a potential method for assessing residual consciousness and brain function in DOC patients by recognizing their emotions.