Skip to content

TerrencePai/XrayDetection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Detection Under X-ray Security Inspection Scenario: Dataset & Papers 📌

This is the summary web of open source datasets and critical papers for Object Detection under X-ray security inspection scenario done by the research group in the State Key Laboratory of Software Development Environment (SKLSDE) at Beihang University. The datasets can only be used for ACADEMIC PURPOSES. NO COMERCIAL USE is allowed. We hope our work can contribute to the community and encourage more researchers to continue to work in this field.

Table of Contents

Introduction

X-ray security inspection machines have been widely used in traffic safety scenes such as airports and customs. With the rapid development of society, the requirements for the speed and accuracy of security inspection are becoming higher and higher. However, the traditional X-ray image judgment has always depended on manual work, with low quality and efficiency, long time-consuming, high requirements for the experience of the cartographer, and the problem of missing inspection occurs. These problems require the use of automatic object detection algorithm in X-ray security detection to improve the detection and response time of human operators.

This project aims at different scenarios of the "contraband detection under X-ray", such as lack of sample content, more scene changes. We describe the details of different evaluation benchmarks, and introduce the studies have been carried out to address the above challenges, which professionally provide support for relevant researchers' further exploration in this field.

News

[2023.02.21] One paper for physical adversarial attack against X-ray detection is accepted by USENIX Security 2023.

[2022.06.29] One paper for Few-shot X-ray Detection is accepted by ACM MM 2022.

[2022.03.02] One paper for cross-domain object detection is accepted by CVPR 2022.

[2021.12.19] We hold the "Prohibited Items Detection Under X-ray Security Inspection Scenario" Forum on the 4th Chinese Conference on Pattern Recognition and Computer Vision

[2021.07.23] One paper for object detection is accepted by ICCV 2021.

[2020.07.26] One oral paper for De-occlusion X-ray Detection is accepted by ACM MM 2020.

Released Datasets for Xray Object Detection

OPIXray: Occluded Prohibited Items X-ray

Occluded Prohibited Items X-ray(OPIXray) is the first high-quality object detection dataset for security inspection.

The backgrounds of all samples in OPIXray are scanned by the security inspection machine and each prohibited item is annotated manually by professional inspectors from the international airport, which localized by a box-level annotation with a bounding box.

💥💥💥Download Link💥💥💥

  • If you want to access the dataset, please read the instructions in this folder carefully, sign the corresponding commitment file and send it to buaa_xraydetection@163.com. After receiving your request, we will rely with the download link soon. 💥💥💥Notice that requests with unsatisfactory information will not be accepted.

OPIXray dataset consists of:

  • Altogether 8885 X-ray images

  • 5 categories of cutters:

    • Folding Knife: 1993 images
    • Straight Knife:1044 images
    • Scissor:1863 images
    • Utility Knife:1978 images
    • Multi-tool Knife:2042 images
  • All images are stored in JPG format with the resolution of 1225*954.

The dataset is partitioned into a training set and a testing set, with the former containing 80% of the images (7109) and the latter containing 20% (1776), where the ratio is about 4 : 1. In order to study the impact brought by object occlusion levels, the testing set was divided into three subsets named as Occlusion Level 1 (OL1), Occlusion Level 2 (OL2) and Occlusion Level 3 (OL3), where the number indicates occlusion level of prohibited items in images.

👆 BACK to Table of Contents -->

HiXray: High-quality X-ray

HiXray is a large high-quality dataset for prohibited items detection in X-ray images, which is gathered from real-world daily security inspections in an international airport. Each instance is manually annotated by professional inspectors from the international airport, guaranteeing the accurate annotations.

💥💥💥Download Link💥💥💥

  • If you want to access the dataset, please read the instructions in this folder carefully, sign the corresponding commitment file and send it to buaa_xraydetection@163.com. After receiving your request, we will rely with the download link soon. 💥💥💥Notice that requests with unsatisfactory information will not be accepted.

