PcMNet: An efficient lightweight apple detection algorithm in natural orchards

• We introduced CCFF from Transformer and proposed Faster-CCFF as model's Neck. • Employing Pconv for reinnovation, we developed the PR module and Pconv-block. • PcMNet achieved 92 fps on NVIDIA Jetson orin NX with TensorRT acceleration. • Lightweight PcMNet reduced model size to 3.2 MB and parameters to 1.4 M. • PcMNet achieved 92.8 % precision and 95.5 % [email protected], 1.4 and 0.7 points over YOLOv8n. Apple detection plays a critical role in enabling the functionality of harvesting robots within natural orchard environments. To address challenges related to low detection accuracy, slow inference speed, and high parameter count, we present PcMNet, a lightweight detection model based on an improved YOLOv8 network. Initially, we employed Partial Convolution (Pconv) to construct a PR module, forming the Pconv-block, which subsequently replaced the original C2f feature extraction module within the YOLOv8n backbone. This replacement led to improvements in both detection accuracy and speed, while simultaneously reducing computational complexity (FLOPs), parameter count, and model size. Furthermore, the Cross-Scale Feature Fusion (CCFF) module was refined into Faster-Cross-Scale Feature Fusion (Faster-CCFF) with the integration of Pconv-block, significantly enhancing the model's feature extraction and fusion capabilities. Additionally, we introduced Mixed Local Channel Attention (MLCA) to further strengthen the model's capacity to capture essential features while effectively suppressing background noise. Experimental results demonstrate that PcMNet achieved a detection accuracy of 92.8 % and an [email protected] of 95.5 %, representing improvements of 1.4 and 0.7 percentage points, respectively, over YOLOv8n. Moreover, PcMNet successfully reduced FLOPs, parameter count, and model size to 5.1 G, 1.4 M, and 3.2 MB, respectively. The per-image detection time was reduced to 2.3 ms, indicating reductions of 37.80 %, 53.33 %, 49.21 %, and 56.60 % in FLOPs, parameters, model size, and detection time compared to YOLOv8n. When deployed on edge computing devices with TensorRT acceleration, PcMNet achieved a detection rate of 92 FPS. Field validation experiments conducted in natural orchard environments confirmed PcMNet's superior ability to detect apples under challenging conditions, such as occlusions and varying lighting conditions. Its lightweight design and rapid detection capabilities provide a valuable reference for achieving real-time apple detection in automated and intelligent harvesting robots, thereby contributing to advancements in smart agriculture.

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2024-10-25
DOI
https://doi.org/10.1016/j.atech.2024.100623
Citations
7
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
4.20

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PcMNet: An efficient lightweight apple detection algorithm in natural orchards

Jianguo Zhou, Tao Shan, Jun Chen, Guangrui Hu et al.
7 citations
Smart Agricultural Technology
Smart Agriculture and AI
4.20
article

PcMNet: An efficient lightweight apple detection algorithm in natural orchards

Jianguo Zhou, Tao Shan, Jun Chen, Guangrui Hu, Zeyu Wang, Hao Zhang, Shiwei Wen
article en
7 citations

Abstract

• We introduced CCFF from Transformer and proposed Faster-CCFF as model's Neck. • Employing Pconv for reinnovation, we developed the PR module and Pconv-block. • PcMNet achieved 92 fps on NVIDIA Jetson orin NX with TensorRT acceleration. • Lightweight PcMNet reduced model size to 3.2 MB and parameters to 1.4 M. • PcMNet achieved 92.8 % precision and 95.5 % [email protected], 1.4 and 0.7 points over YOLOv8n. Apple detection plays a critical role in enabling the functionality of harvesting robots within natural orchard environments. To address challenges related to low detection accuracy, slow inference speed, and high parameter count, we present PcMNet, a lightweight detection model based on an improved YOLOv8 network. Initially, we employed Partial Convolution (Pconv) to construct a PR module, forming the Pconv-block, which subsequently replaced the original C2f feature extraction module within the YOLOv8n backbone. This replacement led to improvements in both detection accuracy and speed, while simultaneously reducing computational complexity (FLOPs), parameter count, and model size. Furthermore, the Cross-Scale Feature Fusion (CCFF) module was refined into Faster-Cross-Scale Feature Fusion (Faster-CCFF) with the integration of Pconv-block, significantly enhancing the model's feature extraction and fusion capabilities. Additionally, we introduced Mixed Local Channel Attention (MLCA) to further strengthen the model's capacity to capture essential features while effectively suppressing background noise. Experimental results demonstrate that PcMNet achieved a detection accuracy of 92.8 % and an [email protected] of 95.5 %, representing improvements of 1.4 and 0.7 percentage points, respectively, over YOLOv8n. Moreover, PcMNet successfully reduced FLOPs, parameter count, and model size to 5.1 G, 1.4 M, and 3.2 MB, respectively. The per-image detection time was reduced to 2.3 ms, indicating reductions of 37.80 %, 53.33 %, 49.21 %, and 56.60 % in FLOPs, parameters, model size, and detection time compared to YOLOv8n. When deployed on edge computing devices with TensorRT acceleration, PcMNet achieved a detection rate of 92 FPS. Field validation experiments conducted in natural orchard environments confirmed PcMNet's superior ability to detect apples under challenging conditions, such as occlusions and varying lighting conditions. Its lightweight design and rapid detection capabilities provide a valuable reference for achieving real-time apple detection in automated and intelligent harvesting robots, thereby contributing to advancements in smart agriculture.

Smart Agricultural TechnologyVol. 9
Northwest A&F University (CN)
Shaanxi Provincial Science and Technology Department
Zero hunger
Openalex Percentile: Top 6%
Smart Agriculture and AI
4.20
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.