Skip to main content

ORIGINAL RESEARCH article

Front. Plant Sci.
Sec. Technical Advances in Plant Science
Volume 16 - 2025 | doi: 10.3389/fpls.2025.1527508

Improved YOLO v5s-Based Detection Method for External Defects in Potato

Provisionally accepted
Xilong Li Xilong Li 1Feiyun Wang Feiyun Wang 1Talin Guo Talin Guo 1*Yijun Liu Yijun Liu 1*Huangzhen Lv Huangzhen Lv 1,2,3*Fan-kui Zeng Fan-kui Zeng 4*Chengxu Lv Chengxu Lv 1*
  • 1 中国农业机械化科学研究院集团有限公司, 北京市, China
  • 2 Key Laboratory of Agricultural Products Processing Equipment in the Ministry of Agriculture and Rural Affairs, Beijing 100083, China, Beijing, China
  • 3 China National Packaging and Food Machinery Co., Ltd. , Beijing 100083, China, beijing, China
  • 4 Lanzhou Institute of Chemical Physics, Chinese Academy of Sciences (CAS), Lanzhou, Gansu Province, China

The final, formatted version of the article will be published soon.

    Currently, potato defect sorting primarily relies on manual labor, which is not only inefficient but also prone to bias. Although automated sorting systems offer a potential solution by integrating potato detection models, real-time performance remains challenging due to the need to balance high accuracy and speed under limited resources. This study presents an enhanced version of the YOLO v5s model, named YOLO v5s-ours, specifically designed for real-time detection of potato defects. By integrating Coordinate Attention (CA), Adaptive Spatial Feature Fusion (ASFF), and Atrous Spatial Pyramid Pooling (ASPP) modules, the model significantly improves detection accuracy while maintaining computational efficiency. The model achieved 82.0% precision, 86.6% recall, 84.3% F1-Score and 85.1% mean average precision across six categories -healthy, greening, sprouting, scab, mechanical damage, and rot -marking improvements of 24.6%, 10.5%, 19.4%, and 13.7%, respectively, over the baseline model. Although memory usage increased from 13.7 MB to 23.3 MB and frame rate slightly decreased to 30.7 fps, the accuracy gains ensure the model's suitability for practical applications. The research provides significant support for the development of automated potato sorting systems, advancing agricultural efficiency, particularly in real-time applications, by overcoming the limitations of traditional methods.

    Keywords: Potato, External defect, object detection, YOLO v5s, deep learning

    Received: 28 Nov 2024; Accepted: 13 Jan 2025.

    Copyright: © 2025 Li, Wang, Guo, Liu, Lv, Zeng and Lv. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

    * Correspondence:
    Talin Guo, 中国农业机械化科学研究院集团有限公司, 北京市, China
    Yijun Liu, 中国农业机械化科学研究院集团有限公司, 北京市, China
    Huangzhen Lv, 中国农业机械化科学研究院集团有限公司, 北京市, China
    Fan-kui Zeng, Lanzhou Institute of Chemical Physics, Chinese Academy of Sciences (CAS), Lanzhou, 730000, Gansu Province, China
    Chengxu Lv, 中国农业机械化科学研究院集团有限公司, 北京市, China

    Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.