Abstract
Pneumonia is a disease that threat humanity to this day. Even though we have developed vaccines and medicines, many lives are still lost every year due to this disease. So we have made an effort to develop an algorithm which would be able to detect this disease in an early stage to help people with the diagnosis. We have developed a Convolutional Neural Network (CNN) based Deep Learning (DL) model that detects pneumonia from the X-ray image of patients. This helps in classifying a given image, which, in turn, helps the physicians and other medical persons for easier diagnosis. In this study we have compared the outputs from two CNN based DL models: a 3 layered model and another 10 layered model. We have taken the chest x-ray images of different patients for developing and testing the proposed algorithm in Python platform.