Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

npj Science of Food
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. npj science of food
  3. articles
  4. article
Non-destructive detection of micro-impurities in tea using the YOLOv11-PFT model
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 10 January 2026

Non-destructive detection of micro-impurities in tea using the YOLOv11-PFT model

  • Zejun Wang1,2,3,
  • Chun Wang2,4,
  • Wenxia Yuan2,
  • Xiujuan Deng2,
  • Houqiao Wang5,6,
  • Tianyu Wu2,
  • Jinyan Zhao2,
  • Weihao Liu2 &
  • …
  • Baijuan Wang2 

npj Science of Food , Article number:  (2026) Cite this article

  • 762 Accesses

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Engineering
  • Mathematics and computing

Abstract

Microscopic impurities can contaminate tea during production, processing, and packaging. Current technologies remove only visible contaminants, leaving microscopic foreign objects that compromise tea quality, and reliable detection methods remain lacking. To address this challenge, we propose YOLOv11-PFT, an improved deep learning model based on YOLOv11, enhanced with Powerful-IoU loss, FasterNet, and Triple Attention modules to boost detection accuracy, reduce model size, and improve feature extraction. The resulting lightweight model achieves 99.16% detection accuracy for microscopic tea contaminants, with Precision, Recall, F1 score, and mAP all near 98.7–99.2%, GFLOPs of 5.5, inference speed of 340.6 FPS, and a model size of only 5.0 MB. It outperforms seven benchmark models in accuracy. YOLOv11-PFT offers an effective solution for microscopic contaminant detection in tea, supporting automation in food safety, intelligent quality control, and edge-device deployment in agriculture.

Similar content being viewed by others

Classification and identification of tea diseases based on improved YOLOv7 model of MobileNeXt

Article Open access 23 May 2024

Enhanced YOLO-based framework for accurate detection and identification of common wheat impurities with distinct objects

Article Open access 18 November 2025

Lightweight YOLO object detectors for PET and HDPE classification in recycling facilities

Article Open access 24 December 2025

Data availability

Data presented in this study are available on request from the corresponding author.

