Introduction

Coronaviruses are large family of viruses that can cause various diseases in animals or humans. The Novel Coronavirus Disease (COVID-19) first appeared in Wuhan Province, China towards the end of 2019 and has spread around the world at an unprecedented speed [1]. The most common symptoms are fever, cough and shortness of breath. In severe cases, pneumonia, severe respiratory failure, renal failure and death may develop. As of 16 June 2021, the total number of cases in the world has exceeded 176 million and the total number of deaths has exceeded 4 million people [2]. Although it is known that there is no effective medicine for the COVID-19 disease, which the World Health Organization (WHO) declared as a pandemic on March 11, 2020 [3], there have been promising developments in vaccine studies. Scientific reports have announced that the effectiveness of the vaccines is quite high and 20.8% of the world population has received at least one dose of a COVID-19 vaccine as of writing this paper [4].

Considering the high contagious nature of the virus, a fast and accurate diagnostic method is undoubtedly critical for controlling the pandemic. Throughout the pandemic, the diagnosis of COVID-19 disease has been done with tests known as Reverse Transcription Polymerase Chain reactions (RT-PCR) based on the analysis of swabs taken from the throat and nose. The lack of sensitivity of these tests has led the scientific world to alternative diagnostic methods [5]. As a result of intensive studies and radiological imaging science, it has been observed that the virus has effects such as ground-glass opacity, crazy paving pattern, consolidation, vascular enlargement, lower-lobe involvement and bilateral infiltration in the lungs [6]. Therefore, radiological imaging techniques, especially MRI and CT, have been used as alternative tools for COVID-19 disease diagnosis. The overall accuracy and sensitivity of radiological imaging techniques such as X-ray and CT for COVID-19 disease diagnosis is quite high as being over 95% [7,8,9]. However, access to radiological imaging devices is not easy and cheap, especially in remote, rural and underdeveloped regions. Moreover, diagnosis methods based on radiological imaging techniques seem to be slow in comparison to the very rapid spread of the novel coronavirus. The COVID-19 is actually a pneumonia virus and the changes it creates in the lungs are very similar to the changes caused by community-acquired pneumonia viruses, which is another disadvantage that makes radiological imaging-based diagnostic methods difficult to accurately diagnose COVID-19 disease. Existing diagnostic methods have these shortcomings, which show the necessity of fast and also effective alternative diagnostic methods. The medical science world reveals that this dangerous virus affects many organs and systems in the human body and causes changes in the related system [10, 11]. An important system in which the virus affects its normal functioning is the cardiovascular system [12,13,14,15]. ECG physiological signals, on the other hand, are a very good indicator to show abnormal conditions occurring in the cardiovascular system. This paper investigates the possibility of COVID-19 disease diagnosis from paper-based ECG data using Deep Learning (DL) phenomenon taking into account the promising ECG features such as accessibility, reliability, low cost, real-time monitoring, harmlessness etc. The proposed method in this paper is believed to be an alternative high-accurate and effective method to fill the gap for COVID-19 disease diagnosis.

