Title: A rotatable battery recognition method based on improved YOLOv5
Authors: Wenming Chen; Dongtai Liang; Wenhui Ding; Meng Wang; Zizhen Chen
Addresses: School of Electronics and Information Engineering, Ningbo Polytechnic, Ningbo, Zhejiang 315800, China ' Faculty of Mechanical Engineering and Mechanics, Ningbo University, Ningbo, Zhejiang 315210, China ' School of Electronics and Information Engineering, Ningbo Polytechnic, Ningbo, Zhejiang 315800, China ' School of Electronics and Information Engineering, Ningbo Polytechnic, Ningbo, Zhejiang 315800, China ' School of Electronics and Information Engineering, Ningbo Polytechnic, Ningbo, Zhejiang 315800, China
Abstract: To realise end-to-end visual identification, positioning, and angle detection of cylindrical batteries, a rotated object recognition method based on YOLOv5 is proposed. Firstly, aiming at the problems of battery appearance scale variation and surface reflection, a recursive gated convolution and feature fusion module was added to the neck network to enhance the multi-scale feature extraction. Secondly, considering the boundary problem of angle range, a circular smooth label was introduced after the prediction network, and the logistic regression cross-entropy was used to realise rotation angle classification. Finally, a SIoU intersection ratio model was used to introduce an angle vector penalty index. The experimental results show that the parameters of rotated object detection model are reasonably optimised on the cylindrical battery dataset. The model accuracy reaches 98.6%, the recall rate reaches 97.2%, and the inference speed of single frame image reaches 10.5 ms, which meets the performance requirements of practical applications.
Keywords: recursive gated convolution; rotated object detection; circular smooth label; CSL: battery detection.
DOI: 10.1504/IJSNET.2024.138913
International Journal of Sensor Networks, 2024 Vol.45 No.2, pp.101 - 114
Received: 19 Jan 2024
Accepted: 26 Jan 2024
Published online: 03 Jun 2024 *