In this project we see how to build a device that detects maturation stages based on color with a neural network model. As fruits and vegetables ripen, they change color due to the four families of pigments: chlorophyll (green), carotenoids (yellow, red, orange), flavonoids (red, blue, purple), betalain (red, yellow, purple).

These pigments are groups of molecular structures that absorb a specific set of wavelengths and reflect the rest. Unripe fruits are green due to the chlorophyll in their cells. As they mature, the chlorophyll breaks down and is replaced by orange carotenoids and red anthocyanins. These compounds are antioxidants that prevent the fruit from spoiling too quickly in the air.


After doing some research on color change processes during fruit and vegetable ripening, we decided to build an artificial neural network (ANN) based on the classification model to interpret the color of fruit and vegetables and predict ripening stages.

Before building and testing the neural network model, we developed a web application in PHP (running on a Raspberry Pi 3B+) to collect the color data generated by the AS7341 visible light sensor and create a dataset on the maturation stages . We used an Arduino Nano 33 IoT to send the produced data to the web application.
After completing the dataset, we built the artificial neural network (ANN) with TensorFlow.


More info


Recommended Posts

Download Our App

Samsung Online Shop Support If you’re blind or partially sighted, you’ve come to the right place for products that help you live independently and enjoy everyday activities. Why not have a look at our best sellers, our new products, or our special […]

Online Shopping Video Guide

Shop Online Fashion In Indonesia H&M Indonesia From books to beds, footwear to fridges – your unwanted items help fund our lifesaving research. Find pre-loved clothes, jewellery, books, furniture and more on our eBay store. Take quality product photos on your iPhone […]