weapon-detection / README.md
shravya11's picture
Upload README.md with huggingface_hub
063abff verified
metadata
license: other
task_categories:
  - object-detection
  - image-classification
tags:
  - computer-vision
  - weapon
  - knife
  - pistol
  - weapon-detection

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.