Small Foreign Metal Objects Detection in X-Ray Images of Clothing Products Using Faster R-CNN and Feature Pyramid Network

Rong Gao,Zhaoyun Sun,Ju Huyan,Wei Li,Liyang Xiao,Bobin Yao,Huifeng Wang
DOI: https://doi.org/10.1109/tim.2021.3077666
IF: 5.6
2021-01-01
IEEE Transactions on Instrumentation and Measurement
Abstract:Immediate and accurate detection of foreign metal objects (FMOs) in clothing products is important for guaranteeing human safety. This article proposes an online detection approach based on deep learning, which is suitable for detecting small FMOs from X-ray images of clothing packages. A conveyor belt X-ray scanning system is developed for image collection. The X-ray images are preprocessed by using the morphological erosion operation to improve the accuracy of FMOs detection. These images are then down-sampled to reduce the computation cost. Feature pyramid network (FPN) is adopted for aggregating feature maps with different resolutions, which proved to be effective for small FMOs detection. The stochastic gradient descent (SGD) is used to optimize a multitask loss. The trained model was tested offline on 200 X-ray images, which achieved precision = 0.999, recall = 0.988, F1-score = 0.993, and AP = 0.946. Compared to original Faster region-based convolutional neural networks (R-CNN), the proposed method significantly improved the performance for small FMOs detection in terms of precision and recall rate.
engineering, electrical & electronic,instruments & instrumentation
What problem does this paper attempt to address?