Back

Signal extraction of paper-based ECG using real-world and augmented ECGs

Makwana, N. D.; Mukadam, F. A.; Mishra, H.; Tiwari, P.; Subramani, K.; Hari, K.

2025-11-20 cardiovascular medicine
10.1101/2025.11.19.25340630 medRxiv
Show abstract

Electrocardiogram (ECG) today largely remains paper-based making them inaccessible for research and innovation. To address this unmet need, we describe an end-to-end framework for ECG signal extraction from images using a four-stage pipeline and lay down the associated data generation requirements. The signal extraction stages include perspective correction, reorientation of paper, lead isolation and signal segmentation that converts signals to voltage units enabling precise digital reconstruction of the original waveforms. Our data generation methodology generates 72,080 simulated ECG images from open source digital signal datasets. We apply novel, realistic augmentations such as coffee stains, imaging shadows and introduce 3D deformation using Blender3D. Furthermore, we employ text-to-image and image-to-image workflows by synthesizing backgrounds around ECG images using the SDXL model with IP Adapter. Our pipeline achieves acceptable signal extraction with a Pearson correlation coefficient of 0.78 and processing speeds of {approx} 1.03 seconds, which is four times faster than existing methods on a related benchmark dataset. This advancement enables practical use of ECG digitization in fast-paced clinical environments, reducing cardiology consultation turnaround times and facilitating digital storage for population health analysis.

Matching journals

The top 7 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.