Datasets:
text stringlengths 37 37 |
|---|
0 0.688909 0.486803 0.114789 0.317230 |
1 0.642249 0.448207 0.080718 0.086321 |
0 0.343196 0.529880 0.152173 0.302789 |
1 0.393479 0.528552 0.033081 0.037185 |
0 0.466910 0.529139 0.145428 0.326003 |
1 0.526465 0.466135 0.039697 0.034529 |
0 0.504826 0.540505 0.134037 0.297477 |
1 0.559546 0.434263 0.042344 0.029216 |
0 0.609168 0.458167 0.099243 0.302789 |
1 0.554915 0.418327 0.088657 0.053121 |
0 0.806331 0.501992 0.083364 0.316069 |
1 0.765972 0.464807 0.092627 0.082337 |
0 0.752740 0.515936 0.116445 0.325365 |
1 0.701795 0.476760 0.096597 0.077025 |
0 0.607856 0.519875 0.166099 0.331761 |
1 0.534404 0.490040 0.119092 0.082337 |
0 0.480151 0.494024 0.097920 0.316069 |
1 0.530435 0.477424 0.068809 0.059761 |
0 0.476182 0.507968 0.105860 0.335989 |
1 0.531758 0.484728 0.087334 0.074369 |
0 0.718038 0.495286 0.101339 0.295101 |
1 0.651511 0.455511 0.038374 0.037185 |
1 0.558884 0.424303 0.043667 0.025232 |
0 0.186402 0.599602 0.096492 0.176627 |
1 0.178362 0.582337 0.061647 0.075697 |
0 0.559759 0.842438 0.283018 0.293110 |
1 0.680922 0.796813 0.050926 0.278884 |
0 0.549948 0.716439 0.187370 0.312142 |
1 0.615924 0.689243 0.065668 0.212483 |
0 0.538896 0.624335 0.123358 0.270586 |
1 0.593141 0.626162 0.049586 0.096946 |
0 0.042335 0.640770 0.076389 0.240372 |
1 0.088571 0.598274 0.139377 0.051793 |
0 0.132126 0.660771 0.180922 0.264116 |
1 0.172331 0.621514 0.151438 0.050465 |
0 0.279232 0.730120 0.154071 0.235234 |
1 0.303667 0.668659 0.135356 0.046481 |
0 0.428590 0.663667 0.114491 0.231764 |
1 0.467166 0.581009 0.087110 0.051793 |
0 0.547890 0.603665 0.088499 0.189748 |
1 0.584430 0.539177 0.056287 0.039841 |
0 0.432188 0.589900 0.089234 0.241183 |
1 0.392117 0.616866 0.033504 0.096946 |
0 0.451837 0.645992 0.112739 0.275081 |
1 0.415570 0.690571 0.037524 0.127490 |
0 0.232567 0.577369 0.061566 0.183491 |
1 0.242019 0.565737 0.065668 0.077025 |
0 0.480568 0.680566 0.148759 0.317487 |
1 0.430312 0.712483 0.032164 0.160691 |
0 0.510610 0.737716 0.168637 0.325365 |
1 0.456445 0.794157 0.049586 0.162019 |
0 0.565551 0.835377 0.204322 0.320685 |
1 0.506031 0.899734 0.046906 0.166003 |
0 0.167640 0.714475 0.276073 0.347942 |
1 0.154239 0.780876 0.155459 0.143426 |
0 0.237329 0.691235 0.222467 0.383798 |
1 0.263462 0.754316 0.234528 0.143426 |
0 0.402838 0.645289 0.223807 0.374761 |
1 0.421601 0.711155 0.205045 0.155378 |
0 0.556906 0.617355 0.180819 0.374152 |
1 0.609223 0.635458 0.105873 0.120850 |
0 0.706285 0.560802 0.118389 0.296722 |
1 0.744579 0.578353 0.038865 0.126162 |
0 0.158259 0.784861 0.249270 0.326693 |
1 0.228618 0.860558 0.180922 0.069057 |
1 0.287585 0.743028 0.231848 0.359894 |
0 0.341191 0.805445 0.194323 0.081009 |
0 0.363974 0.556441 0.097832 0.172643 |
1 0.376035 0.535857 0.049586 0.067729 |
0 0.441703 0.515272 0.073709 0.183267 |
1 0.400828 0.526560 0.037524 0.059761 |
0 0.370675 0.515936 0.081750 0.166003 |
1 0.333150 0.535193 0.036184 0.066401 |
0 0.226607 0.630146 0.085770 0.176627 |
1 0.248720 0.634794 0.025463 0.021248 |
0 0.368664 0.576361 0.064328 0.154050 |
1 0.398818 0.582337 0.025463 0.022576 |
0 0.505453 0.515293 0.056757 0.148698 |
1 0.525463 0.496680 0.040205 0.063745 |
0 0.400828 0.932935 0.160819 0.134130 |
1 0.470516 0.907039 0.075049 0.034529 |
0 0.434569 0.858231 0.144263 0.198436 |
1 0.501340 0.818061 0.056287 0.026560 |
0 0.467790 0.772724 0.099264 0.220819 |
1 0.513402 0.721116 0.042885 0.031873 |
0 0.492444 0.653965 0.084332 0.195390 |
1 0.520772 0.609562 0.030824 0.039841 |
0 0.604533 0.911023 0.297516 0.177954 |
1 0.725147 0.837317 0.053606 0.184595 |
0 0.061652 0.632802 0.123304 0.211155 |
1 0.076291 0.577689 0.152582 0.047809 |
0 0.670136 0.517928 0.121671 0.220452 |
1 0.707866 0.496680 0.103445 0.100930 |
0 0.790886 0.512192 0.132583 0.204124 |
1 0.840587 0.491368 0.068313 0.095618 |
0 0.938414 0.575259 0.123172 0.257185 |
1 0.880599 0.550465 0.163950 0.134130 |
0 0.840845 0.541700 0.182564 0.237868 |
1 0.789841 0.528552 0.146384 0.119522 |
0 0.681952 0.497561 0.125786 0.203621 |
CCTV Weapon Detection Dataset (free sample)
A free sample of 141 synthetic CCTV images of people holding guns, with YOLO bounding boxes for person and weapon, for training and testing weapon detection and gun detection models on security-camera footage. Made by Simuletic, which builds synthetic CCTV datasets for computer vision.
Full dataset and licence: simuletic.com/datasets/cctv-weapon-detection-dataset
| Free sample (this page) | Full dataset | |
|---|---|---|
| Images | 141 PNG, about 1,100 × 1,100 to 924 × 1,358 px | 1,000 JPEG (900 train / 100 val) |
| Classes | person, weapon |
person, handgun, rifle, shotgun, sniper_rifle |
| Labels | YOLO .txt + one CSV of pixel boxes |
YOLO + COCO |
| Camera view | elevated CCTV angles, indoor and outdoor | ceiling, wall and pole mounts; day, night and monochrome IR; about 20% hard negatives |
| Licence | CC BY 4.0 | one-time licence: research $149 / commercial $590 |
What's in the images
People holding or carrying firearms in public and semi-public places (entrances, corridors, streets, car parks), seen from elevated security-camera positions. Weapons are often small in the frame, as they are in real CCTV footage. The sample comes from an earlier Simuletic release and uses two classes; the full dataset separates weapon types and adds hard negatives.
Classes and boxes
| Class | YOLO id | Boxes in sample |
|---|---|---|
person |
0 | 139 |
weapon |
1 | 130 |
Folder layout
samples/
images/ # 141 PNG images (Scene1_1.png, ...)
labels/ # one YOLO .txt per image
annotation_sample.csv # the same boxes in pixels
Each YOLO label line is class_id x_center y_center width height, normalised to 0–1:
0 0.452 0.551 0.203 0.302
1 0.601 0.703 0.102 0.151
The CSV has one row per box: label_name, bbox_x, bbox_y, bbox_width, bbox_height, image_name, image_width, image_height (pixels, top-left origin).
Quick start (Ultralytics YOLO)
Create a data.yaml next to the samples/ folder:
path: samples
train: images
val: images # small sample: use the same images, or split them yourself
names:
0: person
1: weapon
Then train:
from ultralytics import YOLO
model = YOLO("yolo11n.pt")
model.train(data="data.yaml", epochs=30, imgsz=640)
A Colab notebook that fine-tunes YOLO11 on the newer 5-class sample is in the GitHub repo.
Use cases
- Gun and weapon detection on CCTV and video management systems (VMS)
- Real-time threat detection in shops, offices, stations and public spaces
- Pre-training before fine-tuning on your own camera footage
- Benchmarking detectors on small, distant objects
How the images were made
The images are fully synthetic (computer-generated) by Simuletic: no real people, places or incidents are depicted, so there are no privacy or consent issues.
Limitations. Synthetic images do not cover every camera, lens, compression artefact or scene you will meet in deployment. Validate on your own footage, and for production combine synthetic and real data. This sample has one generic weapon class and no hard negatives; the full dataset has both.
Full dataset and custom data
The full CCTV Weapon Detection Dataset has 1,000 images, YOLO + COCO, classes person, handgun, rifle, shotgun, sniper_rifle. Licence: research $149 / commercial $590. Larger sets, other scenes, camera angles or classes: see custom data or write to contact@simuletic.com.
This free sample is also on Kaggle and GitHub.
More synthetic datasets from Simuletic
- CCTV Knife Detection Dataset
- CCTV Weapon Detection: Rifles vs Umbrellas
- Weapon Detection: Handgun vs Bag of Chips
- CCTV ATM Robbery Detection Dataset: Gun & Knife
- All datasets: simuletic.com/datasets · Hugging Face · Kaggle · GitHub
Licence
This free sample is licensed under CC BY 4.0: you may share and adapt it for any purpose, including commercial use, as long as you credit Simuletic. The full dataset is sold under a separate one-time research or commercial licence.
Citation
@misc{simuletic_weapon_2025,
author = {{Simuletic}},
title = {CCTV Weapon Detection Dataset},
year = {2025},
publisher = {Simuletic},
howpublished = {\url{https://huggingface.co/datasets/Simuletic/cctv-weapon-dataset}},
note = {Free sample. Full dataset: \url{https://simuletic.com/datasets/cctv-weapon-detection-dataset}}
}
Questions or feedback: contact@simuletic.com
- Downloads last month
- 691