A real-time capable and accurate template-based fitting approach for the detection and delineation of all the QRScomplexes, P-, and T-waves is presented. The ECG features extraction is accomplished with a very low amount of ECG signal preprocessing. The performance of our proposed algorithm is validated using ECG records from both the MIT-BIH Arrhythmia and QT standard databases. All of the ECG component waves detectors achieved very high detection rates, detecting correctly up to 3015, 3013, and 3010 QRS-complexes, P-and T-waves respectively from 3015 cardiac beats. The delineation results showed that the standard deviations of the errors are within the tolerance limits.