Digitizing paper ECGs at scale: an open-source algorithm for clinical research
Billions of clinical ECGs exist only as paper scans, making them unusable for modern automated diagnostics. We introduce a fully automated, modular framework that converts scanned or photographed ECGs into digital signals, suitable for both clinical and research applications. The framework is validated on 37,191 ECG images with 1596 collected at Akershus University Hospital, where the algorithm obtains a mean signal-to-noise ratio of 19.65 dB on scanned papers with common artifacts. It is further evaluated on the Emory Paper Digitization ECG Dataset, comprising 35,595 images, including images with perspective distortion, wrinkles, and stains. The model improves on the state-of-the-art in all subcategories. The full software is released as open-source, promoting reproducibility and further development. We hope the software will contribute to unlocking retrospective ECG archives and democratize access to AI-driven diagnostics.
Authors
- Arian Ranjbar (ORCID: https://orcid.org/0000-0002-0422-2255)
- Elias Stenhede
- Agnar Martin Bjørnstad
Institutions
- University of Oslo (NO)
- Akershus University Hospital (NO)
Publication Details
- Journal
- npj Digital Medicine
- Published
- 2026-01-14
- DOI
- https://doi.org/10.1038/s41746-025-02327-1
- Primary Topic
- ECG Monitoring and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 0.00