HiXray dataset consists of:

  • Altogether 45,364 X-ray images

  • 8 categories of 102,928 common prohibited items:

    • Portable Charger 1 (PO1): 12421 prohibited items
    • Portable Charger 2 (PO2): 7788 prohibited items
    • Water (WA): 3092 prohibited items
    • Laptop (LA): 10042 prohibited items
    • Mobile phone (MP): 53835 prohibited items
    • Tablet (TA): 4918 prohibited items
    • Cosmetic (CO): 9949 prohibited items
    • Nonmetallic Lighter (NL): 883 prohibited items
  • All images are stored in JPG format with a 1200*900 resolution averagely.

  • The maximum resolution of samples can reach 2000*1040

The dataset is partitioned into a training set and a testing set, where the ratio is about 4 : 1.

👆 BACK to Table of Contents -->

EDS: Endogenous Domain Shift

Endogenous Domain Shift (EDS) dataset is the first endogenous domain shift benchmark, by selecting a typical scenario, X-ray security inspection. Due to the differences in intrinsic mechanisms or hardware components of the imaging systems of different types of X-ray machines, there are subtle perturbations in X-ray images generated by different X-ray machines, which cause the endogenous shift.

💥💥💥Download Link💥💥💥

  • If you want to access the dataset, please read the instructions in this folder carefully, sign the corresponding commitment file and send it to buaa_xraydetection@163.com. After receiving your request, we will rely with the download link soon. 💥💥💥Notice that requests with unsatisfactory information will not be accepted.

EDS dataset consists of:

  • 3 different domains
  • Altogether 14,219 X-ray images
  • 10 categories of 31,654 common prohibited items. It is guaranteed that the instances in each category is no less than 1000, which is sufficient for the evaluation.

Three X-ray security inspection machines from different manufactures and with different serving time are exploited to generate three domains of images. We randomly put the objects in preprepared package to generate images. After sending the package to the security inspection machine, the machine will completely cut out the package by detecting the blank.

👆 BACK to Table of Contents -->

X-ray FSOD

X-ray FSOD dataset is the first weak-feature FSOD evaluation benchmark by selecting the typical scenario, X-ray security inspection. All the samples of X-ray FSOD dataset are generated by X-ray machines, where the texture information of prohibited items is almost eliminated by X-ray.

💥💥💥Download Link💥💥💥

  • If you want to access the dataset, please read the instructions in this folder carefully, sign the corresponding commitment file and send it to buaa_xraydetection@163.com. After receiving your request, we will rely with the download link soon. 💥💥💥Notice that requests with unsatisfactory information will not be accepted.

X-ray FSOD dataset consists of:

  • Altogether 12,333 X-ray images
  • 20 categories of 41,704 common prohibited items, where 16 categories are selected from three dataset, including 5 from OPIXray, 5 from HiXray and 4 from EDS Dataset, and other 6 categories are newly contributed:
    • OPIXray:
    • Folding (FO): 12421 prohibited items
    • Straight (PO2): 7788 prohibited items
    • Scissor (WA): 3092 prohibited items
    • Utility (LA): 10042 prohibited items
    • Multi-tool (MP): 53835 prohibited items
    • HiXray:
    • Laptop (TA): 4918 prohibited items
    • Lighter (CO): 9949 prohibited items
    • Charger1 (NL): 883 prohibited items
    • Charger2 (NL): 883 prohibited items
    • Phone (NL): 883 prohibited items
    • EDS:
    • Plastic Bottle (NL): 883 prohibited items
    • Glass Bottle (NL): 883 prohibited items
    • Pressure (NL): 883 prohibited items
    • Umbrella (NL): 883 prohibited items
    • New:
    • Battery (NL): 883 prohibited items
    • Iron Shoe (NL): 883 prohibited items
    • Metal Can (NL): 883 prohibited items
    • Metal Cup (NL): 883 prohibited items
    • Nail Clipper (NL): 883 prohibited items
    • Alcohol (NL): 883 prohibited items

The researchers exploit the X-ray security inspection machine and randomly put the objects in pre-prepared package to generate images. For other objects in the luggage, The researchers aim to simulate the real-world traveling luggage by putting some common items e.g., clothes, shoes. After sending the package to the security inspection machine, the machine will completely cut out the package by detecting the blank.

👆 BACK to Table of Contents -->

XAD: Physical X-ray Attack Dataset