DL based image processing methods have been proven to be very effective and useful, especially for medical diagnosis and treatment. Therefore, DL based image processing techniques have been used effectively in various forms since the beginning of the pandemic, both for COVID-19 disease diagnosis and treatment purposes. For example, Convolutional Neural Networks model (CNN), which is considered one of the most successful DL methods, has been successfully performed for COVID-19 disease detection using chest X-ray images. To begin with, Togacar et al. have succeeded to detect COVID-19 disease with an accuracy of 99.27% using chest X-ray images and CNN method [16]. In another DL based method using chest X-ray images, Apostolopoulos et al. have achieved COVID-19 disease detection with an accuracy of 96.78% [17]. Irmak E. has used quite large publicly available dataset and a novel CNN model for COVID-19 disease detection as well as COVID-19 vs. Community Acquired Pneumonia vs. Healthy multi-classification task. He has obtained 98.92% accuracy for binary classification and 98.27% accuracy for multi-classification, respectively. The COVID-19 disease detection from chest X-ray images has been effectively studied in another DL based image processing methods. For example, in [18], Generative Adversial Network (GAN) and Deep Transfer Learning have been used and a high accuracy rate such as 99.9% has been obtained. COVID-19 disease diagnosis has been successfully performed using DL methods from CT images as well. For instance, Li et al. have developed a fully automatic method to detect COVID-19 using chest CT images [5]. Singh et al. was another researcher group who studied COVID-19 disease diagnosis from chest CT images using CNN method [19]. They have used multi-objective differential evolution (MODE) technique for parameter tuning and obtained a good accuracy rate. Chen et al. have constructed a system based on DL for detecting COVID-19 disease on high resolution CT images [20]. They have used quite high number of data and diagnosed COVID-19 disease with 95.24% accuracy. Radiological imaging and DL based image processing techniques have also been utilized for COVID-19 disease quantification and risk stratification within last past year of pandemic. For example, Chaganti et al. have suggested to use a DL and deep reinforcement-based method to compute the measures of COVID-19 disease severity [21]. In this study, the Percentage of Opacity (PO) and Lung Severity Score (LSS) have been computed from abnormalities such as ground glass opacity and consolidations associated with COVID-19 disease. The combined severity measures have been fed into DL model and COVID-19 patients have been classified as severe or non-severe cases. Chassagnon et al. have staged COVID-19 infected patients and predicted outcomes of COVID-19 disease using automatic DL based image processing method and lung CT images [22]. Irmak E. has also performed COVID-19 disease severity assessment from radiological images using novel CNN models [9]. The COVID-19 infected patients have been successfully divided into Mild vs. Moderate vs. Severe vs. Critical severity groups with an overall accuracy of 95.52% and AUC value of 0.9873. In a successful retrospective study, Li et al. have proposed a DL based image processing model to quantitatively assess the disease severity and disease progression using chest CT images of COVID-19 patients [23]. Haung et al. have used a commercially available DL based tool to quantitatively predict the COVID-19 disease severity stages [24]. COVID-19 infected patients have been classified as Mild Type vs. Moderate Type vs. Severe Type vs. Critical Type using CT lung opacification percentages of the whole lung. Another important DL based COVID-19 disease severity assessment study has proposed staging COVID-19 infected patients on portable chest radiographs [25]. Prediction of lung disease severity scores has been performed using deep CNN model and have been compared with three expert chest radiologists ground truth scores. There are also important publications that investigated the usage of ECG data to detect COVID-19 disease. For example, Ozdemir et al. have proposed a DL based method to detect COVID-19 disease using ECG data [26]. They have obtained detection accuracy of 96.20%. In another publication by Bergamaschi et al., the prognostic value of ECG in COVID-19 disease has been explored [12]. It has been concluded that there were powerful links between COVID-19 disease and ECG alterations. Rahman et al. have used pre-trained CNN methods to detect COVID-19 disease from ECG data [27]. They have found that the pre-trained DenseNet201 has outperformed other CNN models in COVID-19 disease diagnosis from ECG data. Another researcher group, Shi et al., have explored the characteristics and clinical significance of ECG in COVID-19 disease [28]. He et al. have reported that ECG changes can be hallmark of cardiac injury, which further showed the importance of usage of ECG data for COVID-19 disease diagnosis [29]. Churchill et al. have suggested that the ECG can be an essential diagnostic tool in COVID-19 disease detection by investigating the echocardiographic finding in patients with COVID-19 [30]. Finally, the study by Nemati et al. is an important systematic literature review for the researchers who are interested in the usage of ECG data to detect COVID-19 disease [13].

