Related Experiment Video
Updated: Oct 2, 2025

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
ECG Recurrence Plot-Based Arrhythmia Classification Using Two-Dimensional Deep Residual CNN Features
Bhekumuzi M Mathunjwa1, Yin-Tsong Lin2, Chien-Hung Lin2
1Department of Mechanical Engineering, Yuan Ze University, Taoyuan 32003, Taiwan.
Abstract:
In this paper, an effective electrocardiogram (ECG) recurrence plot (RP)-based arrhythmia classification algorithm that can be implemented in portable devices is presented. Public databases from PhysioNet were used to conduct this study including the MIT-BIH Atrial Fibrillation Database, the MIT-BIH Arrhythmia Database, the MIT-BIH Malignant Ventricular Ectopy Database, and the Creighton University Ventricular Tachyarrhythmia Database. ECG time series were segmented and converted using an RP, and two-dimensional images were used as inputs to the CNN classifiers. In this study, two-stage classification is proposed to improve the accuracy. The ResNet-18 architecture was applied to detect ventricular fibrillation (VF) and noise during the first stage, whereas normal, atrial fibrillation, premature atrial contraction, and premature ventricular contractions were detected using ResNet-50 in the second stage. The method was evaluated using 5-fold cross-validation which improved the results when compared to previous studies, achieving first and second stage average accuracies of 97.21% and 98.36%, sensitivities of 96.49% and 97.92%, positive predictive values of 95.54% and 98.20%, and F1-scores of 95.96% and 98.05%, respectively. Furthermore, a 5-fold improvement in the memory requirement was achieved when compared with a previous study, making this classifier feasible for use in resource-constricted environments such as portable devices. Even though the method is successful, first stage training requires combining four different arrhythmia types into one label (other), which generates more data for the other category than for VF and noise, thus creating a data imbalance that affects the first stage performance.
More Related Videos
Related Concept Videos
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
Dysrhythmias II: Classification of Tachyarrhythmias
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
Dysrhythmias III: Characteristics of Dysrhythmias
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
ECG Interpretation of Arrhythmias I: Sinus Arrhythmias
Types of Arrhythmias
Sinus Node Arrhythmias
Sinus Bradycardia: Originating from the sinoatrial (SA) node, sinus bradycardia involves slower impulses, resulting in a heart rate of less than 60 beats per minute (bpm). Causes include sleep, vagal stimulation, beta-blockers, hypothyroidism,...

