This study aims ( 1 ) to develop an automated and fast approach for detecting visual evoked potentials ( VEPs ) in single trials and ( 2 ) to apply the single-trial VEP detection approach in designing a real-time and high-performance brain-computer interface ( BCI ) system .