References

  1. Valavanidis, A. Tea, the most popular beverage worldwide, is beneficial to human health. Studies on antioxidant polyphenolic constituents and epidemiological evidence for disease prevention. Sci. Rev. 3, 1–35 (2019).

    Google Scholar 

  2. Toai, D. B. Unveiling the dynamics of Chinese tea exports: a comprehensive analysis of black and green tea from 2018 to 2024. Econ. Manag. Innov. 2, 47–56 (2025).

    Google Scholar 

  3. Lu, W. Tea culture in China: tradition meets modernity. J. Dev. Soc. Sci. 5, 232–241 (2024).

    Google Scholar 

  4. Fu, C. et al. A study on the sustainable development of the Yunnan tea industry under the pressure of China’s Tea Inventory. Preprint at https://doi.org/10.21203/rs.3.rs-4946923 (2024).

  5. Pan, S. Y. et al. Tea and tea drinking: China’s outstanding contributions to the mankind. Chin. Med. 17, 27 (2022).

    Google Scholar 

  6. Wiseman, S. A., Balentine, D. A. & Frei, B. Antioxidants in tea. Crit. Rev. Food Sci. Nutr. 37, 705–718 (1997).

    Google Scholar 

  7. Huda, H. S. A. et al. Exploring the ancient roots and modern global brews of tea and herbal beverages: a comprehensive review of origins, types, health benefits, market dynamics, and future trends. Food Sci. Nutr. 12, 6938–6955 (2024).

    Google Scholar 

  8. Xing, D. et al. Microplastics in tea from planting to the final tea product: traceability, characteristics and dietary exposure risk analysis. Food Chem. 455, 139636 (2024).

    Google Scholar 

  9. Xiang, T. et al. Microscopic Raman-based rapid detection of submicron/nano polypropylene plastics in tea and tea beverages. Food Chem. 454, 139657 (2024).

    Google Scholar 

  10. Lee, D. H. et al. Green tea extracts rich in epicatechins inducing aggregation and inhibiting absorption of amine surface functionalized polystyrene microplastics in vitro mimick system. J. Hazard. Mater. Adv. 15, 100437 (2024).

    Google Scholar 

  11. Jayasingha, H. et al. Fluoride in tea: accumulation, dietary exposure, and future strategies for risk mitigation in food safety; a scoping review. Crit. Rev. Food Sci. Nutr. 12, 1–14 (2025).

  12. Wu, Q., Zheng, Q., He, Y., Chen, Q. & Yang, H. Emerging nanoagents for medical X-ray imaging. Anal. Chem. 95, 33–48 (2023).

    Google Scholar 

  13. Payne, K., O’Bryan, C. A., Marcy, J. A. & Crandall, P. G. Detection and prevention of foreign material in food: a review. Heliyon 9, 9 (2023).

  14. Sun, X., Li, J., Shen, Y. & Li, W. Non-destructive detection of insect foreign bodies in finishing tea product based on terahertz spectrum and image. Front. Nutr. 8, 757491 (2021).

    Google Scholar 

  15. Saeidan, A., Khojastehpour, M., Golzarian, M. R., Mooenfard, M. & Khan, H. A. Detection of foreign materials in cocoa beans by hyperspectral imaging technology. Food Control 129, 108242 (2021).

    Google Scholar 

  16. Kotwaliwale, N. et al. X-ray imaging methods for internal quality evaluation of agricultural produce. J. Food Sci. Technol. 51, 1–15 (2014).

    Google Scholar 

  17. Reutov, Y. Y. & Pudov, V. I. Experience in developing and using metal detectors for medical purposes. Russ. J. Nondestr. Test. 59, 1306–1314 (2023).

    Google Scholar 

  18. Guo, Y. et al. Identification and sorting of impurities in tea using spectral vision. LWT. 205, 116519 (2024).

    Google Scholar 

  19. Wang, C. Y. & Liao, H. Y. M. YOLOv1 to YOLOv10: the fastest and most accurate real-time object detection systems. APSIPA Trans. Signal Inf. Process. 13, 1 (2024).

  20. Rokhva, S. & Teimourpour, B. Accurate & real-time food classification through the synergistic integration of EfficientNetB7, CBAM, transfer learning, and data augmentation. Food Humanit. 4, 100492 (2025).

    Google Scholar 

  21. Deng, L., Li, J. & Han, Z. Online defect detection and automatic grading of carrots using computer vision combined with deep learning methods. LWT 149, 111832 (2021).

    Google Scholar 

  22. Fan, S. et al. On line detection of defective apples using computer vision system combined with deep learning methods. J. Food Eng. 286, 110102 (2020).

    Google Scholar 

  23. Liao, H. et al. A lightweight algorithm for potato defect detection. Smart Agric. Technol. 10, 100849 (2025).

    Google Scholar 

  24. Sun, Y. et al. TDDet: a novel lightweight and efficient tea disease detector. Comput. Electron. Agric. 237, 110481 (2025).

    Google Scholar 

  25. Huang, J., Wang, X., Jin, C., Cheein, F. A. & Yang, X. Estimation of the orientation of potatoes and detection bud eye position using potato orientation detection you only look once with fast and accurate features for the movement strategy of intelligent cutting robots. Eng. Appl. Artif. Intell. 142, 109923 (2025).

    Google Scholar 

  26. Ding, Z., Wang, M., Hu, B., Chen, Z. & Dong, C. Impurity detection of premium green tea based on improved lightweight deep learning model. Food Res. Int. 200, 115516 (2025).

    Google Scholar 

  27. Wang, Z. et al. Detection of small foreign objects in Pu-erh sun-dried green tea: an enhanced YOLOv8 neural network model based on deep learning. Food Control 168, 110890 (2025).

    Google Scholar 

  28. Rong, D., Wang, H., Xie, L., Ying, Y. & Zhang, Y. Impurity detection of juglans using deep learning and machine vision. Comput. Electron. Agric. 178, 105764 (2020).

    Google Scholar 

  29. Rashed, M., Fakhry, S. & Satour, R. Revolutionizing food quality with machine vision and machine learning techniques. In Food in the Metaverse and Web 3.0 Era: Intersecting Food, Technology, and Culture. IGI Global Scientific Publishing. 71–124 (2025).

  30. Rokhva, S., Teimourpour, B. & Soltani, A. H. Computer vision in the food industry: accurate, real-time, and automatic food recognition with pretrained MobileNetV2. Food Humanit. 3, 100378 (2024).

    Google Scholar 

  31. Shi, G. Y. et al. 1D gradient-weighted class activation mapping, visualizing decision process of convolutional neural network-based models in spectroscopy analysis. Anal. Chem. 95, 9959–9966 (2023).

    Google Scholar 

  32. Hou, M. et al. Innovations in seafood freshness quality: non-destructive detection of freshness in Litopenaeus vannamei using the YOLO-shrimp model. Food Chem. 463, 141192 (2025).

    Google Scholar 

  33. Sirisha, U., Praveen, S. P., Srinivasu, P. N., Barsocchi, P. & Bhoi, A. K. Statistical analysis of design aspects of various YOLO-based deep learning models for object detection. Int. J. Comput. Intell. Syst. 16, 126 (2023).

    Google Scholar 

  34. Kurniawan, H. et al. Advanced detection of foreign objects in fresh-cut vegetables using YOLOv5. LWT 212, 116989 (2024).

    Google Scholar 

  35. Yang, Y., Liu, Z., Huang, M., Zhu, Q. & Zhao, X. Automatic detection of multi-type defects on potatoes using multispectral imaging combined with a deep learning model. J. Food Eng. 336, 111213 (2023).

    Google Scholar 

  36. Xie, T., Li, X., Zhang, X., Hu, J. & Fang, Y. Detection of Atlantic salmon bone residues using machine vision technology. Food Control 123, 107787 (2021).

    Google Scholar 

  37. Wang, S. M. et al. Tea yield estimation using UAV images and deep learning. Ind. Crops Prod. 212, 118358 (2024).

    Google Scholar 

  38. Gazari, A. R., Rokhva, S., Khatibi, T., Noughabi, E. A. & Teimourpour, B. A combination of EDA, machine learning, and artificial neural networks for accurate prediction of heart disease. Ann. Healthc. Syst. Eng. 2, 38–46 (2025).

    Google Scholar 

  39. Rokhva, S. & Teimourpour, B. Artificial intelligence in the food industry: food waste estimation based on computer vision, a brief case study in a University Dining Hall. arXiv preprint arXiv:2507.14662 (2025).

  40. Abbasi, S., Rokhva, S., Farahmand, K., Ghasemi, P. & Shahab, E. Designing sustainable closed-loop supply chain network based on a circular economy approach: under uncertainty during the post-COVID era. Circ. Econ. Sustain. 5, 2229–2271 (2025).

    Google Scholar 

  41. Ding, J. et al. Tea processing steps affect chemical compositions, enzyme activities, and antioxidant and anti-inflammatory activities of coffee leaves. Food Front. 3, 505–516 (2022).

    Google Scholar 

  42. Meina, J. et al. Intercropping tea with flowering Pisum sativum regulates Apolygus lucorum populations and provides ecological benefits. J. Plant Dis. Prot. 132, 106 (2025).

    Google Scholar 

  43. Wang, S. Evaluation of impact of image augmentation techniques on two tasks: window detection and window states detection. Results Eng. 24, 103571 (2024).

    Google Scholar 

  44. Siddique, A. et al. Development of predictive classification models and extraction of signature wavelengths for the identification of spoilage in chicken breast fillets during storage using near infrared spectroscopy. Food Bioprocess. Technol. 18, 933–941 (2025).

    Google Scholar 

  45. Bora, G. J., Saikia, B. & Ansari, R. Detection of honey adulteration using linear regression method. Phys. Front. 1, 137–140 (2025).

  46. Dong, C. & Duoqian, M. Control distance IoU and control distance IoU loss for better bounding box regression. Pattern Recognit. 137, 109256 (2023).

    Google Scholar 

  47. Wang, D. et al. SDS-YOLO: an improved vibratory position detection algorithm based on YOLOv11. Measurement 244, 116518 (2025).

    Google Scholar 

  48. Wang, Z., Lu, X. & Yu, Z. An asymmetric selective kernel network for drone-based vehicle detection to build a high-accuracy vehicle trajectory dataset. Remote Sens. 17, 407 (2025).

    Google Scholar 

  49. Liu, C. et al. Powerful-IoU: more straightforward and faster bounding box regression loss with a nonmonotonic focusing mechanism. Neural Netw. 170, 276–284 (2024).

    Google Scholar 

  50. Chen, J. et al. Run, don’t walk: chasing higher FLOPS for faster neural networks. In Proc. of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). Vancouver, BC, Canada, 12021–12031 (2023).

  51. Misra, D., Nalamada, T., Arasanipalai, A. U. & Hou, Q. Rotate to attend: convolutional triplet attention module. In Proc. of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV). Waikoloa, HI, USA, 3139–3148 (2021).

