Deep Learning-Based Digitization of Overlapping ECG Images with Open-Source Python Code
Reza Karbasi, Masoud Rahimi, Abdol-Hossein Vahabie, Hadi Moradi

TL;DR
This paper presents a two-stage deep learning pipeline using U-Net for segmenting overlapping ECG signals and converting them into digital time-series data, significantly improving digitization accuracy in challenging cases.
Contribution
Introduces a novel two-stage ECG digitization method combining U-Net segmentation with adaptive grid detection, handling overlapping signals effectively.
Findings
U-Net achieves 0.87 IoU in segmentation.
Outperforms baseline in digitization accuracy, especially with overlapping signals.
Significant reduction in MSE and increase in correlation coefficient for challenging ECG samples.
Abstract
This paper addresses the persistent challenge of accurately digitizing paper-based electrocardiogram (ECG) recordings, with a particular focus on robustly handling single leads compromised by signal overlaps-a common yet under-addressed issue in existing methodologies. We propose a two-stage pipeline designed to overcome this limitation. The first stage employs a U-Net based segmentation network, trained on a dataset enriched with overlapping signals and fortified with custom data augmentations, to accurately isolate the primary ECG trace. The subsequent stage converts this refined binary mask into a time-series signal using established digitization techniques, enhanced by an adaptive grid detection module for improved versatility across different ECG formats and scales. Our experimental results demonstrate the efficacy of our approach. The U-Net architecture achieves an IoU of 0.87 for…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsECG Monitoring and Analysis · Non-Invasive Vital Sign Monitoring · Advanced Sensor and Energy Harvesting Materials
Methods*Communicated@Fast*How Do I Communicate to Expedia? · Max Pooling · Focus · Concatenated Skip Connection · Convolution · U-Net