HiXray is a large high-quality dataset for prohibited items detection in X-ray images, which is gathered from real-world daily security inspections in an international airport. Each instance is manually annotated by professional inspectors from the international airport, guaranteeing the accurate annotations.

XAD is a physical-world X-ray inspection security robustnes evaluation dataset, which is collected from an advanced X-ray security machine. XAD has 4 categories of prohibited items, and its test set has 4 different severity level of adversarial objects. The researchers propose this dataset in order to promote the design of robust X-ray prohibited item detectors.

💥💥💥Download Link💥💥💥

  • If you want to access the dataset, please read the instructions in this folder carefully, sign the corresponding commitment file and send it to buaa_xraydetection@163.com. After receiving your request, we will rely with the download link soon. 💥💥💥Notice that requests with unsatisfactory information will not be accepted.

XAD dataset consists of:

  • Altogether 5587 X-ray images

  • 4 categories of 5684 common prohibited items:

    • Scissor: 2002 prohibited items
    • Folding knife: 1354 prohibited items
    • Straight Knife: 1352 prohibited items
    • Utility knife: 976 prohibited items
  • All images in test set are stored with a 900*500 resolution.

The dataset is partitioned into a training set and a testing set, where the training set has 4537 images, and the test set has 210 clean images and 4 different severity level of adversarial images generated from those clean images.

👆 BACK to Table of Contents -->

Critical Papers for Xray Object Detection

Security inspection often deals with a piece of baggage or suitcase where objects are heavily overlapped with each other, resulting in an unsatisfactory performance for prohibited items detection in X-ray images. In the literature, there have been rare studies and datasets touching this important topic. In this work, we contribute the first high-quality object detection dataset for security inspection, named Occluded Prohibited Items X-ray (OPIXray) image benchmark. OPIXray focused on the widely-occurred prohibited item "cutter", annotated manually by professional inspectors from the international airport. The test set is further divided into three occlusion levels to better understand the performance of detectors. Furthermore, to deal with the occlusion in X-ray images detection, we propose the De-occlusion Attention Module (DOAM), a plug-and-play module that can be easily inserted into and thus promote most popular detectors. Despite the heavy occlusion in X-ray imaging, shape appearance of objects can be preserved well, and meanwhile different materials visually appear with different colors and textures. Motivated by these observations, our DOAM simultaneously leverages the different appearance information of the prohibited item to generate the attention map, which helps refine feature maps for the general detectors. We comprehensively evaluate our module on the OPIXray dataset, and demonstrate that our module can consistently improve the performance of the state-of-the-art detection methods such as SSD, FCOS, etc, and significantly outperforms several widely-used attention mechanisms. In particular, the advantages of DOAM are more significant in the scenarios with higher levels of occlusion, which demonstrates its potential application in real-world inspections.

👆 BACK to Table of Contents -->

Prohibited items detection in X-ray images often plays an important role in protecting public safety, which often deals with color-monotonous and luster-insufficient objects, resulting in unsatisfactory performance. Till now, there have been rare studies touching this topic due to the lack of specialized high-quality datasets. In this work, we first present a High-quality X-ray (HiXray) security inspection image dataset, which contains 102,928 common prohibited items of 8 categories. It is the largest dataset of high quality for prohibited items detection, gathered from the real-world airport security inspection and annotated by professional security inspectors. Besides, for accurate prohibited item detection, we further propose the Lateral Inhibition Module (LIM) inspired by the fact that humans recognize these items by ignoring irrelevant information and focusing on identifiable characteristics, especially when objects are overlapped with each other. Specifically, LIM, the elaborately designed flexible additional module, suppresses the noisy information flowing maximumly by the Bidirectional Propagation (BP) module and activates the most identifiable charismatic, boundary, from four directions by Boundary Activation (BA) module. We evaluate our method extensively on HiXray and OPIXray and the results demonstrate that it outperforms SOTA detection methods.

👆 BACK to Table of Contents -->

