Pneumonia detection from chest X-ray images using Tensorflow

Kaggle has a wonderful source of chest X-ray image datasets for pneumonia and normal cases. There are significant differences between the image of a normal X-ray and an affected X-ray. Machine learning can play a pivotal role in determining the disease and significantly boost the diagnosis time as well as reduce human effort. In this article, I will walk through this dataset and classify the images with an evaluation accuracy of 90%

Image by Author

I have been motivated by the work done here on the datasets between cats and dogs and reused the code block for dataset pipeline. First we need to import the necessary packages.

#image-classification #x-rays #tensorflow #dnn #python #x-ray image classification and model evaluation

X-ray Image Classification and Model Evaluation
1.15 GEEK