{"title":"基于改进YOLOv8的x射线违禁品检测方法","authors":"Jianing Chen, Juan Hao, Xiaoqun Liu","doi":"10.1049/ipr2.70135","DOIUrl":null,"url":null,"abstract":"<p>X-ray detection of contraband is crucial for public safety; however, it often faces challenges due to cluttered backgrounds and overlapping objects in security inspection images. This study proposes a novel detection framework based on You Only Look Once version 8 (YOLOv8), incorporating three key innovations: multi-scale cross-axis attention (MCA), which captures global dependencies through horizontal and vertical collaborative attention, effectively mitigating irrelevant features in complex X-ray scenarios; a lightweight bottleneck architecture using partial convolution (PConv), which significantly reduces floating point operations (FLOPs) while preserving positional sensitivity; and the focal-enhanced intersection over union (Focaler-IoU) loss function, which dynamically weights difficult samples to enhance regression accuracy. Experiments on the prohibited item detection in the X-ray dataset revealed that our model achieves a mean average precision (IoU = 0.5) ([email protected]) of 97.3%, outperforming YOLOv8s by 1.2 percentage points, and maintains real-time performance of 121 frames per second, surpassing YOLOv10-S (96.5%) and YOLOv12-S (96.8%). Ablation studies highlight the contribution of each module: MCA enhances mAP by 0.7%, PConv decreases FLOPs by 31%, and Focaler-IoU increases precision by 0.9% and recall by 2.4%. The proposed method exhibits substantial potential for real-time security inspections.</p>","PeriodicalId":56303,"journal":{"name":"IET Image Processing","volume":"19 1","pages":""},"PeriodicalIF":2.0000,"publicationDate":"2025-06-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1049/ipr2.70135","citationCount":"0","resultStr":"{\"title\":\"An X-Ray Contraband Detection Method Based on Improved YOLOv8\",\"authors\":\"Jianing Chen, Juan Hao, Xiaoqun Liu\",\"doi\":\"10.1049/ipr2.70135\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>X-ray detection of contraband is crucial for public safety; however, it often faces challenges due to cluttered backgrounds and overlapping objects in security inspection images. This study proposes a novel detection framework based on You Only Look Once version 8 (YOLOv8), incorporating three key innovations: multi-scale cross-axis attention (MCA), which captures global dependencies through horizontal and vertical collaborative attention, effectively mitigating irrelevant features in complex X-ray scenarios; a lightweight bottleneck architecture using partial convolution (PConv), which significantly reduces floating point operations (FLOPs) while preserving positional sensitivity; and the focal-enhanced intersection over union (Focaler-IoU) loss function, which dynamically weights difficult samples to enhance regression accuracy. Experiments on the prohibited item detection in the X-ray dataset revealed that our model achieves a mean average precision (IoU = 0.5) ([email protected]) of 97.3%, outperforming YOLOv8s by 1.2 percentage points, and maintains real-time performance of 121 frames per second, surpassing YOLOv10-S (96.5%) and YOLOv12-S (96.8%). Ablation studies highlight the contribution of each module: MCA enhances mAP by 0.7%, PConv decreases FLOPs by 31%, and Focaler-IoU increases precision by 0.9% and recall by 2.4%. The proposed method exhibits substantial potential for real-time security inspections.</p>\",\"PeriodicalId\":56303,\"journal\":{\"name\":\"IET Image Processing\",\"volume\":\"19 1\",\"pages\":\"\"},\"PeriodicalIF\":2.0000,\"publicationDate\":\"2025-06-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://onlinelibrary.wiley.com/doi/epdf/10.1049/ipr2.70135\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IET Image Processing\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1049/ipr2.70135\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IET Image Processing","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1049/ipr2.70135","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
摘要
对违禁品进行x光探测对公共安全至关重要;但是,由于安检图像中存在背景杂乱、物体重叠等问题,经常面临挑战。本研究提出了一种基于You Only Look Once version 8 (YOLOv8)的新型检测框架,包含三个关键创新:多尺度跨轴注意(MCA),通过水平和垂直协同注意捕获全局依赖性,有效减轻复杂x射线场景中的无关特征;使用部分卷积(PConv)的轻量级瓶颈架构,在保持位置敏感性的同时显著减少浮点运算(FLOPs);以及焦点增强的交联损失函数(focal- iou),该函数动态加权困难样本以提高回归精度。在x射线数据集的违禁物品检测实验中,我们的模型达到了97.3%的平均精度(IoU = 0.5) ([email protected]),比YOLOv8s高出1.2个百分点,并保持了121帧/秒的实时性能,超过了YOLOv10-S(96.5%)和YOLOv12-S(96.8%)。消融研究强调了每个模块的贡献:MCA提高mAP 0.7%, PConv降低FLOPs 31%, Focaler-IoU提高精度0.9%,召回率2.4%。所提出的方法显示出实时安全检查的巨大潜力。
An X-Ray Contraband Detection Method Based on Improved YOLOv8
X-ray detection of contraband is crucial for public safety; however, it often faces challenges due to cluttered backgrounds and overlapping objects in security inspection images. This study proposes a novel detection framework based on You Only Look Once version 8 (YOLOv8), incorporating three key innovations: multi-scale cross-axis attention (MCA), which captures global dependencies through horizontal and vertical collaborative attention, effectively mitigating irrelevant features in complex X-ray scenarios; a lightweight bottleneck architecture using partial convolution (PConv), which significantly reduces floating point operations (FLOPs) while preserving positional sensitivity; and the focal-enhanced intersection over union (Focaler-IoU) loss function, which dynamically weights difficult samples to enhance regression accuracy. Experiments on the prohibited item detection in the X-ray dataset revealed that our model achieves a mean average precision (IoU = 0.5) ([email protected]) of 97.3%, outperforming YOLOv8s by 1.2 percentage points, and maintains real-time performance of 121 frames per second, surpassing YOLOv10-S (96.5%) and YOLOv12-S (96.8%). Ablation studies highlight the contribution of each module: MCA enhances mAP by 0.7%, PConv decreases FLOPs by 31%, and Focaler-IoU increases precision by 0.9% and recall by 2.4%. The proposed method exhibits substantial potential for real-time security inspections.
期刊介绍:
The IET Image Processing journal encompasses research areas related to the generation, processing and communication of visual information. The focus of the journal is the coverage of the latest research results in image and video processing, including image generation and display, enhancement and restoration, segmentation, colour and texture analysis, coding and communication, implementations and architectures as well as innovative applications.
Principal topics include:
Generation and Display - Imaging sensors and acquisition systems, illumination, sampling and scanning, quantization, colour reproduction, image rendering, display and printing systems, evaluation of image quality.
Processing and Analysis - Image enhancement, restoration, segmentation, registration, multispectral, colour and texture processing, multiresolution processing and wavelets, morphological operations, stereoscopic and 3-D processing, motion detection and estimation, video and image sequence processing.
Implementations and Architectures - Image and video processing hardware and software, design and construction, architectures and software, neural, adaptive, and fuzzy processing.
Coding and Transmission - Image and video compression and coding, compression standards, noise modelling, visual information networks, streamed video.
Retrieval and Multimedia - Storage of images and video, database design, image retrieval, video annotation and editing, mixed media incorporating visual information, multimedia systems and applications, image and video watermarking, steganography.
Applications - Innovative application of image and video processing technologies to any field, including life sciences, earth sciences, astronomy, document processing and security.
Current Special Issue Call for Papers:
Evolutionary Computation for Image Processing - https://digital-library.theiet.org/files/IET_IPR_CFP_EC.pdf
AI-Powered 3D Vision - https://digital-library.theiet.org/files/IET_IPR_CFP_AIPV.pdf
Multidisciplinary advancement of Imaging Technologies: From Medical Diagnostics and Genomics to Cognitive Machine Vision, and Artificial Intelligence - https://digital-library.theiet.org/files/IET_IPR_CFP_IST.pdf
Deep Learning for 3D Reconstruction - https://digital-library.theiet.org/files/IET_IPR_CFP_DLR.pdf