Skip to content

Local Chapter project

Automated Detection of Adulterated Milk using Computer Vision and Deep Learning

Computer VisionDeep Learning / Computer VisionImage processingPattern RecognitionData ScienceDeep learning / Machine Learning
Start date
April 18, 2023
Finish date
June 20, 2023
Project status
completed
Automated Detection of Adulterated Milk using Computer Vision and Deep Learning

Challenge background

The adulteration of milk is a problem affecting Kenyans and many people all over the world. 1, 2 The problem is that some farmers and milk vendors add illegal substances (adulterants) to milk to prolong its shelf life or increase its volume quantity.3, 4 Adulterants like soap, starch, table sugar, detergent, urea, formalin, glucose, salt, water, etc are added to milk making it lose its nutritive value, organoleptic properties, and even hazardous for human consumption. The problem is on the rise because of existing market gaps in the demand and supply of milk products and is causing a significant public health issue.

Currently, adulteration of milk is determined using test kits that are based on reagents for colour detection and laboratory chemicals for qualitative analysis. Chemicals and reagents like hydrochloric acid, methylene blue, iodine solution, phenolphthalein, sodium hypochloride, etc. are used to determine the presence of table sugar, micro-organisms, starch, soap, ammonium sulphate respectively. These chemicals and reagents are non-reused once consumed making them costly. Again it takes time to transport milk samples to laboratories for testing and even setting up several milk tests. Furthermore, the test results require skilled labour to analyze and make interpretations.

Switching from using test kits and reagents to determine the presence of adulterants in milk to an automated Artificial Intelligent data product would have significant benefits in improving milk’s demand and supply value chain as well as cost benefits.

The problem

Determining adulteration of milk is critical in milk's demand and supply value chain. However, the current approaches to distinguishing between adulterated milk and adulteration-free milk are constrained by the requirement of human interpretation. In addition, the current methods only measure the presence or lack of adulterants in milk but are limited in measuring the concentration levels of adulterants in the milk being tested.

Milk product has characteristics that can be extracted using computer vision and deep learning technologies and analyzed. These artificial intelligence (AI) techniques have not been widely used in analyzing milk product. An AI solution can help identify adulterated milk from adulteration-free milk with precision.

Goal of the project

In this project, the Omdena Kenya, Nairobi Chapter team aims to develop a computer vision solution that detects the presence of adulterants in milk using features learned from the milk product (Deep Learning).

The project's chief goal is to build an AI data tool/product for distinguishing adulterated milk from non-adulterated milk.

With a duration of 8-weeks, this project aims to achieve the following:

  • Data collection
  • Data Preprocessing
  • Feature Extraction
  • Model Development and Training
  • Model Evaluation
  • App development

Project timeline

  1. 1

    Week 1

    Research previous work (Literature Review)

  2. 2

    Week 2

    Data Collection

  3. 3

    Week 3

    Preprocessing

  4. 4

    Week 4

    Feature Extraction

  5. 5

    Week 5

    Model Development

  6. 6

    Week 6

    Model Training

  7. 7

    Week 7

    Model Evaluation

  8. 8

    Week 8

    App Development

What you'll learn

Video and Image processing, computer vision, Video and Image Analysis, Deep Learning, Pattern Recognition, Data Science, Project Management.

Get involved

What to expect from a Local Chapter project

First project

  • Welcomes beginners and experienced practitioners.
  • Focuses on education and collaborative delivery.
  • Produces open-source project work.

Benefits

  • Address a significant real-world problem with your skills.
  • Build your project portfolio.
  • Demonstrate your work to organizations and project partners.

Requirements

  • Working English communication.
  • A learning mindset.
  • Commitment to collaborative project work.