Abstract
A vehicle detection algorithm is of great significance for automatic driving technology. Current vehicle detection algorithms suffer from the complex structure, high configuration of hardware requirements, and the difficulty to apply to mobile terminal equipment. In order to solve these issues, this paper proposes an improved YOLOv5 algorithm, named YOLOv5n-L, for lightweight. First, a depthwise separable convolution and a C3Ghost module are used to replace several C3 modules to reduce the model parameters and improve the detection speed. Then a Squeeze-and-Excitation attention mechanism is integrated into backbone network to improve the accuracy of the algorithm and suppress the environmental interference. Finally, a bidirectional feature pyramid network is used for multi-scale feature fusion to enrich feature information and improve the feature extraction ability of the proposed algorithm. The experimental results demonstrate that compared with the original algorithm, the model weight is reduced by 40 % to only 2.3 M. The mean average precision (mAP@0.5) is increased by 1.7 %. The detection speed reaches 80 FPS, which could accurately detect vehicle targets in real-time.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.