Skip to main content

ORIGINAL RESEARCH article

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

YOLOPears: A Novel Benchmark of YOLO Object Detectors for Multi-Class Pear Surface Defect Detection in Quality Grading Systems

Provisionally accepted
Junsheng Chen Junsheng Chen 1Haoxuan Fu Haoxuan Fu 1*Chuhan Lin Chuhan Lin 1*Xian Liu Xian Liu 2*Linjin Wang Linjin Wang 1*Yaohua Lin Yaohua Lin 1*
  • 1 Fujian Agriculture and Forestry University, Fuzhou, China
  • 2 Fujian Academy of Agricultural Sciences, Fuzhou, Fujian Province, China

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

    Pears are one of the most widely consumed fruits, and their quality directly impacts consumer satisfaction. Surface defects, such as black spots and minor blemishes, are crucial indicators of pear quality, but it is still challenging to detect them due to the similarity in visual features. This study presents PearSurfaceDefects, a self-constructed dataset,containing 13,915 images across six categories, with 66,189 bounding box annotations. These images were captured using a custom-built image acquisition platform. A comprehensive novel benchmark of 27 state-of-the-art YOLO object detectors of seven versions Scaled-YOLOv4, YOLOR, YOLOv5, YOLOv6, YOLOv7, YOLOv8, and YOLOv9 ,has been established on the dataset. To further ensure the comprehensiveness of the evaluation, three advanced non YOLO object detection models, T-DETR, RT-DERTV2, and D-FINE, were also included. Through experiments, it was found that the detection accuracy of YOLOv4-P7 at mAP@0.5 reached 73.20%, and YOLOv5n and YOLOv6n also show great potential for real-time pear surface defect detection, and data augmentation can further improve the accuracy of pear surface defect detection. The pear surface defect detection dataset and software program code for model benchmarking in this study are both public, which will not only promote future research on pear surface defect detection and grading, but also provide valuable resources and reference for other fruit big data and similar research.

    Keywords: PEAR1, dataset2, Pear Surface Defect Detection3, Smart Agriculture4, deep learning5, computer vision6

    Received: 21 Aug 2024; Accepted: 21 Jan 2025.

    Copyright: © 2025 Chen, Fu, Lin, Liu, Wang and Lin. 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:
    Haoxuan Fu, Fujian Agriculture and Forestry University, Fuzhou, China
    Chuhan Lin, Fujian Agriculture and Forestry University, Fuzhou, China
    Xian Liu, Fujian Academy of Agricultural Sciences, Fuzhou, Fujian Province, China
    Linjin Wang, Fujian Agriculture and Forestry University, Fuzhou, China
    Yaohua Lin, Fujian Agriculture and Forestry University, Fuzhou, 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.