Dataset Viewer
The dataset could not be loaded because the splits use different data file formats, which is not supported. Read more about the splits configuration. Click for more details.
Couldn't infer the same data file format for all splits. Got {NamedSplit('train'): ('text', {}), NamedSplit('test'): ('imagefolder', {})}
Error code:   FileFormatMismatchBetweenSplitsError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Weapon Detection and Classification Dataset

This repository contains a large-scale collection of weapon images and annotations for object detection and image classification tasks, covering knives, pistols, and other weapons.

Dataset Structure

The dataset is partitioned into categories, each chunked into smaller parts (max 2,500 files per part) to keep commit sizes and downloads manageable on Hugging Face:

  • Total Files: 63,128 (46,241 images + 16,887 annotations)
  • Folder Categories:
    • Knife classification/ (parts 1-5): 10,039 classification images
    • Knife_detection/ (parts 1-2): 2,078 images and 2,078 XML annotations in Pascal VOC format
    • Pistol classification/ (parts 1-4): 9,857 classification images
    • Pistol detection/ (parts 1-3): 3,000 images and 3,000 XML annotations in Pascal VOC format
    • Weapons and similar handled objects/ (parts 1-14): 21,262 images and 11,807 XML annotations
    • pictures/: 5 project documentation images
    • License.md: Dataset license document

For the detection splits, corresponding image and label files share the same base name and are grouped together in the same part folder under their respective subdirectories (e.g. images/ and annotations/).

License

License details for this dataset are specified in the License.md file.

Downloads last month
20