{"title":"YOLO lightweight contraband detection network using attention mechanism","authors":"Yifei Dai, Puchun Chen","doi":"10.1117/12.2672161","DOIUrl":null,"url":null,"abstract":"In stations, airports and other places, contraband detection faces many problems such as false positives, omissions and slow detection speed caused by object background interference and human factors. This paper proposes an improved network based on YOLO-lightweight. The attention mechanism module is embedded in the backbone network, focusing on the important features from different channels. CBAM-FPN (Convolution Block Attention Module and Feature Pyramid Networks) structure is adopted in the network neck to reduce the loss of network features. Attention mechanism module is added in the bottom-up feature fusion process. Finally, CIOU is used as the edge optimization loss function to accelerate the network convergence and optimize the network model. Compared with YOLOv4-tiny, the precision is improved by 3.8%, reaching 87.5%. The detection speed reaches 60.3fps. The improved network only occupies 23.4M memory, which is convenient for embedding mobile devices. The improved network meets the real-time detection requirements.","PeriodicalId":290902,"journal":{"name":"International Conference on Mechatronics Engineering and Artificial Intelligence","volume":"36 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Mechatronics Engineering and Artificial Intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2672161","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In stations, airports and other places, contraband detection faces many problems such as false positives, omissions and slow detection speed caused by object background interference and human factors. This paper proposes an improved network based on YOLO-lightweight. The attention mechanism module is embedded in the backbone network, focusing on the important features from different channels. CBAM-FPN (Convolution Block Attention Module and Feature Pyramid Networks) structure is adopted in the network neck to reduce the loss of network features. Attention mechanism module is added in the bottom-up feature fusion process. Finally, CIOU is used as the edge optimization loss function to accelerate the network convergence and optimize the network model. Compared with YOLOv4-tiny, the precision is improved by 3.8%, reaching 87.5%. The detection speed reaches 60.3fps. The improved network only occupies 23.4M memory, which is convenient for embedding mobile devices. The improved network meets the real-time detection requirements.