Detection and recognition of foreign objects in Pu-erh Sun-dried green tea using an improved YOLOv8 based on deep learning
- PMID: 39775324
- PMCID: PMC11709275
- DOI: 10.1371/journal.pone.0312112
Detection and recognition of foreign objects in Pu-erh Sun-dried green tea using an improved YOLOv8 based on deep learning
Erratum in
-
Correction: Detection and recognition of foreign objects in Pu-erh Sun-dried green tea using an improved YOLOv8 based on deep learning.PLoS One. 2025 Mar 28;20(3):e0321409. doi: 10.1371/journal.pone.0321409. eCollection 2025. PLoS One. 2025. PMID: 40153338 Free PMC article.
Abstract
The quality and safety of tea food production is of paramount importance. In traditional processing techniques, there is a risk of small foreign objects being mixed into Pu-erh sun-dried green tea, which directly affects the quality and safety of the food. To rapidly detect and accurately identify these small foreign objects in Pu-erh sun-dried green tea, this study proposes an improved YOLOv8 network model for foreign object detection. The method employs an MPDIoU optimized loss function to enhance target detection performance, thereby increasing the model's precision in targeting. It incorporates the EfficientDet high-efficiency target detection network architecture module, which utilizes compound scale-centered anchor boxes and an adaptive feature pyramid to achieve efficient detection of targets of various sizes. The BiFormer bidirectional attention mechanism is introduced, allowing the model to consider both forward and backward dependencies in sequence data, significantly enhancing the model's understanding of the context of targets in images. The model is further integrated with sliced auxiliary super-inference technology and YOLOv8, which subdivides the image and conducts in-depth analysis of local features, significantly improving the model's recognition accuracy and robustness for small targets and multi-scale objects. Experimental results demonstrate that, compared to the original YOLOv8 model, the improved model has seen increases of 4.50% in Precision, 5.30% in Recall, 3.63% in mAP, and 4.9% in F1 score. When compared with the YOLOv7, YOLOv5, Faster-RCNN, and SSD network models, its accuracy has improved by 3.92%, 7.26%, 14.03%, and 11.30%, respectively. This research provides new technological means for the intelligent transformation of automated color sorters, foreign object detection equipment, and intelligent sorting systems in the high-quality production of Yunnan Pu-erh sun-dried green tea. It also provides strong technical support for the automation and intelligent development of the tea industry.
Copyright: © 2025 Wang et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Conflict of interest statement
The authors have declared that no competing interests exist.
Figures
















Similar articles
-
YOLOv8-RMDA: Lightweight YOLOv8 Network for Early Detection of Small Target Diseases in Tea.Sensors (Basel). 2024 May 1;24(9):2896. doi: 10.3390/s24092896. Sensors (Basel). 2024. PMID: 38733002 Free PMC article.
-
Small object detection algorithm incorporating swin transformer for tea buds.PLoS One. 2024 Mar 21;19(3):e0299902. doi: 10.1371/journal.pone.0299902. eCollection 2024. PLoS One. 2024. PMID: 38512917 Free PMC article.
-
CV-YOLOv10-AR-M: Foreign Object Detection in Pu-Erh Tea Based on Five-Fold Cross-Validation.Foods. 2025 May 9;14(10):1680. doi: 10.3390/foods14101680. Foods. 2025. PMID: 40428460 Free PMC article.
-
Chemical constituents and biological properties of Pu-erh tea.Food Res Int. 2022 Apr;154:110899. doi: 10.1016/j.foodres.2021.110899. Epub 2021 Dec 15. Food Res Int. 2022. PMID: 35337597 Review.
-
Regulation of fungal community and the quality formation and safety control of Pu-erh tea.Compr Rev Food Sci Food Saf. 2022 Nov;21(6):4546-4572. doi: 10.1111/1541-4337.13051. Epub 2022 Oct 6. Compr Rev Food Sci Food Saf. 2022. PMID: 36201379 Review.
Cited by
-
Correction: Detection and recognition of foreign objects in Pu-erh Sun-dried green tea using an improved YOLOv8 based on deep learning.PLoS One. 2025 Mar 28;20(3):e0321409. doi: 10.1371/journal.pone.0321409. eCollection 2025. PLoS One. 2025. PMID: 40153338 Free PMC article.
References
-
- Yiqing Z, Protection B. Overview of Chinese Tea Culture Landscape. International Council on Monuments and Sites. 2021; 11; 31.
-
- He Y. Terroir Exploration: A Case Study of Jingmai Mountain Tea Culture Tourism. 2023. http://hdl.handle.net/10579/25646.
-
- Dehui Z. Research Article Application of Control System Based on S7-300 in the Producting of Pu-erh Tea. Advance Journal of Food Science and Technology. 2014; 6(12); 1335–1338.
-
- Ho K, Haufe T, Ferruzzi M, Neilson A. Production and polyphenolic composition of tea. Nutrition Today. 2018; 53(6); 268–278.
-
- Heiss M. L, Heiss R. J. The Tea Enthusiast’s Handbook: A Guide to the World’s Best Teas. Ten Speed Press; 2012.
MeSH terms
Substances
LinkOut - more resources
Full Text Sources