Open Access iconOpen Access



A Deep Learning to Distinguish COVID-19 from Others Pneumonia Cases

Sami Gazzah1,*, Rida Bayi2, Soulaimane Kaloun2, Omar Bencharef2

1 Laboratory of Advanced Technology and Intelligent Systems, National Engineering School, University of Sousse, Sousse, 4054, Tunisia
2 Laboratory of Computer engineering and systems, Faculty of Science and Technologies, Cadi Ayyad University, Marrakech, 40000, Morocco

* Corresponding Author: Sami Gazzah. Email: email

Intelligent Automation & Soft Computing 2022, 31(2), 677-692.


A new virus called SARS-CoV-2 appeared at the end of space 2019 in Wuhan, China. This virus immediately spread throughout the world due to its highly contagious nature. Moreover, SARS-CoV-2 has changed the way of our life and has caused a huge economic and public health disaster. Therefore, it is urgent to identify positive cases as soon as possible and treat them as isolated. Automatic detection of viruses using computer vision and machine learning will be a valuable contribution to detecting and limiting the spread of this epidemic. The delay introduction of X-ray technology as diagnostic tool limited our ability to distinguish COVID-19 from other pneumonia cases. These images can be feed into a machine learning system that can be trained to detect lung infections, which can arise in acute pneumonia. However, some efforts attempt to detect SARS-CoV-2 using binary data and such combinations, which may leading to confusion. Indeed, in this case, the classifier’s training minimizes the intra-class similarity between pneumonia in COVID-19 and typical pneumonia. Due to the fact that in addition to SARS-CoV-2 pneumonia, there are two other common types: viral and bacterial pneumonia. They all appear in similar shapes, thus making them difficult to distinguish. This research proposed a deep multi-layered classification of pneumonia based on a neural network using chest X-ray images. The experiment was conducted using the combination of two images from an open-source dataset collected by Cohen GP and Kagel. The data consists of 4 categories: normal pneumonia, bacterial pneumonia, viral pneumonia, and COVID19, for 2,433 images. We considered two architectures: Xception and ResNet50. In addition, a comparison was made between the two models. The pre-trained Xception model in 20 epochs provided a classification accuracy of 86%.


Cite This Article

APA Style
Gazzah, S., Bayi, R., Kaloun, S., Bencharef, O. (2022). A deep learning to distinguish COVID-19 from others pneumonia cases. Intelligent Automation & Soft Computing, 31(2), 677-692.
Vancouver Style
Gazzah S, Bayi R, Kaloun S, Bencharef O. A deep learning to distinguish COVID-19 from others pneumonia cases. Intell Automat Soft Comput . 2022;31(2):677-692
IEEE Style
S. Gazzah, R. Bayi, S. Kaloun, and O. Bencharef "A Deep Learning to Distinguish COVID-19 from Others Pneumonia Cases," Intell. Automat. Soft Comput. , vol. 31, no. 2, pp. 677-692. 2022.


cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 2426


  • 1229


  • 2


Share Link