Abstract

The visual perception of freshness is an important factor considered by consumers in the purchase of fruits and vegetables. However, panel testing when evaluating food products is time consuming and expensive. Herein, the ability of an image processing-based, nondestructive technique to classify spinach freshness was evaluated. Images of spinach leaves were taken using a smartphone camera after different storage periods. Twelve sensory panels ranked spinach freshness into one of four levels using these images. The rounded value of the average from all twelve panel evaluations was set as the true label. The spinach image was removed from the background, and then converted into a gray scale and CIE-Lab color space (L*a*b*) and Hue, Saturation and Value (HSV). The mean value, minimum value, and standard deviation of each component of color in spinach leaf were extracted as color features. Local features were extracted using the bag-of-words of key points from Oriented FAST (Features from Accelerated Segment Test) and Rotated BRIEF (Binary Robust Independent Elementary Features). The feature combinations selected from the spinach images were used to train machine learning models to recognize freshness levels. Correlation analysis between the extracted features and the sensory evaluation score showed a positive correlation (0.5 < r < 0.6) for four color features, and a negative correlation (‒0.6 < r < ‒0.5) for six clusters in the local features. The support vector machine classifier and artificial neural network algorithm successfully classified spinach samples with overall accuracy 70% in four-class, 77% in three-class and 84% in two-class, which was similar to that of the individual panel evaluations. Our findings indicate that a model using support vector machine classifiers and artificial neural networks has the potential to replace freshness evaluations currently performed by non-trained panels.

Highlights

  • Freshness of food heavily influences consumer food selection [1,2,3]

  • Predicting sensory evaluation of spinach freshness using machine learning model and digital images spinach leaves were separated from the background

  • Correlation analysis between the color and local features obtained from the spinach image and the sensory evaluation score showed a positive correlation (0.5 < r < 0.6) for a minimum value of gray, g, v, and L, and a negative correlation (–0.6 < r < –0.5) for six clusters in the ORB local features

Read more

Summary

Introduction

Defining freshness is difficult, as its assessment depends on individual experience [4,5] and the type of food being evaluated [6] Jung (2012) reported that the rate of weight loss of spinach was strongly correlated with its freshness, as evaluated by a panel This subjective freshness cannot be directly predicted by physicochemical properties, since physicochemical properties do not directly reflect consumer perception. Predicting sensory evaluation of spinach freshness using machine learning model and digital images spinach leaves were separated from the background. The optimal threshold of gray-scale intensities was calculated based on binary inverting and Otsu algorithms [34] and applied to the grayscale image to separate the spinach leaves from the background. Thirty color features were extracted for ten components of color

Objectives
Methods
Results
Discussion
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call