In this paper, a novel deep CNN model is proposed for COVID-19 disease diagnosis as well as COVID-19 vs. Abnormal Heartbeats binary classification, COVID-19 vs. Myocardial Infarction binary classification, COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction and Normal vs. COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction multi-classification tasks from ECG trace images created from ECG signals acquired by non-invasive 12-lead ECG device from COVID-19 infected patients based on the abnormalities caused by the COVID-19 virus on the cardiovascular system. The remaining of this paper can be organized as follows. Section 2 explains the proposed Methodology which contains dataset and the proposed CNN model details. Section 3 is dedicated to Experimental Results whereas Sect. 4 is left for Discussions. Comparison of the proposed study with the state-of-art studies can also be found in this section. Finally, Sect. 5 concludes the paper.

Methodology

Dataset and software-hardware environment

The dataset used in this study contains the ECG trace images of patients suffering from COVID-19 and Cardiac diseases. To the best of author’s knowledge, this dataset is quite a rare dataset such that it is the only publicly available dataset [31] until the writing of this paper. The dataset includes 1937 different patient’s ECG data which was recorded using 12-lead with 500 Hz sample rate ECG Device “EDAN SERIES-3” installed in various clinical centers. After the manual review of the recorded ECG images by medical experts with experience in ECG, the dataset was divided into 5 distinct groups as shown in Table 1. Now that the images were collected from different institutions and patients, they differ in standard and resolution. Therefore, not all the images are appropriate to be used in this study. Total number of images in each group in original dataset and in dataset that is used in this study is demonstrated in Table 1. This dataset is multi-class which means that a patient cannot have more than one class at the same time.

Table 1 Dataset description

As can be seen in Table 1, the data is not balanced between the data groups. In addition to this, the number of images is not sufficient for an efficient DL based image processing study. Therefore, the dataset is augmented using scaling, translation and rotation to improve image classifier (CNN model) performance. The data augmentation is performed to reduce overfitting and memorizing problems as well as data imbalance problem. The number of images before and after data augmentation is demonstrated in Table 2. Figure 1 shows sample ECG trace images. All the experiments are conducted using Windows 10 (64-bit) operating system with Matlab R2019a software environment and NVIDIA GeForce GTX-850M GM107 GPU, Intel Core i7 5400 GPU 2.60 Ghz, 16.0 GB RAM hardware environment.

Table 2 Number of images used in this study for each classification task before and after data augmentation
Fig. 1
figure 1

Sample ECG trace images from dataset, a COVID-19 ECG, b Normal ECG, c Abnormal Heartbeats ECG and d Myocardial ECG

The proposed CNN model

Current literature suggests that CNN models of DL are very efficient and successful for image classification problems [25, 32,33,34]. A typical CNN model consists of two parts: feature extraction and classification. CNN performs feature extraction and classification through sequentially trainable layers placed one after the other. Feature extraction part of the CNN generally includes the convolutional and pooling layers whereas the classification part includes the fully connected and classification layers. The training process is started by performing layer-by-layer operations just after CNN receives the input data. Finally, a final output is given to compare with the correct (actual) result. The differences between the estimated result and the actual result produce an error which is transferred to all weights by the back-propagation algorithm. Weights are updated with each iteration to reduce the error. In this study, the diagnosis of COVID-19 disease is proposed using a novel deep CNN model by using only ECG trace images created from ECG signals of COVID-19 infected patients based on the abnormalities caused by the COVID-19 virus on the cardiovascular system. The proposed CNN model has 20 weighted layers, in which there are one input layer, four convolutional layers, five rectified linear unit (ReLU) layers, one normalization layer, five max pooling layers, 2 fully-connected layers, one dropout layer and one classification layer as shown in Fig. 2. The input images are resized as 224 × 224 × 3. The proposed CNN model in this study has been inspired from Visual Geometry Group (VGG-16) architecture [35]. In addition, the CNN architectures in the studies that were proposed for similar problems in the literature and that gave successful results have been thoroughly examined while creating the CNN architecture in this paper. For example, in [39] a 17 layered CNN architecture has been successfully used for tumor grading. Moreover, tumor detection has been achieved with an optimum 12 layered CNN architecture in [40]. Irmak E. has proposed a 14 layered CNN architecture for COVID-19 disease detection [7]. Adaptive moment estimation algorithm (Adam) is used as optimizer in the proposed CNN model [36]. CNN hyper-parameters are tuned such that Mini-batch Size is 32 [37, 38] Learning Rate is 0.001 [36, 39], Momentum is 0.99, and \({l}_{2}\) regularization is 0.0001 [9, 34].

