A simple Chest, Hand and foot X-Ray classifier using Fastai(v3)

Source: Deep Learning on Medium

<a style=”background-color:black;color:white;text-decoration:none;padding:4px 6px;font-family:-apple-system, BlinkMacSystemFont, &quot;San Francisco&quot;, &quot;Helvetica Neue&quot;, Helvetica, Ubuntu, Roboto, Noto, &quot;Segoe UI&quot;, Arial, sans-serif;font-size:12px;font-weight:bold;line-height:1.2;display:inline-block;border-radius:3px” href=”https://unsplash.com/@owenbeard?utm_medium=referral&amp;utm_campaign=photographer-credit&amp;utm_content=creditBadge” target=”_blank” rel=”noopener noreferrer” title=”Download free do whatever you want high-resolution photos from Owen Beard”><span style=”display:inline-block;padding:2px 3px”><svg xmlns=”http://www.w3.org/2000/svg” style=”height:12px;width:auto;position:relative;vertical-align:middle;top:-2px;fill:white” viewBox=”0 0 32 32″><title>unsplash-logo</title><path d=”M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z”></path></svg></span><span style=”display:inline-block;padding:2px 3px”>Owen Beard</span></a>

A simple Chest, Hand and foot X-Ray classifier using Fastai(v3)

I built a simple X-ray classifier to analyze and categorize them as either Hand, Foot or Chest images.

The image dataset was generated from a google images search using this handy tool

The model is deployed on Render at [X-ray Classifier](https://xrayclassifier-fastai.onrender.com/)
This was built using this[example](https://github.com/render-examples/fastai-v3).

The code for the model and tweaks are based on the work from Lesson 1 and Lesson 2 using Resnet34.
The model had an accuracy of about 96% but had some difficulty differentiating between hand and foot Xrays, perhaps because both have similar architecture.

Confusion Matrix

The code is available in this [Jupyter Notebook](https://github.com/keplaxo/fastai-v3xrayclassifier/blob/master/X_RAY_CLASSIFIER_FASTAI.ipynb) on GitHub.

Possible Use Cases
As a radiologist, speeding workflows for image reporting saves both the patient and referring physician time. Implementing AI for image triage and sorting is one way that deep learning can be used.

I am just kicking off my Fastai V3 course(Lesson 1 and 2) and hope to have more projects to showcase with real-life datasets from my research and work in Africa, where I believe AI is one solution to the shortage of access to radiologists and other cadres of health personnel.

Do check out my work and any feedback would be appreciated.