Figure 1.2: ENOBIO Multi Channel EEG Acquisition System ...................................... 5 Figure 1.3: Starstim Wireless Hybrid EEG / tCS Neuro-stimulator System ................... 5 Figure 1.4: ibioSAQ 12 Lead ECG Acquisition System ................................................. 6 Figure 2.1: Matlab is a high level language ...................................................................... 15 Figure 2.2: Architecture of Matlab ................................................................................... 16 Figure 2.3: Matlab layout .................................................................................................. 17 Figure 2.4: Matlab feature requirements ........................................................................... 18 Figure 3.1: Object tracking model .................................................................................... 32 Figure 3.2: Algorithm steps .............................................................................................. 38 Figure 4.1: Original image taken from real time video .................................................... 43 Figure 4.2: Preprocessed image ........................................................................................ 43 Figure 4.3: Contour of tracked color with its centroid...................................................... 44 Figure 4.4: Bounding box for tracked color contour ........................................................ 44 Figure 4.5: Multiple color tracking in real time video ...................................................... 45