l analysis, M.-G.B.-S.; investigation, J.-A.P.-M.; writing—original draft preparation, J.P.-O. and M.-J.V.-A.; writing—review and editing, A.-I.B.-G.; supervision, A.-I.B.-G. All authors have read and agreed to the published version of the manuscript. Data Availability Statement Data supporting reported results can be found at: https://drive.google.com/drive/folders/1d1Q_RtEWmo2lbpipMCNG4x53s09-pB-C?usp=sharing . Conflicts of Interest The authors declare no conflict of interest. Appendix A Listed below are the 18 inference rules and weights for each of the two fuzzy systems red, green, and blue: If (L is Low_L) and (a is Low_a) and (b is Low_b) then (Lycopene is Lycopenemf1) If (L is Low_L)
Open resource ↗lines:75-128Paper record
Low-Cost Sensor for Lycopene Content Measurement in Tomato Based on Raspberry Pi 4.
Plants (Basel, Switzerland) · 18 Jul 2023 · 10.3390/plants12142683
Abstract
Measuring lycopene in tomatoes is fundamental to the agrifood industry because of its health benefits. It is one of the leading quality criteria for consuming this fruit. Traditionally, the amount determination of this carotenoid is performed using the high-performance liquid chromatography (HPLC) technique. This is a very reliable and accurate method, but it has several disadvantages, such as long analysis time, high cost, and destruction of the sample. In this sense, this work proposes a low-cost sensor that correlates the lycopene content in tomato with the color present in its epicarp. A Raspberry Pi 4 programmed with Python language was used to develop the lycopene prediction model. Various regression models were evaluated using neural networks, fuzzy logic, and linear regression. The best model was the fuzzy nonlinear regression as the RGB input, with a correlation of R 2 = 0.99 and a mean error of 1.9 × 10 -5 . This work was able to demonstrate that it is possible to determine the lycopene content using a digital camera and a low-cost integrated system in a non-invasive way.
Code and data availability