A simple web application designed for the rapid visualization of standard WFDB format electrocardiogram (ECG) files (.hea and .dat). Users can upload their files and receive high-quality graphical outputs in both SVG (vector) and PNG (raster) formats.
This project is built with Python and Streamlit, intended for researchers, students, and medical professionals who need a quick way to visually analyze ECG data without installing local software.
- Multiple File Upload: Upload multiple
.heaand.datfiles simultaneously. - Automatic Processing: Automatically processes 12-lead ECG signals and generates standard plots.
- Dual Format Output: Results are generated in both high-quality SVG and PNG formats.
- Simple Interface: A clean, minimalist, and intuitive user interface.
- Batch Download: All processed files are bundled into a single ZIP archive for easy downloading.
- Open Source: The project is fully open-source and available on GitHub.
- Navigate to the Live Demo link above.
- Click the "Browse files" button to select your
.heaand.datfiles. - Once the files are selected, click the "🚀 Start Processing" button.
- Wait for the processing to complete.
- After processing, a "📥 Download Results (ZIP)" button will appear. Click it to download the archive to your computer.
If you wish to run the project on your local machine:
1. Clone the repository:
git clone [https://github.com/YOUR_USERNAME/ecg-webapp.git](https://github.com/YOUR_USERNAME/ecg-webapp.git)
cd ecg-webapp(Replace YOUR_USERNAME/ecg-webapp.git with your repository's URL)
2. (Recommended) Create and activate a virtual environment:
# Windows
python -m venv venv
venv\Scripts\activate
# macOS / Linux
python3 -m venv venv
source venv/bin/activate3. Install dependencies:
pip install -r requirements.txt4. Run the Streamlit application:
streamlit run app.pyThe application will open in your web browser, typically at http://localhost:8501.
- Backend: Python
- Web Framework: Streamlit
- Data Processing:
wfdb- For reading WFDB database files.numpy- For numerical operations on data arrays.matplotlib&ecg-plot- For plotting ECG signals.
- Deployment: Render.com
This project is distributed under the MIT License.
Copyright (c) 2025 Cordica Inc.