Design of Food Freshness Detection Algorithm Based on Computer Vision

Xi Liu,Yanchun Ruan
DOI: https://doi.org/10.1109/ICTEI60496.2023.00055
2023-09-11
Abstract:As the storage time increases, the food stored in the freezer may also spoil. Due to the relatively sealed environment of the refrigerator, people cannot detect the spoilage of the food in a timely manner. This article takes meat as an example. People’s consumption of meat products is increasing day by day, and there are high requirements for meat quality, hygiene conditions, and other aspects. In China, detecting the freshness of meat is related to the “healthy diet” of most people. This article designs a food freshness detection algorithm based on computer vision. The algorithm mainly calculates the difference between each region and its 8 neighboring pixels. If it is less than a specific threshold, the connected region is merged and labeled, and the merged region is filled with the minimum difference between thi region and its neighboring pixels. Otherwise, the search continues for the next region; Until the entire image is searched. Two different analysis methods are used for meat images. Research has shown that compared with traditional methods, this method not only significantly improves th accuracy of evaluating meat freshness, but also the entire evaluation process is almost entirely completed by computers. Operators only need to run the corresponding software without the need for tedious experimental processes.
Computer Science,Agricultural and Food Sciences
What problem does this paper attempt to address?