{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/towards-real-world-prohibited-item-detection","title":"Towards Real-World Prohibited Item Detection: A Large-Scale X-ray Benchmark","arxiv_id":"2108.07020","date":"2021-08-16","proceeding":"ICCV 2021 10","authors":["Boying Wang","Libo Zhang","Longyin Wen","Xianglong Liu","Yanjun Wu"],"abstract":"Automatic security inspection using computer vision technology is a challenging task in real-world scenarios due to various factors, including intra-class variance, class imbalance, and occlusion. Most of the previous methods rarely solve the cases that the prohibited items are deliberately hidden in messy objects due to the lack of large-scale datasets, restricted their applications in real-world scenarios. Towards real-world prohibited item detection, we collect a large-scale dataset, named as PIDray, which covers various cases in real-world scenarios for prohibited item detection, especially for deliberately hidden items. With an intensive amount of effort, our dataset contains $12$ categories of prohibited items in $47,677$ X-ray images with high-quality annotated segmentation masks and bounding boxes. To the best of our knowledge, it is the largest prohibited items detection dataset to date. Meanwhile, we design the selective dense attention network (SDANet) to construct a strong baseline, which consists of the dense attention module and the dependency refinement module. The dense attention module formed by the spatial and channel-wise dense attentions, is designed to learn the discriminative features to boost the performance. The dependency refinement module is used to exploit the dependencies of multi-scale features. Extensive experiments conducted on the collected PIDray dataset demonstrate that the proposed method performs favorably against the state-of-the-art methods, especially for detecting the deliberately hidden items.","url_abs":"https://arxiv.org/abs/2108.07020v1","url_pdf":"https://arxiv.org/pdf/2108.07020v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"towards-real-world-prohibited-item-detection","repo_url":"https://github.com/bywang2018/security-dataset","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[],"methods":[],"datasets_introduced":[{"slug":"pidray","name":"PIDray","full_name":""}],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2108.07020","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2108.07020"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/bywang2018/security-dataset","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":9},"by_repo_kind":{"official":{"samples":9,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"6a7ed994a87db611","entry":"anchor_target","repo":"bywang2018/security-dataset","repo_kind":"official","path":"mmdet/core/anchor/anchor_target.py","file_url":"https://github.com/bywang2018/security-dataset/blob/HEAD/mmdet/core/anchor/anchor_target.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6a7ed994a87db611"}},{"code_sha256_prefix":"1dd00ccb42e850dc","entry":"anchor_target_single","repo":"bywang2018/security-dataset","repo_kind":"official","path":"mmdet/core/anchor/anchor_target.py","file_url":"https://github.com/bywang2018/security-dataset/blob/HEAD/mmdet/core/anchor/anchor_target.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1dd00ccb42e850dc"}},{"code_sha256_prefix":"736c7ce8a0faa02a","entry":"calc_region","repo":"bywang2018/security-dataset","repo_kind":"official","path":"mmdet/core/anchor/guided_anchor_target.py","file_url":"https://github.com/bywang2018/security-dataset/blob/HEAD/mmdet/core/anchor/guided_anchor_target.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"736c7ce8a0faa02a"}},{"code_sha256_prefix":"2440313353f0c835","entry":"ga_loc_target","repo":"bywang2018/security-dataset","repo_kind":"official","path":"mmdet/core/anchor/guided_anchor_target.py","file_url":"https://github.com/bywang2018/security-dataset/blob/HEAD/mmdet/core/anchor/guided_anchor_target.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2440313353f0c835"}},{"code_sha256_prefix":"e3463fa8772a18a9","entry":"ga_shape_target","repo":"bywang2018/security-dataset","repo_kind":"official","path":"mmdet/core/anchor/guided_anchor_target.py","file_url":"https://github.com/bywang2018/security-dataset/blob/HEAD/mmdet/core/anchor/guided_anchor_target.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e3463fa8772a18a9"}},{"code_sha256_prefix":"8fa249eba3a0ce57","entry":"images_to_levels","repo":"bywang2018/security-dataset","repo_kind":"official","path":"mmdet/core/anchor/anchor_target.py","file_url":"https://github.com/bywang2018/security-dataset/blob/HEAD/mmdet/core/anchor/anchor_target.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8fa249eba3a0ce57"}},{"code_sha256_prefix":"99bbbfc95abdc86a","entry":"images_to_levels","repo":"bywang2018/security-dataset","repo_kind":"official","path":"mmdet/core/anchor/point_target.py","file_url":"https://github.com/bywang2018/security-dataset/blob/HEAD/mmdet/core/anchor/point_target.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"99bbbfc95abdc86a"}},{"code_sha256_prefix":"a08ee98e88ad24e7","entry":"point_target","repo":"bywang2018/security-dataset","repo_kind":"official","path":"mmdet/core/anchor/point_target.py","file_url":"https://github.com/bywang2018/security-dataset/blob/HEAD/mmdet/core/anchor/point_target.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a08ee98e88ad24e7"}},{"code_sha256_prefix":"b660461f38b4382b","entry":"point_target_single","repo":"bywang2018/security-dataset","repo_kind":"official","path":"mmdet/core/anchor/point_target.py","file_url":"https://github.com/bywang2018/security-dataset/blob/HEAD/mmdet/core/anchor/point_target.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b660461f38b4382b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}