Authors: Mr. K. Srikanth, Beeraka Sharmila, Puppala Madhuri Lakshmi, Darla Ratan Abhishek, Pitchuka Veerababu, Seeram Jaya Venkata Somesh
Abstract: Pneumonia is a significant respiratory disease and one of the top causes of illness and death around the world, especially among children and the elderly. Timely and accurate diagnosis is essential for effective treatment and better patient outcomes. Recent developments in deep learning, particularly Convolutional Neural Networks (CNNs), have shown impressive results in medical image analysis by automatically identifying important patterns in complex image data. This project introduces a real-time pneumonia identification system that combines CNN-based classification with Explainable Artificial Intelligence (XAI) techniques to improve diagnosis accuracy and model clarity. The proposed system processes digitized chest X-ray images through an efficient preprocessing pipeline. This includes noise removal, image normalization, and background feature consideration before sending the images to a trained deep learning model. The ensemble model merges two strong CNN architectures, VGG16 and ResNet50, and uses their complementary feature extraction abilities to boost classification performance. The model classifies Bacterial Pneumonia, Viral Pneumonia, and normal cases, providing clearer clinical insights. Experimental results show high accuracy, strong sensitivity, and real-time inference capability. This allows for pneumonia detection within seconds, which is vital in clinical settings that need quick diagnoses. To tackle the black-box issue of deep learning models, Explainable AI techniques like Grad-CAM++ (Gradient-weighted Class Activation Mapping++) and Score-CAM are used to visualize the key lung areas that affect the model’s predictions. The system also offers confidence scores with visual explanations, enhancing understanding and aiding clinical decision-making. Overall, the proposed CNN and XAI framework offers an efficient, clear, and clinically helpful solution for automated pneumonia detection. The system has strong potential to assist radiologists, boost diagnostic confidence, and contribute to early disease detection and improved patient care.
DOI: