Tyre Pressure Detection using CNN

Photo by Nikolay Ivanov for Lobster on Dribbble

This Model uses Images of car’s tyre to predict whether the tyre is Full or Flat or if no tyre is detected.

The Dataset contains 3 classes — :

Full Tyre

It contains Images of car Tyres who have proper air pressure and hence they are considered full. Here is an example of how a full tyre looks -:

Full Tyre

Flat Tyre

These tyres don’t have enough air pressure so they are flat i.e. they need to be filled again and checked or else it may become the very reason of an accident. Here is an example of how a flat tyre looks -:

Flat Tyre

No- Tyre

These images represent the scenario when the image contains something else other than a tyre or it may not contain proper image of tyre. Here is an example of no- tyre class :-


Here is a demonstration of how to build this model using Tensorflow and Keras using Python.

Importing Libraries

Loading the Dataset


Model Building

Model Fitting

Plotting Accuracy of Model

Plotting Loss of Model


No Tyre
Full Tyre
Full Tyre

We can see that our Model is performing well which the Predictions are verifying also. Now we will save our Model.

Saving and deepCC

deepCC is a framework which converts the Deep Learning Models into an executable file which can be used in IOT devices like Arduino, MCU’s, etc.

Here is the link for the Notebook — Click Here

Thank you for reading this article, have a great day!

Credit : Tanmay Mishra




Simplifying AI development for EDGE devices

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to Generate Techno Music using Deep Learning

We have two problems: fools and roads

Object Localisation’s Hello World!

Before MTH 513, I had never studied or even looked that deep into machine learning or…

การวิเคราะห์ประสิทธิภาพของ Machine Learning Model ด้วย Learning Curve

How-To: Build a Domain Expert Bot with Watson

Scan Barcodes in Flutter Using Firebase’s ML Kit

An Extensive Guide for Health Care Data Analysis using R(Machine Learning Algorithms, GLM)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
AI Technology & Systems

AI Technology & Systems

Simplifying AI development for EDGE devices

More from Medium

Model Building and Model Evaluation

Using Convolutional Neural Networks to detect fake images



Hindi Character Recognition