AI for Pneumonia Detection


Jun. 20

3.65 K


The risk of pneumonia is enormous for many, especially in the nations where billions face energy poverty and rely on polluting forms of energy. “The WHO estimates that over 4 million premature deaths occur annually from household air pollution-related diseases including pneumonia” – WHO

Pneumonia, an AI-driven web app developed by Let’s Nurture, is an easy to use Pneumonia detector from Chest X-ray Images.

The Challenge

Build an AI to detect whether a victim is suffering from pneumonia or not just by looking at chest X-ray images.

A CNN (convolutional neural network) model trained from scratch to classify the presence of pneumonia from a collection of chest X-ray images data. We at Let’s Nurture constructed a convolutional neural network model to get features from a given chest X-ray image.


The original dataset consists of three main folders (training, testing, and validation folders) and two subfolders containing pneumonia (P) and normal (N) chest X-ray images, respectively. This dataset was organized and carried out as part of patients’ routine medical care. The dataset can be downloaded from the Kaggle website which can be found here.

How does CNN actually see the images?

A CNN (convolutional neural network or ConvNet) is one of the most used and effective algorithms for deep learning, in which a model learns to perform classification tasks directly from images, video, text, or sound.

[Image Kernels by Victor Powell]

In the past couple of years, cutting edge technology has started to become available to the software development community. Industrial strength packages such as Tensorflow have given us the same building blocks that Google uses to write deep learning applications for embedded/mobile devices to scalable clusters in the cloud and stochastic optimizers that make efficient applications possible.

Environment and tools


After training, a separate test set was used to evaluate the accuracy of the CNN classifier. The trained model achieved an accuracy of 93%, which is substantially better than the baseline accuracy.

AI-based Pneumonia detector might not be a marketable,/saleable product yet, but it makes me excited to see how easy it is to get started with. With even more open data we at Let’s Nurture are optimistic that we can achieve 100% accurate product.

Why choose Let’s Nurture for AI products?

We have been offering Python development services . We have a team of seasoned AI/ML engineers, who have been extensively working on healthcare domain for our customers.

In this era of the technology revolution, Artificial Intelligence is strengthening its roots deep inside all verticals of telemedicine and remote healthcare industry practices. If you want to know more about our skills and our ideas behind them, then why wait? Get in touch with us.


Lets Nurture
Posted by Lets Nurture

Blog A directory of wonderful things

6 Business Models That Online Marketplaces Use to Earn Money

As the ongoing pandemic continues to push consumers to shop online and get delivery directly to their homes in a bid to stay safe from the spread of Covid-19, online …

Store sensitive data using KeyChain

There is always some sensitive data that our App holds for instance, Passwords, Touch Id, Certificates, Tokens or Biometric information. In general, React Native does not come bundled with any …

How to Tackle & Manage SKUs as an Ecommerce Business in 2021

If you are just starting to build up your eCommerce business, you may have started thinking about the size of your inventory but not necessarily, how you are going to …

How to setup Contact form 7 plugin In WordPress

Contact Form 7 is the most popular and oldest WordPress contact form plugin. It is easy to integrate and equally easy to deploy. For setup contact form 7 follow the …

Setting up a multi-platform SwiftUI project

What is SwiftUI? Before SwiftUI, we were designing iOS applications User Interface into storyboards. Storyboards are an imperative user interface. From June 2020, Apple released SwiftUI for design applications in …

Steps to Create Apple Enterprise Developer Account

The Apple Developer Enterprise Program allows large organizations to develop and deploy proprietary, internal-use apps to their employees. This program is for specific use cases that require private distribution directly …

Using Deep Learning for Image-Based Plant Disease Detection

Introduction Disease detection in plants plays a very important role in agriculture. Crop diseases serve as a major threat to the food supply. Identifying disease by just looking at images …

React Native: First Demo

Let us start to build our first React Native application on Windows as a development operating system and Android as a target operating system. If you are looking to set …

AdMob Mediation in Android

We all know about Admob Ads very well. Here, I would like to explain what mediation features and how it will be useful for developers. Let’s take a simple one …

How to Setup Twilio Package for SMS in Laravel

In your application workflow, you may need to pass important information to your users. Most services require your users to have an internet connection and unfortunately, this isn’t always the …

Kotlin Coroutines in Android

Multithreading is a well known programming concept which all developers might have come across. The concept of multithreading is a vast subject and includes complex mechanisms in it, but in …

Google in app purchase in android app

Before we start with app purchase, Let’s get a basic idea of what type of digital content we are selling to users. Google’s Billing system gives us mainly two types …

COVID lockdown has brought the digital future forward

The Novel Coronavirus epidemic that has spread its tentacles worldwide almost brought business and the economy to its knees. With no way of attending office, how are employees supposed to …

The Impact of COVID 19 on Restaurant & Hospitality Industry

Coronavirus has literally crippled the economies of different countries catastrophically and has forced many industries to put down their shutters for long. Some have closed down temporarily abiding by the …

Is “Alert Fatigue” Your Biggest Cyber Threat?

According to a study done by CRITICALSTART, nearly 38% of SOCs turn off high-volume alerting features when they are inundated with alerts. The study also reported that 78% of IT …

10 most extensively used Python libraries

Python, being one of the most sought after programming languages, has a huge collection of libraries. In fact, this expansive set of libraries can be considered as one of the …

AI for Food Detection

“Four simple ways to fight diabetes/Obesity: Go for regular medical check-ups; Exercise more; Watch your diet, and Cut down on soft drinks.” – Singapore PM Lee Hsien Loong (Nvidia Research …

Django vs Laravel vs Node js

Web Frameworks are basically software packages that ease the complexity of web development. They come with many inbuilt features that are common in web development, thus minimizing the development time, …

We use cookies to give you tailored experiences on our website.