The document presents a method for detecting R peaks in electrocardiogram (ECG) signals with high accuracy by combining adaptive filtering and Hilbert transform. Adaptive filtering reduces noise and estimates the fundamental signal, while Hilbert transform eliminates signal distortion and shows time dependency. Features are then extracted from the ECG, including RR interval, heart rate, QRS width, and PR interval. These features can be used to diagnose arrhythmias based on irregular heart rhythms. A graphical user interface was also developed to conveniently display the output waveform, features, and type of arrhythmia diagnosis. When tested on data from the MIT-BIH arrhythmia database, the proposed method achieved a sensitivity of 99.22% and positive predict