Journal of Northeastern University(Natural Science) ›› 2025, Vol. 46 ›› Issue (11): 19-29.DOI: 10.12068/j.issn.1005-3026.2025.20249020

• Information & Control • Previous Articles     Next Articles

Foreign Object Detection Method for Dehydrated Vegetables Based on Improved YOLOv8

Bo HU1, Hua-de XIONG2, Yao LIU3, Yong-jun ZHANG1()   

  1. 1.Institute of Engineering Technology,University of Science and Technology Beijing,Beijing 102206,China
    2.Design and Research Institute Co. ,Ltd. ,University of Science and Technology Beijing,Beijing 102206,China
    3.Technical Institute of Physics and Chemistry,Chinese Academy of Sciences,Beijing 100190,China.
  • Received:2024-04-10 Online:2025-11-15 Published:2026-02-07
  • Contact: Yong-jun ZHANG

Abstract:

Problems such as heavy workload, low manual detection efficiency, and inconsistent quality inspection standards of workers during the production process of dehydrated vegetables exist. To address these issues, a foreign object detection method based on improved YOLOv8, namely YOLOv8n-BCS, was proposed. This method could assist workers in improving quality inspection efficiency and reducing labor intensity. The YOLOv8n-BCS model introduced ShuffleNetV2 and BoTNet (bottleneck transformer network) into the backbone network and incorporated the simple attention module (SimAM) attention mechanism and lightweight upsampling operator content-aware reassembly of features (CARAFE) into the neck structure. The similarity intersection over union (SIoU) function was also used to calculate regression loss. By using an NVIDIA GeForce RTX 3080 server for training and testing, the experimental results show that the YOLOv8n-BCS model has an accuracy P of 96.8%, a recall R of 94.7%, a harmonic mean F1 of 95.7%, a mean average accuracy (mAP) of 97.1%, a frame rate of 231 f/s, and a model volume of 6.1 MB. Compared with the control model, the YOLOv8n-BCS model has reduced capacity, as well as improved detection speed and average accuracy, providing a technical reference for optimizing intelligent detection and sorting systems for dehydrated vegetables.

Key words: foreign object in dehydrated vegetables, YOLOv8, object detection, image recognition, lightweight

CLC Number: