HCRP-YOLO: A lightweight algorithm for potato defect detection

The external quality of potato significantly impacts its commercial value, particularly deformities and other visible defects. However, this aspect is currently largely reliant on manual visual inspection, which is labor-intensive and costly. Therefore, it is an urgent need for precise and efficient automated detection technologies. In recent years, deep-learning based object detection algorithms have gained significant attention in agriculture. The industry continuously pursues simpler model architectures, higher detection accuracy, lightweight operation and faster decision-making. In response, this study proposes HCRP-YOLO system, which is based on the YOLOv8n architecture and aims to further enhance lightweight, precision, and efficiency. The method first introduces the lightweight HGNetv2 backbone network and incorporates a channel scaling feature to reduce model complexity, while dynamically adjusting the number of feature channels, thereby improving detection performance. Secondly, the CCFM design paradigm is applied to the neck network, which is lightweight and can better handle cross-scale feature information to improve the detection ability of small objects. More importantly, a novel detection head module, RHead is designed, a reparameterization mechanism is introduced to realize the dynamic decoupling of the network architecture between the training phase and the inference phase. Finally, the Group Slimming-based model pruning technique is applied for the second round of lightweight design for the improved model. The test data show that, compared with the YOLOv8n, the R and mAP of HCRP-YOLO are increased by 4.2 % and 1.1 % respectively; the number of parameters, calculation amount and model size are reduced to 0.31 M, 1.2 G and 0.86 MB, respectively, with compression ratio 9.7, 6.8 and 6.9 times, separately. Most importantly, the FPS skyrocketed to 182.7 %.Therefore, the HCRP-YOLO algorithm achieves a better balance between detection accuracy, speed, and lightweight design, providing stronger support for high-precision and real-time detection on edge devices.

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2025-02-21
DOI
https://doi.org/10.1016/j.atech.2025.100849
Citations
12
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
9.03
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

HCRP-YOLO: A lightweight algorithm for potato defect detection

Lu Wang, Siyu Jin, Haojie Liao, Wei Sun et al.
12 citations
Smart Agricultural Technology
Spectroscopy and Chemometric Analyses
9.03
article

HCRP-YOLO: A lightweight algorithm for potato defect detection

Lu Wang, Siyu Jin, Haojie Liao, Wei Sun, Guanping Wang, Yan Liu, Sen Yang
article en
12 citations

Abstract

The external quality of potato significantly impacts its commercial value, particularly deformities and other visible defects. However, this aspect is currently largely reliant on manual visual inspection, which is labor-intensive and costly. Therefore, it is an urgent need for precise and efficient automated detection technologies. In recent years, deep-learning based object detection algorithms have gained significant attention in agriculture. The industry continuously pursues simpler model architectures, higher detection accuracy, lightweight operation and faster decision-making. In response, this study proposes HCRP-YOLO system, which is based on the YOLOv8n architecture and aims to further enhance lightweight, precision, and efficiency. The method first introduces the lightweight HGNetv2 backbone network and incorporates a channel scaling feature to reduce model complexity, while dynamically adjusting the number of feature channels, thereby improving detection performance. Secondly, the CCFM design paradigm is applied to the neck network, which is lightweight and can better handle cross-scale feature information to improve the detection ability of small objects. More importantly, a novel detection head module, RHead is designed, a reparameterization mechanism is introduced to realize the dynamic decoupling of the network architecture between the training phase and the inference phase. Finally, the Group Slimming-based model pruning technique is applied for the second round of lightweight design for the improved model. The test data show that, compared with the YOLOv8n, the R and mAP of HCRP-YOLO are increased by 4.2 % and 1.1 % respectively; the number of parameters, calculation amount and model size are reduced to 0.31 M, 1.2 G and 0.86 MB, respectively, with compression ratio 9.7, 6.8 and 6.9 times, separately. Most importantly, the FPS skyrocketed to 182.7 %.Therefore, the HCRP-YOLO algorithm achieves a better balance between detection accuracy, speed, and lightweight design, providing stronger support for high-precision and real-time detection on edge devices.

Smart Agricultural TechnologyVol. 10
Nanjing Agricultural University (CN), Gansu Agricultural University (CN), Sichuan University (CN), Sichuan University of Science and Engineering (CN)
Zero hunger
Openalex Percentile: Top 2%
Spectroscopy and Chemometric Analyses
9.03
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.