84
Views
0
CrossRef citations to date
0
Altmetric
Research Article

Stacked workpieces detection algorithm based on improved YOLOv5

, , , &
Received 19 Oct 2023, Accepted 28 Feb 2024, Published online: 27 Apr 2024
 

ABSTRACT

In modern industry, deep learning algorithms have increasingly replaced manual sorting for detecting workpieces and enabling sorting by robots or robotic arms. However, the detection of stacked workpieces presents a challenge to automated detection. In this paper, the YOLOv5-RES algorithm is proposed to solve the problem of detecting stacked workpieces based on the YOLOv5 algorithm. The receptive field block (RFB) replaces the original fast pyramid pooling layer (SPPF) of YOLOv5 to enable the network to better acquire feature information of stacked workpieces. The EIOU loss is introduced to improve the network’s accuracy in regression, and a flexible prediction box selection algorithm (Soft-NMS) is utilized to reduce the possibility of incorrectly removing stacked workpiece targets. The effectiveness of YOLOv5-RES is verified on a homemade workpiece dataset. On the test set, the precision for all classes is 93.3%, the [email protected] is 91.4%, and the detection speed is 65.4 FPS (Frames Per Second), which meets the real-time requirement. And the detection results show that YOLOv5-RES greatly avoids the problems of incorrect detection and missed detection of YOLOv5. Moreover, YOLOv5-RES achieves the optimal effect in both the comparison experiment and the ablation experiment, indicating its effectiveness and potential for application.

CO EDITOR-IN-CHIEF:

ASSOCIATE EDITOR:

Nomenclature

FP=

The number of false positive cases

FN=

The number of false negative cases

mAP=

A metric used to measure the performance of models doing object detection tasks

TP=

The number of true positive cases

Disclosure statement

No potential conflict of interest was reported by the author(s).

Data availability statement

The datasets generated during and analyzed during the current study are available from the corresponding author on reasonable request.

Additional information

Funding

This research was funded by the State Council and the central government guide local funds of China [Grand No. YDZX20201400001547]; the Natural Science Young Foundation of Shanxi Province[Grand No. 201901D211172]; National Natural Science Foundation of China (NSFC) [Grants No. 62035015 and No. 61805133]; Key R&D Program of Shanxi [Grant No. 202102150101003].

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 61.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 199.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.