85
Views
0
CrossRef citations to date
0
Altmetric
Information Engineering

Stacked workpieces detection algorithm based on improved YOLOv5

, , , &
Pages 544-555 | 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].

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.