Paper ECG: An open-source application for digitizing ECG image scans

4 hours ago 1

An application for digitizing ECG scans. (OSU Capstone Project 2020-21)

See ecgdigitize for the library implementing the grid and signal digitization. Cite published manuscript: J. D. Fortune, N. E. Coppa, K. T. Haq, H. Patel and L. G. Tereshchenko. Digitizing ECG image: a new method and open-source software code. Computer Methods and Programs in Biomedicine 2022 Pages 106890. DOI: https://doi.org/10.1016/j.cmpb.2022.106890 https://www.sciencedirect.com/science/article/pii/S0169260722002723

  • Natalie Coppa
  • Julian Fortune
  • Larisa Tereschenko (tereshch at ohsu.edu)

With help from:

  • Kazi Haq
  • Hetal Patel

This application allows digitizing paper ECG image scans, such as this one:

fullscan

To produce digital signals, like these:

fullscan-output

Download the latest release here.

Read the user guide here

Follow the set-up instructions:

You should now have:

  • Python 3.6.7
  • Virtual environment
  • All required packages

Reminder: Make sure your virtual environment is running! (this will happen automatically if you are using pyenv)

You can now run:

Or, on Windows, you may need to run:

This will start the interpreted version of the project.

In order to create an executable that can be distributed, run:

Or, on Windows, you may need to run:

This only builds an executable targeting the current OS (i.e., virtualization or multiple machines is necessary to produce builds for each OS).

View the issues list to see what tasks are available to work on.

The project currently requires Python 3.6.7 to work with fbs (see 3.7 support issue).

See our sprint documents here.

Fortune JD, Coppa NE, Haq KT, Patel H, Tereshchenko LG. Digitizing ECG image: A new method and open-source software code. Comput Methods Programs Biomed. 2022 Jun;221:106890. doi: 10.1016/j.cmpb.2022.106890. Epub 2022 May 14. PMID: 35598436; PMCID: PMC9286778.

Julian Fortune, Natalie Coppa, Kazi T Haq, Hetal Patel, Larisa G Tereshchenko. Digitizing ECG image: new fully automated method and open-source software code. medRxiv 2021.07.13.21260461; doi: https://doi.org/10.1101/2021.07.13.21260461

Statistical validation code

see file digitizing_validation Stata code.do. See manuscript(peprint above) for the detailed description of statistical methods.

Read Entire Article