Fig. 2
figure 2

The proposed CNN architecture

Performance evaluation metrics

Performance evaluation metrics should be used to evaluate the quality of the classification process after any image classification problem. Otherwise, the performance evaluation of the solution would be qualitative rather than quantitative. Therefore, well-known performance evaluation metrics are used to assess the performance of the CNN model in this study. These performance evaluation metrics are Accuracy, Specificity, Sensitivity, and Precision. The Area Under the Curve of the Receiver Operating Characteristic (ROC) known as AUC of ROC curve is another important performance evaluation metric which is successfully used in image classification problems. This metric is also used in this study to assess the performance of the CNN models. Equation 1 shows the corresponding formulas associated with these performance evaluation metrics. TP, TN, FP and FN stand for True Positive, True Negative, False Positive and False Negative, respectively.

$$\begin{gathered} {\text{Accuracy }} = \,\frac{{{\text{TP}} + {\text{TN}}}}{{{\text{TP}} + {\text{TN}} + {\text{FP}} + {\text{FN}}}} \hfill \\ {\text{Specificity }} = \,\frac{{{\text{TN}}}}{{{\text{TN}} + {\text{FP}}}} \hfill \\ {\text{Sensitivity }} = \,\frac{{{\text{TP}}}}{{{\text{TP}} + {\text{FN}}}} \hfill \\ {\text{Precision }} = \,\frac{{{\text{TP}}}}{{{\text{TP}} + {\text{FP}}}} \hfill \\ \end{gathered}$$
(1)

Experimental results

Five different classification tasks are performed using a novel CNN model for COVID-19 diagnosis. Tenfold cross-validation procedure is utilized for each experiment in this DL study in order to evaluate the performance of the study. The dataset is divided into 10 folds out of which 9 sets are used for training and the remaining one is used for testing. The experiments are repeated ten times. Classification performance for each task is evaluated for each fold, and the average classification performance of the model is calculated. High accuracies from training and validation phases are not meaningful without testing the trained and hyper parameter-tuned CNN on predicting unseen samples. Therefore, a test dataset is randomly assigned and separated along with training and validation datasets to test the performance of trained CNN on predicting samples; otherwise, the high accuracy may be due to biased dataset assignment. In the first classification task, COVID-19 vs. Normal classification task is performed. 650 COVID-19 infected patient ECG trace images and 720 healthy people ECG trace images are used for training and test of the CNN model. For this task, there are 1370 ECG trace images in total and these images are randomly separated as training, validation and test sets having the ratio of 60:20:20. In the second classification task, COVID-19 vs. Abnormal Heartbeats classification task is performed. 650 COVID-19 infected patient ECG trace images and 600 ECG trace images of abnormal heartbeats patients are used for training and test of the CNN model. For this task, there are 1250 ECG trace images in total and these images are randomly separated as training, validation and test sets having the ratio of 60:20:20. In the third classification task, COVID-19 vs. Myocardial Infarction classification task is performed. 230 COVID-19 infected patient ECG trace images and 230 ECG trace images of myocardial infarction patients are used for training and test of the CNN model. For this task, there are 460 ECG trace images in total and these images are randomly separated as training, validation and test sets having the ratio of 60:20:20. In the fourth classification task, COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction multi-classification task is performed. 650 COVID-19 infected patient ECG trace images, 600 ECG trace images of abnormal heartbeats patients and 300 ECG trace images of myocardial infarction patients are used for training and test of the CNN model. For this task, there are 1450 ECG trace images in total and these images are randomly separated as training, validation and test sets having the ratio of 60:20:20. In the fifth classification task, Normal vs. COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction multi-classification task is performed. 720 ECG trace images of healthy people, 650 COVID-19 infected patient ECG trace images, 600 ECG trace images of abnormal heartbeats patients and 300 ECG trace images of myocardial infarction patients are used for training and test of the CNN model. For this task, there are 2170 ECG trace images in total and these images are randomly separated as training, validation and test sets having the ratio of 60:20:20.