Existing cross-domain detection methods mostly study the domain shifts where differences between domains are often caused by external environment and perceivable for humans. However, in real-world scenarios (e.g., MRI medical diagnosis, X-ray security inspection), there still exists another type of shift, named endogenous shift, where the differences between domains are mainly caused by the intrinsic factors (e.g., imaging mechanisms, hardware components, etc.), and usually inconspicuous. This shift can also severely harm the cross-domain detection performance but has been rarely studied. To support this study, we contribute the first Endogenous Domain Shift (EDS) benchmark, X-ray security inspection, where the endogenous shifts among the domains are mainly caused by different X-ray machine types with different hardware parameters, wear degrees, etc. EDS consists of 14,219 images including 31,654 common instances from three domains (X-ray machines), with bounding-box annotations from 10 categories. To handle the endogenous shift, we further introduce the Perturbation Suppression Network (PSN), motivated by the fact that this shift is mainly caused by two types of perturbations: category-dependent and category-independent ones. PSN respectively exploits local prototype alignment and global adversarial learning mechanism to suppress these two types of perturbations. The comprehensive evaluation results show that PSN outperforms SOTA methods, serving a new perspective to the cross-domain research community.

👆 BACK to Table of Contents -->

Few-shot X-ray Prohibited Item Detection: A Benchmark and Weak-feature Enhancement Network

X-ray prohibited items detection of security inspection plays an important role in protecting public safety. It is a typical few-shot object detection (FSOD) task because some categories of prohibited items are highly scarce due to low-frequency appearance, e.g., pistols, which has been ignored by recent X-ray detection works. In contrast to most FSOD studies that rely on rich feature correlations from natural scenarios, the more practical X-ray security inspection usually faces the dilemma of only weak features learnable due to heavy occlusion, color fading, etc., which causes a severe performance drop when traditional FSOD methods are adopted. However, professional X-ray FSOD evaluation benchmarks and effective models of this scenario have been rarely studied in recent years. Therefore, in this paper, we propose the first X-ray FSOD dataset on the typical industrial X-ray security inspection scenario consisting of 12,333 images and 41,704 instances from 20 categories, which could benchmark and promote FSOD studies on such more challenging scenarios. Further, we propose the Weakfeature Enhancement Network (WEN) containing two core modules, i.e., Prototype Perception (PR) and Feature Reconciliation (FR), where PR first generates a prototype library by aggregating and extracting the basis feature from critical regions around instances, to generate the basis information for each category; FR then adaptively adjusts the impact intensity of the corresponding prototype and forces the model to precisely enhance the weak features of specific objects through the basis information. This mechanism is also effective in traditional FSOD tasks. Extensive experiments on X-ray FSOD and Pascal VOC datasets demonstrate that WEN outperforms other baselines in both X-ray and common scenarios

👆 BACK to Table of Contents -->

X-Adv: Physical Adversarial Object Attacks against X-ray Prohibited Item Detection

Adversarial attacks are valuable for evaluating the robustness of deep learning models. Existing attacks are primarily conducted on the visible light spectrum (e.g., pixel-wise texture perturbation). However, attacks targeting texture-free X-ray images remain underexplored, despite the widespread application of X-ray imaging in safety-critical scenarios such as the X-ray detection of prohibited items. In this paper, we take the first step toward the study of adversarial attacks targeted at X-ray prohibited item detection, and reveal the serious threats posed by such attacks in this safety-critical scenario. Specifically, we posit that successful physical adversarial attacks in this scenario should be specially designed to circumvent the challenges posed by color/texture fading and complex overlapping. To this end, we propose X-Adv to generate physically printable metals that act as an adversarial agent capable of deceiving X-ray detectors when placed in luggage. To resolve the issues associated with color/texture fading, we develop a differentiable converter that facilitates the generation of 3D-printable objects with adversarial shapes, using the gradients of a surrogate model rather than directly generating adversarial textures. To place the printed 3D adversarial objects in luggage with complex overlapped instances, we design a policy-based reinforcement learning strategy to find locations eliciting strong attack performance in worst-case scenarios whereby the prohibited items are heavily occluded by other items. To verify the effectiveness of the proposed X-Adv, we conduct extensive experiments in both the digital and the physical world (employing a commercial X-ray security inspection system for the latter case). Furthermore, we present the physical-world X-ray adversarial attack dataset XAD. We hope this paper will draw more attention to the potential threats targeting safetycritical scenarios.

👆 BACK to Table of Contents -->

Organizers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%