Dataset Ninja LogoDataset Ninja:

OD-WeaponDetection: Pistol Classification Dataset

98571022391
Tagsecurity, surveillance
Taskclassification
Release YearMade in 2020
LicenseCC BY-SA 4.0
Download135 MB

Introduction #

Released 2020-11-23 ·Fransco Pérez Hernandez, Alberto Castillo Lamas, Roberto Olmoset al.

Authors introduce OD-WeaponDetection: Pistol Classification dataset, a collection of 9857 images designed for classification task, contains 102 classes: aaapistol, pizza, joshua_tree and more. These images were sourced from the internet, including frames extracted from YouTube videos and surveillance footage. The dataset encompasses a wide variety of weapons, differing in types, shapes, colors, sizes, and materials. It accounts for knives positioned at various distances from the camera, some partially occluded by hands, and objects that mimic the handling of knives. The dataset offers a diverse range of indoor and outdoor scenarios, and additional details about this image dataset and experiment results can be found in the related publication. The OD-WeaponDetection: Pistol Classification dataset is a part of Weapon Detection Open Data.

More about Weapon Detection Open Data

The weapon datasets available here are specifically tailored for the development of intelligent video surveillance automatic systems.

An automatic weapon detection system can provide the early detection of potentially violent situations that is of paramount importance for citizens security. One way to prevent these situations is by detecting the presence of dangerous objects such as handguns and knives in surveillance videos. Deep Learning techniques based on Convolutional Neural Networks can be trained to detect this type of object.

The weapon detection task can be performed by different approaches of combining a region proposal technique with a classifier, or integrating both into one model. However, any deep learning model requires to learn a quality image dataset and an annotation according to the classification or detection tasks.

Weapon detection Open Data provides quality image datasets built for training Deep Learning models under the development of an automatic weapon detection system. Weapons datasets for image classification and object detection tasks are described and can be downloaded below. The public datasets are organized depending on the included objects in the dataset images and the target task.

Weapon Detection Open Data structure

Classification

The datasets included in this section have been designed for the classification task based on CNN deep learning models. After the training stage on these datasets, the classification models must distinguish between weapons and different common objects present in the background or handled similarly.

  • OD-WeaponDetection: Knife Classification (10 039 images, 100 classes) (available on DatasetNinja)
  • OD-WeaponDetection: Pistol Classification (9 857 images, 102 classes) (current)
  • OD-WeaponDetection: Sohas Classification (9 544 images, 6 classes) (available on DatasetNinja)

Detection

The datasets included in this section have been designed for the object detection task based on Deep Learning architectures with a CNN backbone. The selected images contain weapons and objects but also consider an enriched context of different background objects as well as the way objects are handled. After the training stage on these datasets, the detection models must locate and distinguish between weapons and different common objects present in the background or handled similarly.

ExpandExpand
Dataset LinkHomepageDataset LinkResearch PaperDataset LinkBlog Post

Summary #

OD-WeaponDetection: Pistol Classification is a dataset for a classification task. It is used in the security industry.

The dataset consists of 9857 images with 0 labeled objects. There are no pre-defined train/val/test splits in the dataset. The dataset designed for classification task, contains 102 classes: aaapistol, pizza, joshua_tree and more. The dataset was released in 2020 by the Soft Computing and Intelligent Information Systems research group and University of Granada, Spain.

Here are the visualized examples for the classes:

Explore #

OD-WeaponDetection: Pistol Classification dataset has 9857 images. Click on one of the examples below or open "Explore" tool anytime you need to view dataset images with annotations. This tool has extended visualization capabilities like zoom, translation, objects table, custom filters and more. Hover the mouse over the images to hide or show annotations.

OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
OpenSample annotation mask from OD-WeaponDetection: Pistol ClassificationSample image from OD-WeaponDetection: Pistol Classification
👀
Have a look at 9857 images
View images along with annotations and tags, search and filter by various parameters

License #

OD-WeaponDetection: Pistol Classification is under CC BY-SA 4.0 license.

Source

Citation #

If you make use of the OD-WeaponDetection: Pistol Classification data, please cite the following reference:

@misc{olmos2017automatic,
  title={Automatic Handgun Detection Alarm in Videos Using Deep Learning}, 
  author={Roberto Olmos and Siham Tabik and Francisco Herrera},
  year={2017},
  eprint={1702.05147},
  archivePrefix={arXiv},
  primaryClass={cs.CV}
}

Source

If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:

@misc{ visualization-tools-for-od-weapon-detection-pistol-classification-dataset,
  title = { Visualization Tools for OD-WeaponDetection: Pistol Classification Dataset },
  type = { Computer Vision Tools },
  author = { Dataset Ninja },
  howpublished = { \url{ https://datasetninja.com/od-weapon-detection-pistol-classification } },
  url = { https://datasetninja.com/od-weapon-detection-pistol-classification },
  journal = { Dataset Ninja },
  publisher = { Dataset Ninja },
  year = { 2024 },
  month = { nov },
  note = { visited on 2024-11-21 },
}

Download #

Dataset OD-WeaponDetection: Pistol Classification can be downloaded in Supervisely format:

As an alternative, it can be downloaded with dataset-tools package:

pip install --upgrade dataset-tools

… using following python code:

import dataset_tools as dtools

dtools.download(dataset='OD-WeaponDetection: Pistol Classification', dst_dir='~/dataset-ninja/')

Make sure not to overlook the python code example available on the Supervisely Developer Portal. It will give you a clear idea of how to effortlessly work with the downloaded dataset.

The data in original format can be downloaded here.

. . .

Disclaimer #

Our gal from the legal dep told us we need to post this:

Dataset Ninja provides visualizations and statistics for some datasets that can be found online and can be downloaded by general audience. Dataset Ninja is not a dataset hosting platform and can only be used for informational purposes. The platform does not claim any rights for the original content, including images, videos, annotations and descriptions. Joint publishing is prohibited.

You take full responsibility when you use datasets presented at Dataset Ninja, as well as other information, including visualizations and statistics we provide. You are in charge of compliance with any dataset license and all other permissions. You are required to navigate datasets homepage and make sure that you can use it. In case of any questions, get in touch with us at hello@datasetninja.com.