Skip to content

Divyam6969/Pneumonia-Detection-AI

Repository files navigation

Pneumonia detection system using Tensorflow keras library

Pneumonia is a common and potentially life-threatening lung infection that affects millions of people worldwide. Early detection and treatment are critical for successful management of this disease. Artificial Intelligence (AI) and Machine Learning (ML) have shown tremendous promise in improving the accuracy and speed of medical diagnoses, including pneumonia detection. In this project, we will explore the application of AI and ML techniques to detect pneumonia from chest X-ray images. By developing a pneumonia detection model, we aim to assist healthcare professionals in providing accurate and timely diagnosis to patients, ultimately improving outcomes and saving lives.

My model is trained to classify chest x-ray images into three categories: Normal, Viral Pneumonia, or Bacterial Pneumonia

The file structure for my dataset is

Dataset used :

you can download dataset from here Kaggle Chest xray pneumonia Dataset

Model used :

VGG 16 https://www.mathworks.com/help/deeplearning/ref/vgg16.html#:~:text=VGG%2D16%20is%20a%20convolutional,%2C%20pencil%2C%20and%20many%20animals

Result :

Pneumonia chest xrays gets classified into Viral , Bacterial or Normal

when i passed an image that was of Bacterial Pneumonial Category

when i passed an image that was of normal category

when i passed an image that was of Viral Pneumonial category

Libraries used :

Tensorflow library - Keras

Kaggle notebook link for the project I made using another way (which classifies as NORMAL or PNEUMONIAL)

chest-xray-detection-kaggle.ipynb
https://www.kaggle.com/code/divyam6969/chest-xray-classifier