Download references

Acknowledgements

This research was supported by the following projects: National Natural Science Foundation of China (No. 32460782), Yunnan Tea Industry Artificial Intelligence and Big Data Application Innovation Team (No. 202405AS350025), Yunnan International Joint Laboratory for Intelligent Tea Industry (No. 202403AP140022), Yunnan Basic Research Special Fund (No. 202301AS070083), Sub-project of Yunnan Major Science and Technology Special Program (No. 202302AE09002001), Menghai County Smart Tea Industry Science and Technology Special Mission Team of Yunnan Province (No. 202304BI090013), and Yunnan Patent Innovation and Transformation Talent “Introduction, Cultivation and Use” Project (No. YNZCZH2024001).

Author information

Authors and Affiliations

  1. College of Agronomy and Biotechnology, Yunnan Agricultural University, Kunming, China

    Zejun Wang

  2. College of Tea Science, Yunnan Agricultural University, Kunming, China

    Zejun Wang, Chun Wang, Wenxia Yuan, Xiujuan Deng, Tianyu Wu, Jinyan Zhao, Weihao Liu & Baijuan Wang

  3. The Key Laboratory for Crop Production and Smart Agriculture of Yunnan Province, Yunnan Agricultural University, Kunming, China

    Zejun Wang

  4. College of Mechanical and Electrical Engineering, Yunnan Agricultural University, Kunming, China

    Chun Wang

  5. State Key Laboratory for Conservation and Utilization of Bio-Resources in Yunnan, School of Agriculture, Yunnan University, Kunming, China

    Houqiao Wang

  6. Southwest United Graduate School, Kunming, China

    Houqiao Wang

