Project Title: Classification of Arrhythmia by Using Deep Learning with 2-D ECG Spectral Image Representation
According to the World Health Organization (WHO), cardiovascular diseases (CVDs) are the number one cause of death today. Over 17.7 million people died from CVDs in the year 2017 all over the world which is about 31% of all deaths, and over 75% of these deaths occur in low and middle-income countries. Arrhythmia is a representative type of CVD that refers to any irregular change from the normal heart rhythms. There are several types of arrhythmia including atrial fibrillation, premature contraction, ventricular fibrillation, and tachycardia. Although a single arrhythmia heartbeat may not have a serious impact on life, continuous arrhythmia beats can result in fatal circumstances. In this project, we build an effective electrocardiogram (ECG) arrhythmia classification method using a convolutional neural network (CNN), in which we classify ECG into seven categories, one being normal and the other six being different types of arrhythmia using deep two-dimensional CNN with grayscale ECG images. We are creating a web application where the user selects the image which is to be classified. The image is fed into the model that is trained and the cited class will be displayed on the webpage.
Check it out at: https://hidden-tundra-49608.herokuapp.com/
To run the app locally,
- Clone the repository to your local machine.
- Run -> pip install -r /path/to/requirements.txt to get all the dependancies.
- Run -> python app.py to deploy the app on your local machine's server.
NOTE: Usage of a virtual environment is advised with a python installation of 3.7 or greater.