Online and Offline Implementation of Time-frequency Template Matching Method for Classifying Motor Imagery in Brain Computer Interface | IEEE Conference Publication | IEEE Xplore