Authors
  1. Zejun Wang
    View author publications

    Search author on:PubMed Google Scholar

  2. Chun Wang
    View author publications

    Search author on:PubMed Google Scholar

  3. Wenxia Yuan
    View author publications

    Search author on:PubMed Google Scholar

  4. Xiujuan Deng
    View author publications

    Search author on:PubMed Google Scholar

  5. Houqiao Wang
    View author publications

    Search author on:PubMed Google Scholar

  6. Tianyu Wu
    View author publications

    Search author on:PubMed Google Scholar

  7. Jinyan Zhao
    View author publications

    Search author on:PubMed Google Scholar

  8. Weihao Liu
    View author publications

    Search author on:PubMed Google Scholar

  9. Baijuan Wang
    View author publications

    Search author on:PubMed Google Scholar

Contributions

Zejun Wang: conceived the overall design and conceptualization of the study, drafted the manuscript, and completed the final revision; Chun Wang was responsible for the establishment, simulation, and data analysis of the network model; Wenxia Yuan and Xiujuan Deng undertook the collection of the dataset; Houqiao Wang and Tianyu Wu managed the manuscript editing and review revisions; Jinyan Zhao and Weihao Liu undertook external experimental verification; Baijuan Wang provided financial support, project management, and review revisions. All authors have read and approved the final version of the manuscript for publication.

Corresponding author

Correspondence to Baijuan Wang.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wang, Z., Wang, C., Yuan, W. et al. Non-destructive detection of micro-impurities in tea using the YOLOv11-PFT model. npj Sci Food (2026). https://doi.org/10.1038/s41538-025-00702-6

Download citation

  • Received: 18 August 2025

  • Accepted: 27 December 2025

  • Published: 10 January 2026

  • DOI: https://doi.org/10.1038/s41538-025-00702-6

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Download PDF

Advertisement

Explore content

  • Research articles
  • Reviews & Analysis
  • News & Comment
  • Collections
  • Follow us on Twitter
  • Sign up for alerts
  • RSS feed

About the journal

  • Aims & Scope
  • Journal Information
  • Content types
  • About the Editors
  • Contact
  • Open Access
  • Calls for Papers
  • Editorial policies
  • Article Processing Charges
  • Journal Metrics
  • About the Partner
  • 5 questions with our new co-Editor-in-Chief

Publish with us

  • For Authors and Referees
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

npj Science of Food (npj Sci Food)

ISSN 2396-8370 (online)

nature.com sitemap

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing AI and Robotics

Sign up for the Nature Briefing: AI and Robotics newsletter — what matters in AI and robotics research, free to your inbox weekly.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing: AI and Robotics