Next Article in Journal
Construction of Optimal Regeneration System for Chrysanthemum ‘11-C-2’ Stem Segment with Buds
Previous Article in Journal
Enhancing Corn (Zea mays L.) Productivity under Varying Water Regimes with At-Plant Application of Xyway Fungicide
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Chili Pepper Object Detection Method Based on Improved YOLOv8n

College of Information Science and Engineering, Shanxi Agricultural University, Jinzhong 030801, China
*
Author to whom correspondence should be addressed.
Plants 2024, 13(17), 2402; https://doi.org/10.3390/plants13172402
Submission received: 28 July 2024 / Revised: 17 August 2024 / Accepted: 26 August 2024 / Published: 28 August 2024
(This article belongs to the Section Plant Modeling)

Abstract

In response to the low accuracy and slow detection speed of chili recognition in natural environments, this study proposes a chili pepper object detection method based on the improved YOLOv8n. Evaluations were conducted among YOLOv5n, YOLOv6n, YOLOv7-tiny, YOLOv8n, YOLOv9, and YOLOv10 to select the optimal model. YOLOv8n was chosen as the baseline and improved as follows: (1) Replacing the YOLOv8 backbone with the improved HGNetV2 model to reduce floating-point operations and computational load during convolution. (2) Integrating the SEAM (spatially enhanced attention module) into the YOLOv8 detection head to enhance feature extraction capability under chili fruit occlusion. (3) Optimizing feature fusion using the dilated reparam block module in certain C2f (CSP bottleneck with two convolutions). (4) Substituting the traditional upsample operator with the CARAFE(content-aware reassembly of features) upsampling operator to further enhance network feature fusion capability and improve detection performance. On a custom-built chili dataset, the F0.5-score, mAP0.5, and mAP0.5:0.95 metrics improved by 1.98, 2, and 5.2 percentage points, respectively, over the original model, achieving 96.47%, 96.3%, and 79.4%. The improved model reduced parameter count and GFLOPs by 29.5% and 28.4% respectively, with a final model size of 4.6 MB. Thus, this method effectively enhances chili target detection, providing a technical foundation for intelligent chili harvesting processes.
Keywords: chili pepper; YOLOv8; object detection; lightweight; ablation experiment chili pepper; YOLOv8; object detection; lightweight; ablation experiment

Share and Cite

MDPI and ACS Style

Ma, N.; Wu, Y.; Bo, Y.; Yan, H. Chili Pepper Object Detection Method Based on Improved YOLOv8n. Plants 2024, 13, 2402. https://doi.org/10.3390/plants13172402

AMA Style

Ma N, Wu Y, Bo Y, Yan H. Chili Pepper Object Detection Method Based on Improved YOLOv8n. Plants. 2024; 13(17):2402. https://doi.org/10.3390/plants13172402

Chicago/Turabian Style

Ma, Na, Yulong Wu, Yifan Bo, and Hongwen Yan. 2024. "Chili Pepper Object Detection Method Based on Improved YOLOv8n" Plants 13, no. 17: 2402. https://doi.org/10.3390/plants13172402

APA Style

Ma, N., Wu, Y., Bo, Y., & Yan, H. (2024). Chili Pepper Object Detection Method Based on Improved YOLOv8n. Plants, 13(17), 2402. https://doi.org/10.3390/plants13172402

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop