Related Experiment Video
Updated: Aug 13, 2026

Fluorescent Paper Strips for the Detection of Diesel Adulteration with Smartphone Read-out
Published on: November 9, 2018
On-site colorimetric food spoilage monitoring with smartphone embedded machine learning
Vakkas Doğan1, Melodi Evliya2, Leyla Nesrin Kahyaoglu2
1Department of Electrical and Electronics Engineering, Izmir Katip Celebi University, 35620 Izmir, Turkey.
Abstract:
Real-time and on-site food spoilage monitoring is still a challenging issue to prevent food poisoning. At the onset of food spoilage, microbial and enzymatic activities lead to the formation of volatile amines. Monitoring of these amines with conventional methods requires sophisticated, costly, labor-intensive, and time consuming analysis. Here, anthocyanins rich red cabbage extract (ARCE) based colorimetric sensing system was developed with the incorporation of embedded machine learning in a smartphone application for real-time food spoilage monitoring. FG-UV-CD100 films were first fabricated by crosslinking ARCE-doped fish gelatin (FG) with carbon dots (CDs) under UV light. The color change of FG-UV-CD100 films with varying ammonia vapor concentrations was captured in different light sources with smartphones of various brands, and a comprehensive dataset was created to train machine learning (ML) classifiers to be robust and adaptable to ambient conditions, resulting in 98.8% classification accuracy. Meanwhile, the ML classifier was embedded into our Android application, SmartFood++, enabling analysis in about 0.1 s without internet access, unlike its counterpart using cloud operation via internet. The proposed system was also tested on a real fish sample with 99.6% accuracy, demonstrating that it has a great advantage as a potent tool for on-site real-time monitoring of food spoilage by non-specialized personnel.

