Article · 27 Dec 2023
Conference abstractPublished 8 Apr 2026
X-Ray Image Classification for Pneumonia Detection Using PyTorch CNN
Carnegie Mellon University, USA
Abstract
Select any words in the title or abstract, or press this and choose a sentence.
Pneumonia is a leading cause of morbidity and mortality worldwide, particularly among children under five years of age. Chest X-ray imaging remains the most widely used diagnostic tool, yet manual interpretation is time-consuming and subject to variability across radiologists. To address this challenge, we developed a convolutional neural network (CNN)-based framework for automated pneumonia detection using chest X-ray images. The dataset, sourced from the publicly available Kaggle repository, contains 5,863 pediatric anterior-posterior chest X-ray images categorized as “Normal” or “Pneumonia.” Images underwent quality control to remove unreadable scans and were validated by expert physicians to ensure reliable ground truth annotations. Data were split into training, validation, and test sets, with augmentation techniques such as flipping, rotation, and scaling applied to improve model generalization. The classification model was implemented in PyTorch using a CNN architecture, with experiments comparing custom designed models and transfer learning with pre-trained networks such as VGG16. Model performance was evaluated using accuracy, precision, recall, and F1-score. The results demonstrated that CNN-based models achieved high diagnostic performance, with transfer learning approaches further enhancing classification accuracy. The system reliably differentiated between normal and pneumonia cases, reducing the risk of false negatives, which are critical in medical diagnosis. This study highlights the potential of deep learning models to serve as efficient, cost-effective diagnostic support tools in healthcare, particularly in resource-limited settings where radiologist expertise may be scarce. Future work will focus on expanding the dataset, integrating multi class classification for bacterial versus viral pneumonia, and validating the approach in clinical workflows. The normal chest X-ray(left panel) depicts clear lungs without any areas of abnormal opacification in the image. Bacterial pneumonia (middle panel) typically exhibits a focal lobar consolidation, in this case in the right upper lobe (white arrows), whereas viral pneumonia(right panel) manifets with a more diffuse "interstitial" pattern in both lungs.
Subjects
Pharmaceutical SciencesAsk about this article
Answers come only from this article's title, abstract and keywords, each sentence pointing to where it comes from. Your question is sent to OpenAI to write the answer. Scholars Central does not store it.
Similar by topic
Research article · 17 May 2021
The Application of Artificial Intelligence Technique (CNN-Alexnet) in Diagnosing COVID-19 Using Chest X-ray Images
Review article · 2021
X-ray Sensor Used for Digital Dental Imaging
Research article · 30 Jun 2014
Research of X-ray image fast de-noising method of power equipment based on GFNL algorithm
Research article · 2020
The Value of Standing X-ray in Detecting Physiological Spondylolisthesis in Patients with Single Disc Prolapse with Normal Intensity MRI Findings
More from this journal
The newest in Journal of Clinical Trials.
Case report · 10 Aug 2026
Tuberculosis Associated Spondylolisthesis and Radiculopathy
Short communication · 31 Jul 2026
Understanding Bioavailability as a Key Element in Effective Therapeutic Delivery
Research article · 14 Jun 2026
Ensuring Rights and Dignity in Ethical Practices of Clinical Studies with Vulnerable Group and Safeguarding Vulnerable Group Act (2006)
Conferences in this field
Upcoming conferences in this field.
Follow
New articles from what you follow go into your email digest, once you agree to alert emails.
- JournalJournal of Clinical Trials
- SubjectPharmaceutical Sciences
- BylineArticles whose byline prints “Janvier Nshimyumukiza”

