Key result
SynthECG generates customizable synthetic ECG image datasets for deep learning with high digitization accuracy.
Why the study?
Digitizing ECG images into structured time-series data is critical for clinical analysis but remains challenging due to the lack of standardized datasets, particularly under realistic scenarios like overlapping waveforms.
The SynthECG framework provides a customizable, open-source tool to generate large-scale synthetic ECG image datasets, addressing the lack of standardized data for training deep learning models in ECG digitization and analysis.
Answers are grounded in this paper and cite their sources.
May improve ECG digitization for clinical practice; extends customizable synthetic dataset generation for deep learning research.
Background: Digitizing electrocardiogram (ECG) images into structured time-series data is critical for clinical analysis, but it remains challenging due to the lack of standardized datasets, especially under realistic scenarios like overlapping waveforms. Methods: We introduce SynthECG, an open-source Python framework to generate four synthetic ECG datasets tailored for deep learning tasks, including ECG digitization, YOLO-based lead and lead name detection, and U-Net-based waveform segmentation. The framework supports customizable parameters (e.g., dataset size, lead layout, and visual style) and allows generating up to 21,799 images for multi-lead datasets and 261,588 for single-lead segmentation. Notably, it introduces a novel mechanism to simulate overlapping waveforms from adjacent leads while preserving clean segmentation masks. Results: Using our framework, we generated four open-access datasets: (1) 2000 ECG images in various lead configurations paired with time-series signals for ECG digitization, (2) 2000 ECG images in various lead configurations with YOLO-format annotations for detecting lead regions and lead names, (3) 20,000 cropped single-lead images with pixel-level segmentation masks (normal variant), and (4) 102 cropped single-lead images with overlapping waveforms from adjacent leads (overlapping variant). We validated these datasets through two case studies: digitization using a non–ML algorithm (mean squared error: 0.002, ρ: 0.93, signal-to-noise ratio [SNR]: 7.36 dB, SNR med : 37.86 dB) and lead/name detection using YOLOv8. Conclusions: Our open-source framework enables the generation of large-scale, customizable ECG image datasets to support key deep learning-based tasks, including digitization under normal and overlapping conditions, as well as lead region and lead name detection. The full datasets and code are publicly available at: https://doi.org/10.5281/zenodo.15484519 and https://github.com/rezakarbasi/ecg-image-and-signal-dataset.
No takes yet. Share an insight, caveat, or question.
Rahimi et al. (2026) studied this question. SynthECG generated four customizable synthetic ECG image datasets for deep learning, demonstrating high digitization accuracy with a mean squared error of 0.002 and ρ of 0.93.
Synapse has enriched 10 related papers. Consider them for comparative context: