IoT System for Gluten Prediction in Flour Samples Using NIRS Technology, Deep and Machine Learning Techniques

Gluten is a natural complex protein present in a variety of cereal grains, including species of wheat, barley, rye, triticale, and oat cultivars. When someone suffering from celiac disease ingests it, the immune system starts attacking its own tissues. Prevalence studies suggest that approximately 1...

Full description

Bibliographic Details
Main Authors: Oscar Jossa-Bastidas, Ainhoa Osa Sanchez, Leire Bravo-Lamas, Begonya Garcia-Zapirain
Format: Article
Language:English
Published: MDPI AG 2023-04-01
Series:Electronics
Subjects:
Online Access:https://www.mdpi.com/2079-9292/12/8/1916
_version_ 1797605685182070784
author Oscar Jossa-Bastidas
Ainhoa Osa Sanchez
Leire Bravo-Lamas
Begonya Garcia-Zapirain
author_facet Oscar Jossa-Bastidas
Ainhoa Osa Sanchez
Leire Bravo-Lamas
Begonya Garcia-Zapirain
author_sort Oscar Jossa-Bastidas
collection DOAJ
description Gluten is a natural complex protein present in a variety of cereal grains, including species of wheat, barley, rye, triticale, and oat cultivars. When someone suffering from celiac disease ingests it, the immune system starts attacking its own tissues. Prevalence studies suggest that approximately 1% of the population may have gluten-related disorders during their lifetime, thus, the scientific community has tried to study different methods to detect this protein. There are multiple commercial quantitative methods for gluten detection, such as enzyme-linked immunosorbent assays (ELISAs), polymerase chain reactions, and advanced proteomic methods. ELISA-based methods are the most widely used; but despite being reliable, they also have certain constraints, such as the long periods they take to detect the protein. This study focuses on developing a novel, rapid, and budget-friendly IoT system using Near-infrared spectroscopy technology, Deep and Machine Learning algorithms to predict the presence or absence of gluten in flour samples. 12,053 samples were collected from 3 different types of flour (rye, corn, and oats) using an IoT prototype portable solution composed of a Raspberry Pi 4 and the DLPNIRNANOEVM infrared sensor. The proposed solution can collect, store, and predict new samples and is connected by using a real-time serverless architecture designed in the Amazon Web services. The results showed that the XGBoost classifier reached an Accuracy of 94.52% and an F2-score of 92.87%, whereas the Deep Neural network had an Accuracy of 91.77% and an F2-score of 96.06%. The findings also showed that it is possible to achieve high-performance results by only using the 1452–1583 nm wavelength range. The IoT prototype portable solution presented in this study not only provides a valuable contribution to the state of the art in the use of the NIRS + Artificial Intelligence in the food industry, but it also represents a first step towards the development of technologies that can improve the quality of life of people with food intolerances.
first_indexed 2024-03-11T05:04:35Z
format Article
id doaj.art-f0a605cec73a49e1aa2b2057cde02451
institution Directory Open Access Journal
issn 2079-9292
language English
last_indexed 2024-03-11T05:04:35Z
publishDate 2023-04-01
publisher MDPI AG
record_format Article
series Electronics
spelling doaj.art-f0a605cec73a49e1aa2b2057cde024512023-11-17T19:02:43ZengMDPI AGElectronics2079-92922023-04-01128191610.3390/electronics12081916IoT System for Gluten Prediction in Flour Samples Using NIRS Technology, Deep and Machine Learning TechniquesOscar Jossa-Bastidas0Ainhoa Osa Sanchez1Leire Bravo-Lamas2Begonya Garcia-Zapirain3eVIDA Research Group, University of Deusto, 48007 Bilbao, SpaineVIDA Research Group, University of Deusto, 48007 Bilbao, SpainFood Technology Department, Leartiker S. Coop., Xemein Etorbidea 12, 48270 Markina-Xemein, SpaineVIDA Research Group, University of Deusto, 48007 Bilbao, SpainGluten is a natural complex protein present in a variety of cereal grains, including species of wheat, barley, rye, triticale, and oat cultivars. When someone suffering from celiac disease ingests it, the immune system starts attacking its own tissues. Prevalence studies suggest that approximately 1% of the population may have gluten-related disorders during their lifetime, thus, the scientific community has tried to study different methods to detect this protein. There are multiple commercial quantitative methods for gluten detection, such as enzyme-linked immunosorbent assays (ELISAs), polymerase chain reactions, and advanced proteomic methods. ELISA-based methods are the most widely used; but despite being reliable, they also have certain constraints, such as the long periods they take to detect the protein. This study focuses on developing a novel, rapid, and budget-friendly IoT system using Near-infrared spectroscopy technology, Deep and Machine Learning algorithms to predict the presence or absence of gluten in flour samples. 12,053 samples were collected from 3 different types of flour (rye, corn, and oats) using an IoT prototype portable solution composed of a Raspberry Pi 4 and the DLPNIRNANOEVM infrared sensor. The proposed solution can collect, store, and predict new samples and is connected by using a real-time serverless architecture designed in the Amazon Web services. The results showed that the XGBoost classifier reached an Accuracy of 94.52% and an F2-score of 92.87%, whereas the Deep Neural network had an Accuracy of 91.77% and an F2-score of 96.06%. The findings also showed that it is possible to achieve high-performance results by only using the 1452–1583 nm wavelength range. The IoT prototype portable solution presented in this study not only provides a valuable contribution to the state of the art in the use of the NIRS + Artificial Intelligence in the food industry, but it also represents a first step towards the development of technologies that can improve the quality of life of people with food intolerances.https://www.mdpi.com/2079-9292/12/8/1916IoTdeep learningglutennear-infrared spectroscopymachine learningfeature selection
spellingShingle Oscar Jossa-Bastidas
Ainhoa Osa Sanchez
Leire Bravo-Lamas
Begonya Garcia-Zapirain
IoT System for Gluten Prediction in Flour Samples Using NIRS Technology, Deep and Machine Learning Techniques
Electronics
IoT
deep learning
gluten
near-infrared spectroscopy
machine learning
feature selection
title IoT System for Gluten Prediction in Flour Samples Using NIRS Technology, Deep and Machine Learning Techniques
title_full IoT System for Gluten Prediction in Flour Samples Using NIRS Technology, Deep and Machine Learning Techniques
title_fullStr IoT System for Gluten Prediction in Flour Samples Using NIRS Technology, Deep and Machine Learning Techniques
title_full_unstemmed IoT System for Gluten Prediction in Flour Samples Using NIRS Technology, Deep and Machine Learning Techniques
title_short IoT System for Gluten Prediction in Flour Samples Using NIRS Technology, Deep and Machine Learning Techniques
title_sort iot system for gluten prediction in flour samples using nirs technology deep and machine learning techniques
topic IoT
deep learning
gluten
near-infrared spectroscopy
machine learning
feature selection
url https://www.mdpi.com/2079-9292/12/8/1916
work_keys_str_mv AT oscarjossabastidas iotsystemforglutenpredictioninfloursamplesusingnirstechnologydeepandmachinelearningtechniques
AT ainhoaosasanchez iotsystemforglutenpredictioninfloursamplesusingnirstechnologydeepandmachinelearningtechniques
AT leirebravolamas iotsystemforglutenpredictioninfloursamplesusingnirstechnologydeepandmachinelearningtechniques
AT begonyagarciazapirain iotsystemforglutenpredictioninfloursamplesusingnirstechnologydeepandmachinelearningtechniques