Heart disease is the most common serious illness that affects human health and is also a cause of mortality, so it has become a major threat to human health. This is why automated diagnosis methods are needed to identify heart diseases accurately and effectively. The electrocardiogram is mostly usable by the physician and the medical field to detect heart diseases. The essential goal of this work is to identify different cardiac diseases by classifying ECG images into five classes using the traditional and ensemble machine learning techniques with the highest accuracy.
This study experiments with paper-based ECG images based on segmentation, feature extraction, and feature selection as well. In addition, it continued into two stages; in the first stage, after feature extraction and feature selection, traditional model as Decision Tree, KNN, SVM, LightGBM, MLP, Naive Bayes, and Logistic Regression and ensemble model were applied. In the second stage, after performing the segmentation, feature extraction, and feature selection; again, run the tradition and the ensemble model. Before training the model, several image pre-processing techniques have been applied to remove the image patterns and enrich the image quality.