Haoran Ma, Guochuan Zhao, Bei Peng, Bo Chen, Yun Rong, Yibo Li
{"title":"Rapid Detection System of Paddy Impurities Based on Machine Vision","authors":"Haoran Ma, Guochuan Zhao, Bei Peng, Bo Chen, Yun Rong, Yibo Li","doi":"10.1155/jfpp/2338160","DOIUrl":null,"url":null,"abstract":"<p>Aiming at the problems of poor imaging effect and low impurity classification accuracy of existing paddy quality detection systems, we propose a rapid paddy impurity detection system based on machine vision. The system consists of an image acquisition subsystem and an impurity classification subsystem, which aim to accurately evaluate the quality of paddy grains. The image acquisition subsystem is composed of a multi-degree-of-freedom manipulator, a flexible vibrating disc, an industrial camera, a light source, and an embedded computing platform. The multisensor fusion technology is used to realize the two-dimensional imaging of the target paddy. Moreover, the impurity classification subsystem innovatively adopts the feature extraction method based on convolutional neural network to realize the fast and accurate classification of paddy impurity images. To balance the classification accuracy and computational complexity, we use GhostNet as the backbone network for efficient high-dimensional semantic feature extraction from paddy images. Furthermore, the visual attention mechanism and multiscale feature aggregation strategy are introduced to enhance the extracted features and improve the accuracy of impurity classification. The image acquisition subsystem collects 256 raw images with a resolution of 5120 × 5120. After image preprocessing, a total of 5000 paddy image blocks are obtained, and each block has different resolutions. These image blocks include lesion paddy images, moldy paddy images, sprout paddy images, immature paddy images, and normal paddy images. The trained impurity classification model achieves 83.64% precision, 83.60% recall, 83.54% <i>F</i>1 score, and 93.44% accuracy. These results not only show the efficiency and accuracy of the system in practical applications but also provide important reference value for future research and application in a wider range of agricultural detection fields.</p>","PeriodicalId":15717,"journal":{"name":"Journal of Food Processing and Preservation","volume":"2025 1","pages":""},"PeriodicalIF":2.5000,"publicationDate":"2025-09-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1155/jfpp/2338160","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Food Processing and Preservation","FirstCategoryId":"97","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1155/jfpp/2338160","RegionNum":3,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Aiming at the problems of poor imaging effect and low impurity classification accuracy of existing paddy quality detection systems, we propose a rapid paddy impurity detection system based on machine vision. The system consists of an image acquisition subsystem and an impurity classification subsystem, which aim to accurately evaluate the quality of paddy grains. The image acquisition subsystem is composed of a multi-degree-of-freedom manipulator, a flexible vibrating disc, an industrial camera, a light source, and an embedded computing platform. The multisensor fusion technology is used to realize the two-dimensional imaging of the target paddy. Moreover, the impurity classification subsystem innovatively adopts the feature extraction method based on convolutional neural network to realize the fast and accurate classification of paddy impurity images. To balance the classification accuracy and computational complexity, we use GhostNet as the backbone network for efficient high-dimensional semantic feature extraction from paddy images. Furthermore, the visual attention mechanism and multiscale feature aggregation strategy are introduced to enhance the extracted features and improve the accuracy of impurity classification. The image acquisition subsystem collects 256 raw images with a resolution of 5120 × 5120. After image preprocessing, a total of 5000 paddy image blocks are obtained, and each block has different resolutions. These image blocks include lesion paddy images, moldy paddy images, sprout paddy images, immature paddy images, and normal paddy images. The trained impurity classification model achieves 83.64% precision, 83.60% recall, 83.54% F1 score, and 93.44% accuracy. These results not only show the efficiency and accuracy of the system in practical applications but also provide important reference value for future research and application in a wider range of agricultural detection fields.
期刊介绍:
The journal presents readers with the latest research, knowledge, emerging technologies, and advances in food processing and preservation. Encompassing chemical, physical, quality, and engineering properties of food materials, the Journal of Food Processing and Preservation provides a balance between fundamental chemistry and engineering principles and applicable food processing and preservation technologies.
This is the only journal dedicated to publishing both fundamental and applied research relating to food processing and preservation, benefiting the research, commercial, and industrial communities. It publishes research articles directed at the safe preservation and successful consumer acceptance of unique, innovative, non-traditional international or domestic foods. In addition, the journal features important discussions of current economic and regulatory policies and their effects on the safe and quality processing and preservation of a wide array of foods.