This approach provides a real-time and automated solution for single-trial detection of evoked potentials or event-related potentials ( EPs/ERPs ) in various paradigms , which could benefit many applications such as BCI and intraoperative monitoring .