Because the CNN models are like black boxes, it is quite unclear how and what features are learned by CNN without displaying the activations of convolutional layers. Figure 3 demonstrates the activations of first convolutional layer. Simple features such as edges and colors are learned and activated in the first convolutional layers whereas more complicated features, which are characteristic key features for the last classification decision, are learned and activated in the deeper convolutional layers. The structure of the proposed CNN architecture is shown in Table 3.

Fig. 3
figure 3

Activations of convolutional layer

Table 3 The structure of the proposed network

Accuracy and Loss plot results for each classification task are shown in Fig. 4. The proposed method achieves an overall accuracy of 98.57%, 93.20%, 96.74%, 86.55% and 83.05% for COVID-19 vs. Normal, COVID-19 vs. Abnormal Heartbeats, COVID-19 vs. Myocardial Infarction binary classification tasks and COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction and Normal vs. COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction tasks as shown in Fig. 4a, b, c, d and e, respectively. Figure 5 shows Confusion Matrix results for each classification task whereas Fig. 6 shows ROC curves results for each classification task. AUC values of 0.9966, 0.9921 and 0.9771 are obtained for COVID-19 vs. Normal, COVID-19 vs. Abnormal Heartbeats and COVID-19 vs. Myocardial Infarction binary classification tasks, respectively.

Fig. 4
figure 4

Accuracy and Loss plot for classification of a COVID-19 vs. Normal, b COVID-19 vs. Abnormal Heartbeats, c COVID-19 vs. Myocardial Infarction, d COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction and e Normal vs. COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction

Fig. 5
figure 5

Confusion Matrix for classification of a COVID-19 vs. Normal, b COVID-19 vs. Abnormal Heartbeats, c COVID-19 vs. Myocardial Infarction, d COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction and e Normal vs. COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction

Fig. 6
figure 6

ROC Curve for classification of a COVID-19 vs. Normal, b COVID-19 vs. Abnormal Heartbeats, c COVID-19 vs. Myocardial Infarction, d COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction and e Normal vs. COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction

All the experimental results for each classification task are collected in Table 4. Classification performance for each task is evaluated for each fold, and the average classification performance of the model is calculated. The proposed CNN model can distinguish COVID-19 disease from Normal, Abnormal Heartbeats and Myocardial Infarction cases with high accuracies of 98.57%, 93.20%, 96.74% and AUC value of 0.9966, 0.9771, 0.9905, respectively. The proposed model is also capable of differentiate between COVID-19, Abnormal Heartbeats and Myocardial Infarction with a satisfactory classification rate of 86.55% and between Normal vs. COVID-19, Abnormal Heartbeats and Myocardial Infarction with a satisfactory classification rate of 83.05%.

Table 4 Performance evaluation metrics in terms of TP, TN, FP, FN, accuracy, AUC, specificity, sensitivity and precision

Discussion

