Introduction #
Authors introduce OD-WeaponDetection: Sohas Classification dataset, featuring a corpus of 9 544 images with six distinct classes, which include knive, pistol, tarjeta, monedero, smartphone, billete categories. Just as in the example dataset, the authors present this resource as a pivotal contribution to the field of classification, particularly focusing on weapons and objects of interest within images. The dataset’s rich content is sourced from a myriad of internet-based sources, including frames extracted from YouTube videos and surveillance footage, ensuring it encapsulates real-world challenges. With a diverse array of indoor and outdoor settings, the dataset equips researchers, security professionals, and developers with a versatile resource for advancing classification models. Detailed information and experimental results are available in a related publication, making the OD-WeaponDetection: Sohos Classification dataset an essential component of the broader Weapon Detection Open Data initiative.
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) (available on DatasetNinja)
- OD-WeaponDetection: Sohas Classification (9 544 images, 6 classes) (current)
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.
- OD-WeaponDetection: Knife Detection (2 078 images, 1 class) (available on DatasetNinja)
- OD-WeaponDetection: Pistol Detection (3 000 images, 1 class) (available on DatasetNinja)
- OD-WeaponDetection: Sohas Detection (5 859 images, 6 classes) (available on DatasetNinja)
Summary #
OD-WeaponDetection: Sohas Classification is a dataset for a classification task. It is used in the security industry.
The dataset consists of 9544 images with 0 labeled objects. There are no pre-defined train/val/test splits in the dataset. Alternatively, the dataset could be split into 6 classification image sets: pistol (3975 images), knife (2349 images), smartphone (1184 images), monedero (813 images), billete (777 images), and tarjeta (446 images). The dataset was released in 2020 by the University of Granada, Spain, Ho Chi Minh City University of Technology (HUTECH), Viet Nam, and King Abdulaziz University (KAU) Jeddah, Saudi Arabia.
Here are the visualized examples for the classes:
Explore #
OD-WeaponDetection: Sohas Classification dataset has 9544 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.
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/K/3/pI/9TbFL2Nur1xyYKlK5TT6fFwXWW4NWZUhZQrHiBue19ls3TpNw3jhSpmfm4VGkIKpwKus2CnDpaXQF2q4pS29mlZyrQGRvhlkJXssryW4QQqP3dtfJqIFb2qwOUjX.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/j/n/2W/8DzatDvXmFUTGyxqV5FdLiabz3m6C2hJpB11ga2T9bFoT2zlkO5AUgukyEL3KmtKJEaeyUYDRRKAkeGSeEJyxjnCLnLilnMO6hoiPuLoB5UqqJfC69VMUIJu0aHr.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/2/O/yw/ZxFSWd0dBgTZJbpStZDgmmQL10V0CpPeT7aCbhK68vT9sSlG4qFbpbKYzB7n15zTjBsUFbrMp9KuzJ9GwTTfvOBafHxO4lb6EEkTZAi1w3ryZRiqVCyOVr3dygt0.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/y/i/73/paRJ8YaEu2CDBs4zm1UdafjirbvYmW3P5lMODo59jPXsXfayrURyTlbwbdqtkGB7AIxxNLXQUU1ZRIt4TMngrJ9uyzTSGrkz3sCVyQ96OOvnaa5BDA5cpuxba5Xn.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/T/k/AW/92g5rung69mGTx82yrVqAaOKIt17ISaL7hVoUFN26o4AUFNhLrcVOBCWtbF8OILrXmev5x97VFBA8K08nvOlGXabrvdly91Vk3LMs8jayGGCNbjP7oI3HbK2lPKE.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Y/M/0k/x2lKykk82HcKfZLXd6xeu7dKfMbwDvq0YlTMRqJ6daBDZ2asYAZJgzKrKr5e1PT3pmzSAX1pMKdTKVCFMBvii59sAx7IJ4DW3VZeHg5RhqEbMon1CWCYa5LJKVxb.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/C/q/AW/HmvLmWcpsZqeZL54Q7NZkc2Pugu15e02r1RMRbcF6MBBxOxGegH1P8AHXk2GhEbnJweY9qD0C9VogKYlDx1DRsfuVglWKaSTESEcCXXx4t1GAVeaQ8oYiJ32d1TN.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/5/F/G1/I0FqZ6WAlV8W3OeswtjD6DjdFP135WsNHDQa1EVM6UzhAay41sZGZEEwgP8vVqEzYB0cOxba14EfutTvHDXmRza5mfGBAG76iVPZNIkniiesp9D9GurKYpJ7qBPt.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/F/6/bl/pTBUcwpVcMXZqjo8xkOAOIV6Nh3uK1Q6f27zMwYF0F7PAncITUwnJ4fl2yRnOH0VYS3MLtbbm0pcrYyKaJHryZM17aOkzGBX7FcXVw0vtpvzVwt3Zz0dQGMvkXwZ.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/M/y/TK/NtyLceUtFXmCbHGaY3SckZTJX2AH8bnIixn89YvKfOL0cDOnwnkymvURlj5fjNtcSf2xxEpH1YQQQBeArrcX8bX0Jz3aX0g3q0OaGjU8i5Leux7UXd5n8N4kPxlb.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/O/a/tw/J3Q1C59Dc1G0oTZLFAuthIN7EL0kS3ABP5C8qYSUsqPHXtLo86rWrRknbCce00mlzYhVeWw4cGCwWufDajKmCo9fbrpxC8Jw17iLQBpU1MOXsrLkhYsjIT5V2zlL.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/k/3/nb/bIJ6Tf82CfTDBZHEHghC4r9iyOaHL490fu53dHV0gGCYx7nNI4vtIR2SPuS5ddPrHG9Djw85jSex6dyTY2YKK2lkaZeO7REbEwJZNfasExqJSnh68FDYm6oYWUGe.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/m/W/uj/EjQBfyOHxJtTH4vzOlhe1H3YX50fJp1KpUWWt2YwEswfcDDdULA0SnaMtr6cDMep4gXGP40HkEnFCqEjdgLVdDyvNYKU0GgMq8J7MvqOhgZs6cxVtdLjcb4Dzksv.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/6/z/qd/PGIs2OV4cWJDGvgMqeCP8yITaCfjDCsN5o4nB49lEIXiQZhDIu1CKGaQmSFy30GRjL241LPOGyUgSneU6dEpQJ5laCy5Yt2yhTsRLn8FOp4zlZo9HhdqS3sabs8N.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/3/7/bG/UqiGQvzihSqYzvoLTNtljkBujLs8Rxeil7a5GBhGiT6HVAnsVzRCS4B00TkAFo7mX7mpfUa7RjqGVDl8eZH8mBnJDUnFVxVyHdX8A1BiOlidZWFNJkhNn4iyUdmT.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Y/h/EH/G0KIM7TEUnbzU4eKV5oTmO5AAMNN1WAukqwwPlcKKv99u020LisenzTTdGNUdpyHoyy251YFU8lXV4NAbEnqj8ekIqHmy4P4KKumPJoFEskyppkM3pZMSF4hpUlL.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/k/E/iF/Wix2ewGSKt0aLdtRy01jbjAD0Syu0IDZ2jAeqFozu8ixKyEMgmgsAIOK3k8Bo3p5EOtcXFRu0xt0JYwlmQbIhEc38z5Evm5ZndqVXUD593rrrDABcSpvskToshCk.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/l/x/ih/uul81KDU9LHa6G9qYSq5WeSz0LqJ9ZbmUcTOMThw1l4KsuerfyRlA6D1mbyESWht7d6zvI8MP15RZDcOIaCK1Hp0fNhuZix4jU9RPbARZYTvNCsdMD9xw1pjVRQb.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/q/p/co/0eUp1TrW9J2SflJWC7Y9jpwtaczi9fp9nTeTNU4sWRNbYUG4MZtxVKZnJBRGuVjni6EwHrA3Ol1X35Cj3gdHQy1IfheBymIw1g4XXEYLriinOGPnbcBUxU2Ob73j.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/y/h/RM/2H6Jnw1yR7aYLuGfmB93J3bIWZpI00ELNLcTW2QEUu62Ow7bqllIygKbv5bTxaFUxSpq4rnRt834oMIaZrXGwgUnWkgQLjf10w2bPspYEWYtAILheT1OQa3Ai4iP.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/v/d/ON/owfDazBmmwJw5NTFcorA3MyqwwhmA0Rs98D6aSYNyVsQdGbN9ydY182mg5OKsOoNDuWkZn1mikl10hlQ6IiWkzf7y1cL3CPw74hyxNaHaTsLGdCeTYsBnW2VtN2k.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/v/P/Vh/tkBiKmVAUK6QTbepLkwFQl1U7ZtxnWqFCAnqb4db8TfCIu4gdVDJj3gOdrr5BmgXgqLdbYJIAnISG3x88GSgxLhp0uh2Xmtqiq6LzyWh2HWoLpVGXe1YNlCNhksP.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/i/y/7N/eI0T84dMloow3ffcDkGyn8nsYaXAeZX0CUyC7RIj7GevowCyfxrUKaFB8XXtdbZbfm0i9X1ABHJPo6g9SN2qTaqAdYmehPcyHa1pSVAFnahLJ9PgL2KbUnVOaSdg.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/f/U/4M/meWfFrJrDCrIag2Q5AlbUNvlMJH1LTSWlZKGhoXr8J22CQCWykmgsKM9Yv9E0AK6lHmnigAI9QVCHYZZMLHv9pQmNa5OgwodczYRgzdCAg1plky9Y7GhCjvOuFca.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/S/l/Mj/Lfba7zctZYaiJiZukFVJnA33DmnQ2QMIShEpg490Z550m5JjfjiQgWtOuvchnzBS8iHYepA6otbWzTImgDbf7SEKu0eTMTCeoWZcCep3ZpMkTf1yJ98DUHcLNN9i.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/N/6/nG/khlsnzYSIGxOMIeSv9WQKnc6EuRUkKIFcceAl27ImG2kZQiFMqvcYCMxfbk78JXDwoZyAkUMsJfcyP8kwU0tBsMg5G7CaXumo80EtsErFqrlXdmiTSQQXlCJWzTX.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/v/R/4J/PkdS5V1u3A7psplCmxOWDk8G45vo2M7o9kmv6UKXb87Icmy8IEsZ4IHyy8D8ttUzWp7q3iwVJFMGVZCBhoVJO6tGhkcJp1DbJ66sXemfnMkE7YVBOYMEBUyMwTpJ.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/r/O/J8/cql3dJFUYmlWecExaCQlD8LBejTEnKn1JcKg69XAjwJwRRn67JlmBxjK24c0ThBCuSVlARakc932WRRjUrO00Vq2OBbHFUjiysDpedAfm2KSHjysPsso05MYJ7nC.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/Z/4C/XxR9VvWoI0Q9YPEj90IiJBlR6Tt2bbTixY9D5jHQoakO5SWWC3CWzRoVg4aRcTEgy6NZTCJV9NxhgOyL6GGfLZPYdDNeY7G3cMhsdjmh9X1ZWYNH2H77MSoRV33c.jpg)
![Sample image from OD-WeaponDetection: Sohas Classification](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/B/j/28/t7LWS9Sa6oTWHg2xBrQ2Mg9n7GOs3erTa6p4FdBh7A4HhDfuMzdBlPmqlrBdYAdsm8UEMFjip1djmMMMPe1YrlfXe6R7UCEVIOSHupEUEWXmyicE5XBWlAPReMq3.jpg)
License #
OD-WeaponDetection: Sohas Classification is under CC BY-SA 4.0 license.
Citation #
If you make use of the OD-WeaponDetection: Sohas Classification data, please cite the following reference:
@article{article,
author = {Pérez, Francisco and Tabik, Siham and Castillo Lamas, Alberto and Olmos, Roberto and Fujita, Hamido and Herrera, Francisco},
year = {2020},
month = {02},
pages = {105590},
title = {Object Detection Binary Classifiers methodology based on deep learning to identify small objects handled similarly: Application in video surveillance},
volume = {194},
journal = {Knowledge-Based Systems},
doi = {10.1016/j.knosys.2020.105590}
}
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-sohas-classification-dataset,
title = { Visualization Tools for OD-WeaponDetection: Sohas Classification Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/od-weapon-detection-sohas-classification } },
url = { https://datasetninja.com/od-weapon-detection-sohas-classification },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Dataset OD-WeaponDetection: Sohas 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: Sohas 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.