{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,2]],"date-time":"2026-08-02T13:10:49Z","timestamp":1785676249825,"version":"3.56.0"},"reference-count":39,"publisher":"MDPI AG","issue":"3","license":[{"start":{"date-parts":[[2024,2,4]],"date-time":"2024-02-04T00:00:00Z","timestamp":1707004800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Key Laboratory of Medical Electronics and Digital Health of Zhejiang Province in China","award":["MEDC202304"],"award-info":[{"award-number":["MEDC202304"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Identifying the classes and locations of prohibited items is the target of security inspection. However, X-ray security inspection images with insufficient feature extraction, imbalance between easy and hard samples, and occlusion lead to poor detection accuracy. To address the above problems, an object-detection method based on YOLOv8 is proposed. Firstly, an ASFF (adaptive spatial feature fusion) and a weighted feature concatenation algorithm are introduced to fully extract the scale features from input images. In this way, the model can learn further details in training. Secondly, CoordAtt (coordinate attention module), which belongs to the hybrid attention mechanism, is embedded to enhance the learning of features of interest. Then, the slide loss function is introduced to balance the simple samples and the difficult samples. Finally, Soft-NMS (non-maximum suppression) is introduced to resist the conditions containing occlusion. The experimental result shows that mAP (mean average precision) achieves 90.2%, 90.5%, 79.1%, and 91.4% on the Easy, Hard, and Hidden sets of the PIDray and SIXray public test set, respectively. Contrasted with original model, the mAP of our proposed YOLOv8n model increased by 2.7%, 3.1%, 9.3%, and 2.4%, respectively. Furthermore, the parameter count of the modified YOLOv8n model is roughly only 3 million.<\/jats:p>","DOI":"10.3390\/s24031002","type":"journal-article","created":{"date-parts":[[2024,2,5]],"date-time":"2024-02-05T03:28:29Z","timestamp":1707103709000},"page":"1002","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":16,"title":["Lightweight Detection Method for X-ray Security Inspection with Occlusion"],"prefix":"10.3390","volume":"24","author":[{"ORCID":"https:\/\/orcid.org\/0009-0003-2676-7939","authenticated-orcid":false,"given":"Zanshi","family":"Wang","sequence":"first","affiliation":[{"name":"School of Integrated Circuits and Electronics, Beijing Institute of Technology, Beijing 100081, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xiaohua","family":"Wang","sequence":"additional","affiliation":[{"name":"School of Integrated Circuits and Electronics, Beijing Institute of Technology, Beijing 100081, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7746-6867","authenticated-orcid":false,"given":"Yueting","family":"Shi","sequence":"additional","affiliation":[{"name":"Science and Technology on Millimeter-Wave Laboratory, Beijing Institute of Remote-Sensing Equipment, Beijing 100854, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hang","family":"Qi","sequence":"additional","affiliation":[{"name":"School of Integrated Circuits and Electronics, Beijing Institute of Technology, Beijing 100081, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Minli","family":"Jia","sequence":"additional","affiliation":[{"name":"School of Integrated Circuits and Electronics, Beijing Institute of Technology, Beijing 100081, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Weijiang","family":"Wang","sequence":"additional","affiliation":[{"name":"School of Integrated Circuits and Electronics, Beijing Institute of Technology, Beijing 100081, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2024,2,4]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"108245","DOI":"10.1016\/j.patcog.2021.108245","article-title":"Towards automatic threat detection: A survey of advances of deep learning within X-ray security imaging","volume":"122","author":"Akcay","year":"2022","journal-title":"Pattern Recognit."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"682","DOI":"10.1109\/TSMC.2016.2628381","article-title":"Modern computer vision techniques for X-ray testing in baggage inspection","volume":"47","author":"Mery","year":"2016","journal-title":"IEEE Trans. Syst. Man Cybern. Syst."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Kundegorski, M.E., Akcay, S., Devereux, M., Mouton, A., and Breckon, T.P. (2016, January 23\u201325). On using feature descriptors as visual words for object detection within X-ray baggage security screening. Proceedings of the 7th International Conference on Imaging for Crime Detection and Prevention, Madrid, Spain.","DOI":"10.1049\/ic.2016.0080"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"128","DOI":"10.1016\/j.nima.2015.10.085","article-title":"Liquid Contrabands Classification Based on Energy Dispersive X-ray Diffraction and Hybrid Discriminant Analysis","volume":"808","author":"Yang","year":"2016","journal-title":"Nucl. Instrum. Methods Phys. Res. Sect. A-Accel. Spectrometers Detect. Assoc. Equip."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"287","DOI":"10.3788\/YJYXS20173204.0287","article-title":"X-ray image illegal object classification based on computer vision","volume":"32","author":"Wang","year":"2017","journal-title":"Chin. J. Liq. Cryst. Disp."},{"key":"ref_6","first-page":"1922","article-title":"FCOS: A Simple and Strong Anchor-Free Object Detector","volume":"44","author":"Tian","year":"2020","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Liu, W., Angueloy, D., Erhan, D., Szegedy, D., Reed, S., and Fu, C. (2016, January 11\u201314). SSD: Single shot multibox detector. Proceedings of the Computer Vision\u2013ECCV 2016: 14th European Conference, Amsterdam, The Netherlands.","DOI":"10.1007\/978-3-319-46448-0_2"},{"key":"ref_8","unstructured":"Ren, S., He, K., Girshick, R., and Sun, J. (2015). Faster R-CNN: Towards real-time object detection with region proposal networks. Adv. Neural Inf. Process. Syst., 28."},{"key":"ref_9","unstructured":"He, K., Gkioxari, G., Dollar, P., and Girsgick, R. (1995, January 20\u201323). Mask R-CNN. Proceedings of the IEEE International Conference on Computer Vision, Cambridge, MA, USA."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Akcay, S., Kundegorski, M., Devereux, M., and Breckon, T.P. (2016, January 25\u201328). Transfer learning using convolutional neural networks for object classification within X-ray baggage security imagery. Proceedings of the 2016 IEEE International Conference on Image Processing, Phoenix, AZ, USA.","DOI":"10.1109\/ICIP.2016.7532519"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Fang, C., Liu, J., Han, P., Chen, M., and Liao, D. (2023). FSVM: A Few-Shot Threat Detection Method for X-ray Security Images. Sensors, 23.","DOI":"10.3390\/s23084069"},{"key":"ref_12","first-page":"1823034","article-title":"On using XMC RCNN model for contraband detection within X-ray baggage security images","volume":"2020","author":"Zhang","year":"2020","journal-title":"Math. Probl. Eng."},{"key":"ref_13","first-page":"1096","article-title":"Multi-scale prohibited item detection in X-ray security image","volume":"36","author":"Zhang","year":"2020","journal-title":"J. Signal Process."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Sun, F., Zhang, X., Liu, Y., and Jiang, H. (2022). Multi-Object Detection in Security Screening Scene Based on Convolutional Neural Network. Sensors, 22.","DOI":"10.3390\/s22207836"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Zhu, X., Zhang, J., Chen, X., Li, D., Wang, Y., and Zheng, M. (2021, January 4\u20136). AMOD-Net: Attention-based Multi-Scale Object Detection Network for X- Ray Baggage Security Inspection. Proceedings of the 2021 5th International Conference on Computer Science and Artificial Intelligence, Beijing, China.","DOI":"10.1145\/3507548.3507552"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Wang, B., Zhang, L., Wen, L., Liu, X., and Wu, Y. (2021, January 10\u201317). Towards Real-World Prohibited Item Detection: A Large-Scale X-ray Benchmark. Proceedings of the 2021 IEEE\/CVF International Conference on Computer Vision, Montreal, QC, Canada.","DOI":"10.1109\/ICCV48922.2021.00536"},{"key":"ref_17","first-page":"75","article-title":"Yolo-C: One-stage network for prohibited items detection within X-ray images","volume":"58","author":"Guo","year":"2021","journal-title":"Laser Optoelectron. Prog."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Pang, L., Liu, H., Chen, Y., and Miao, J. (2020). Real-time Concealed Object Detection from Passive Millimeter Wave Images Based on the YOLOv3 Algorithm. Sensors, 20.","DOI":"10.3390\/s20061678"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Yu, X., Yuan, W., and Wang, A. (2023). X-ray Security Inspection Image Dangerous Goods Detection Algorithm Based on Improved YOLOv4. Electronics, 12.","DOI":"10.3390\/electronics12122644"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Miao, C., Xie, L., Wan, F., Su, C., Liu, H., Jiao, J., and Ye, Q. (2019, January 15\u201320). SIXray: A large-scale security inspection X-ray benchmark for prohibited item discovery in overlapping images. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.","DOI":"10.1109\/CVPR.2019.00222"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Song, B., Li, R., Pan, X., Liu, X., and Xu, Y. (2022, January 19\u201321). Improved YOLOv5 Detection Algorithm of Contraband in X-ray Security Inspection Image. Proceedings of the 2022 5th International Conference on Pattern Recognition and Artificial Intelligence, Chengdu, China.","DOI":"10.1109\/PRAI55851.2022.9904110"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Xiang, N., Gong, Z., Xu, Y., and Xiong, L. (2023). Material-Aware Path Aggregation Network and Shape Decoupled SIoU for X-ray Contraband Detection. Electronics, 12.","DOI":"10.3390\/electronics12051179"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Wei, Y., Tao, R., Wu, Z., Ma, Y., Zhang, L., and Liu, X. (2020, January 12\u201316). Occluded prohibited items detection: An X-ray security inspection benchmark and de-occlusion attention module. Proceedings of the 28th ACM International Conference on Multimedia, Seattle, WA, USA.","DOI":"10.1145\/3394171.3413828"},{"key":"ref_24","first-page":"324","article-title":"X-ray image rotating object detection based on improved YOLOv7","volume":"44","author":"Cheng","year":"2023","journal-title":"J. Graph."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Jing, B., Duan, P., Chen, L., and Du, Y. (2023). EM-YOLO: An X-ray Prohibited-Item-Detection Method Based on Edge and Material Information Fusion. Sensors, 23.","DOI":"10.3390\/s23208555"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Yan, Y., and Li, J. (2021, January 20\u201325). Anchor-free person search. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.","DOI":"10.1109\/CVPR46437.2021.00760"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Liu, S.T., Huang, D., and Wang, Y.H. (2018, January 8\u201314). Receptive field block net for accurate and fast object detection. Proceedings of the 15th European Conference on Computer Vision, Munich, Germany.","DOI":"10.1007\/978-3-030-01252-6_24"},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Woo, S., Park, J., Lee, J.Y., and Kweon, I.S. (2018, January 8\u201314). CBAM: Convolutional block attention module. Proceedings of the European Conference on Computer Vision, Munich, Germany.","DOI":"10.1007\/978-3-030-01234-2_1"},{"key":"ref_29","unstructured":"Yang, L., Zhang, R.Y., Li, L., and Xie, X. (2021, January 18\u201324). SimAM: A simple, parameter-free attention module for convolutional neural networks. Proceedings of the 38th International Conference on Machine Learning, Online."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Hou, Q., Zhou, D., and Feng, J. (2021, January 20\u201325). Coordinate attention for efficient mobile network design. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.","DOI":"10.1109\/CVPR46437.2021.01350"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Tan, M., Pang, R., and Le, Q.V. (2020, January 13\u201319). Efficientdet: Scalable and efficient object detection. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.","DOI":"10.1109\/CVPR42600.2020.01079"},{"key":"ref_32","unstructured":"Yu, Z., Huang, H., Chen, W., Su, Y., Liu, Y., and Wang, X. (2022). YOLO-FaceV2: A Scale and Occlusion Aware Face Detector. arXiv."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Bodla, N., Singh, B., Chellappa, R., and Davis, L.S. (2017, January 22\u201329). Soft-NMS--improving object detection with one line of code. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.","DOI":"10.1109\/ICCV.2017.593"},{"key":"ref_34","unstructured":"Bochkovskiy, A., Wang, C.Y., and Liao, H.Y.M. (2020). Yolov4: Optimal speed and accuracy of object detection. arXiv."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Zhang, H., Cisse, M., Dauphin, Y.N., and Lopez-Paz, D. (2017). Mixup: Beyond empirical risk minimization. arXiv.","DOI":"10.1007\/978-1-4899-7687-1_79"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Ghiasi, G., Cui, Y., Srinivas, A., Qian, R., Lin, T.Y., Cubuk, E.D., Le, Q.V., and Zoph, B. (2021, January 20\u201325). Simple copy-paste is a strong data augmentation method for instance segmentation. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.","DOI":"10.1109\/CVPR46437.2021.00294"},{"key":"ref_37","unstructured":"Yun, S., Han, D., Oh, S.J., Chun, S., Choe, J., and Yoo, Y. (November, January 27). Cutmix: Regularization strategy to train strong classifiers with localizable feature. Proceedings of the IEEE\/CVF International Conference on Computer Vision, Seoul, Republic of Korea."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/j.neucom.2022.11.034","article-title":"Occluded prohibited object detection in X-ray images with global Context-aware Multi-Scale feature Aggregation","volume":"519","author":"Ma","year":"2022","journal-title":"Neurocomputing"},{"key":"ref_39","unstructured":"Wang, J., Xu, C., Yang, W., and Yu, L. (2021). A normalized Gaussian Wasserstein distance for tiny object detection. arXiv."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/24\/3\/1002\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T13:54:40Z","timestamp":1760104480000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/24\/3\/1002"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,2,4]]},"references-count":39,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2024,2]]}},"alternative-id":["s24031002"],"URL":"https:\/\/doi.org\/10.3390\/s24031002","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,2,4]]}}}