Although more than four million people worldwide have already died from COVID-19 disease, the virus still continues to spread very rapidly especially due to the new variants. RT-PCR tests, which have been used for the diagnosis of the disease from the first moment the virus emerged, are still the most widely used diagnostic method in practice today. It is known that the success rate of these tests is between 60 and 70% which is pretty low to fight against the highly contagious disease. Intensive scientific studies conducted to diagnose COVID-19 disease with a higher success rate have given birth to radiological imaging based diagnostic methods. It was found that the disease could be diagnosed with higher accuracy with radiological imaging methods. As a result, especially DL-based image processing methods have been developed for COVID-19 disease diagnosis. Despite the high success of radiological imaging methods, these methods have not replaced standard RT-PCR tests for COVID-19 disease diagnosis. The lack of sufficient amount of radiological imaging devices, their expensiveness, and slow results compared to the spread of the pandemic are among the main reasons for this consequence. The current situation clearly shows the necessity of a fast, reliable, inexpensive, harmless and easily accessible method for the diagnosis of COVID-19 disease. Despite the excellent advances of artificial intelligence, machine learning, deep learning and ECG tools in medicine in recent years, especially regarding diagnosis and treatment, the diagnosis of COVID-19 disease from ECG data using deep learning methods is still far behind. In this study, the diagnosis of COVID-19 disease is successfully performed using a novel deep CNN model by using only paper-based ECG trace images created from ECG signals of COVID-19 infected patients based on the abnormalities caused by the COVID-19 virus on the cardiovascular system. An overall classification accuracy of 98.57%, 93.20%, 96.74% and AUC value of 0.9966, 0.9771, 0.9905 is achieved for COVID-19 vs. Normal, COVID-19 vs. Abnormal Heartbeats and COVID-19 vs. Myocardial Infarction binary classification tasks, respectively. In addition, an overall classification accuracy 86.55% and 83.05% is achieved for COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction and Normal vs. COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction multi-classification tasks, respectively. There are only two quite similar previous studies considering the latest literature. In the first study, COVID-19 disease has been performed from ECG data using well-known pre-trained DL models such as InceptionV3, MobileNetv2, DenseNet201, ResNet18, ResNet50 and ResNet101 [26]. The experimental results show that the pre-trained DenseNet201 outperforms other CNN models for COVID-19 vs. Normal binary classification with an accuracy of 99.1%. In addition to this, DenseNet201 outperforms other CNN models for COVID-19 vs. Normal vs. Other Cardiovascular diseases three-classification task with an accuracy of 97.36%. On the other hand, InceptionV3 outperforms other CNN models for COVID-19 vs. Normal vs. Myocardial Infarction vs Abnormal Heartbeats vs. Recovered Myocardial Infarction multi-classification task with an accuracy of 97.83%. In the second study, the possibility of diagnosing COVID-19 disease from ECG data has been investigated using a novel CNN model [27]. In the aforementioned study, the proposed method has achieved an accuracy rate of 81.08% for COVID-19 vs. Normal binary classification using ECG trace images. Only 250 ECG trace images of COVID-19 patients and 83 ECG trace images of normal people have been used for training and test of CNN model.

There are successful studies about COVID-19 disease diagnosis from radiological imaging using DL based image processing methods. For example, Ozturk et al. have used the DarkNet model as a classifier for the you only look once (YOLO) real time object detection system to predict COVID-19 disease from chest X-ray images with an accuracy of 98.08% [40]. In another study Apostolopoulos et al. have achieved 96.78% accuracy for COVID-19 disease diagnosis from chest X-ray images using transfer learning technique of DL phenomenon [17]. Irmak E. has also used chest X-ray images and a novel CNN model for the diagnosis of COVID-19 disease with an satisfactory accuracy rate of 98.92% [7]. Togacar et al. have achieved 99.27% diagnosis rate for COVID-19 disease using DL models. Ismael et al. have introduced a DL based approach for the COVID-19 diagnosis using chest X-ray images obtaining an accuracy of 94.7% [41]. Pathak et al. have obtained accuracy of 93.02% in COVID-19 disease diagnosis using Deep Transfer Learning approach [42]. There are also studies that used chest CT images for COVID-19 disease diagnosis. For instance, Li et al. have proposed a DL based method for quantitative analysis of COVID-19 disease diagnosis [23]. Chen et al. have studied COVID-19 disease diagnosis from chest CT images using DL based model and obtained 96% accuracy rate. Song et al. have developed a DL based CT diagnosis system for COVID-19 disease diagnosis and achieved an accuracy value of 86%. Amyar et al. were another researcher group who accurately diagnosed COVID-19 disease from CT image using DL based image processing model with an accuracy rate of 94.67% [43].

There are well-known existing popular pre-trained CNN models which have been trained on different classification purposes in the literature. It is worth comparing the results obtained by the proposed CNN model in this paper with the results of those existing popular state-of-the-art CNN models. Therefore, the same experiments with the same dataset are conducted using the popular well-known pre-trained CNN models such as ResNet-50, ResNet-101, DenseNet, InceptionV3, VGG-16 and VGG-19. The results are demonstrated in Table 5.

Table 5 Overall accuracy (%) results of different classification tasks for different well-known CNN models

Considering the experimental results, discussions, literature survey etc. the main contribution of the proposed study in this paper can be summarized as follows:

  • The diagnosis of COVID-19 disease is successfully performed using a novel deep CNN model by using only ECG trace images created from ECG signals of COVID-19 infected patients based on the abnormalities caused by the COVID-19 virus on the cardiovascular system.

  • The proposed method achieves an overall accuracy of 98.57%, 93.20%, 96.74%, 86.55% and 83.05% for COVID-19 vs. Normal, COVID-19 vs. Abnormal Heartbeats, COVID-19 vs. Myocardial Infarction binary classification tasks and COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction and Normal vs. COVID-19 vs. Abnormal Heartbeats vs. Myocardial Infarction multi-classification tasks, respectively.

  • Although the main focus of this study is the diagnosis of COVID-19 disease, other cardiovascular diseases such as, Abnormal Heartbeats, Myocardial Infarction are also successfully diagnosed using CNN method.

  • The proposed method in this paper is believed to be an alternative high-accurate and effective method to fill the gap for COVID-19 disease diagnosis taking into account the promising ECG features such as accessibility, reliability, low cost, real-time monitoring, harmlessness etc.

There are of course some limitations of this study. Despite the fact that the publicly available dataset used in this study includes ECG data of different patients, the proposed study needs to be assessed with different datasets. The fact that the dataset used in this study is the only publicly available paper-based ECG trace images data source shows the importance of sharing more ECG data to further develop diagnostic and treatment methods. Another concern is the ambiguity which has been emphasized in some COVID-19 reports that can be briefly stated that the changes in the cardiovascular system may not be caused by the COVID-19 disease alone. Other upcoming medical studies on COVID-19 disease and sharing more datasets will eliminate these concerns and limitations.

Conclusion

In this study, it is aimed to make a fast and accurate diagnosis of COVID-19 disease from the ECG trace images of patients with the DL based CNN method, based on the scientific reports revealing that the COVID-19 disease causes changes in the cardiovascular system. A novel CNN model successfully differentiates COVID-19 cases from Normal, Abnormal Heartbeats and Myocardial cases with overall accuracy of 98.57%, 93.20% and 96.74%, respectively. In addition, the proposed model can differentiate between COVID-19, Abnormal Heartbeats and Myocardial Infarction with an overall accuracy of 86.55%. Moreover, it can differentiate between Normal, COVID-19, Abnormal Heartbeats and Myocardial Infarction with an overall accuracy of 83.05%. The proposed method outperforms the well-known CNN models and achieves promising performance. Although there are many successful studies for the diagnosis of COVID-19 disease from radiological images, this fully automatic proposed study is much more advantageous in the setting of the pandemic as it uses ECG data, which is faster, easier and cheaper to access the same diagnosis compared to radiological images. In future work, the diagnostic method proposed in this study has the potential to be actively used during pandemic periods by being installed on mobile phones together with real-time cloud-based systems.