---
title: "ATM Robbery Detection: Role-Aware Dataset"
description: "ATM robbery detection dataset: 3,000 synthetic CCTV images with offender, victim, gun and knife classes, so models can tell a threat from a conversation."
canonical: https://simuletic.com/blog/cctv-atm-robbery-dataset
html: https://simuletic.com/blog/cctv-atm-robbery-dataset
site: Simuletic, https://simuletic.com/llms.txt
---

# Who's Holding the Knife? Why ATM Robbery Detection Needs More Than "Weapon Yes/No"

One frame, four labels: offender, victim, gun, knife. The whole point of the dataset is that the model knows which is which.

Almost every weapon-detection demo you've ever watched answers a yes/no question: is there a gun in the frame? It's a fine party trick. It's also nearly useless for the people who actually have to staff a bank's security operations center at three in the morning.

At a real ATM, the camera doesn't see "a weapon." It sees two people standing close together in the dark, one of them holding something in their hand. That something might be a phone. It might be a wallet. It might be a knife. And even when it *is* a knife, the model still needs to answer the question that actually matters: who is holding it, and who is about to get hurt.

That second question — the role question — is what most public datasets quietly refuse to answer. Our [**CCTV ATM Robbery Detection Dataset: Gun & Knife**](https://simuletic.com/datasets/cctv-atm-robbery-detection-dataset) is built specifically to fill that gap.

The dataset in this post

CCTV ATM Robbery Detection Dataset: Gun & Knife

1,000 images · 4 classes (offender, victim, gun, knife) · YOLO

A weapon detector tells you a knife exists in the scene. A robbery detector tells you a knife is being pointed at someone who came to get cash. Those are very different alerts.

## The Two People at Every ATM

Look at almost any ATM robbery captured on real CCTV (the heavily redacted clips that occasionally make it into court evidence releases) and you'll notice the same composition again and again. One person stands at the keypad, head down, focused on the screen and the cash slot. A second person stands just behind or to the side, slightly squared up, often hooded, often with a hand reaching forward. The weapon, when there is one, lives in the gap between them — sometimes pressed to the ribs, sometimes held low and out of the camera's clean view.

That spatial relationship is the entire story of the incident. The offender is the one in motion, the one with the weapon, the one whose body is oriented *towards* the other person. The victim is the one with their back to the camera, focused on the terminal, almost always carrying a phone or a card. A model that only learns "person + weapon" loses all of that. A model that learns four classes — offender, victim, gun, knife — keeps it.

*Offender, victim and gun each get their own box, so the model learns who is doing what.*

## Why Real Footage Won't Cut It

The obvious question: surely banks have plenty of real robbery footage we could just train on? They do. You can't have it. Every clip is either evidence in an active prosecution, sealed under data-protection law, or owned by a private security vendor under contracts that explicitly forbid model training.

Even when a clip leaks into the public web, it arrives without annotations, without consent for the people in it, and almost always at the wrong resolution. Training a serious detector on YouTube screen-grabs of a 2014 robbery in a city you've never been to is not a research strategy — it's a privacy lawsuit waiting to happen.

Synthetic data sidesteps the whole problem. Nobody is in the dataset because nobody existed. The "victim" is not anyone's brother. The "offender" is not anyone's son. We can render the same robbery a thousand times — different lighting, different angles, different clothes, different knife — without ever filming a real human, and the labels come from the scene itself rather than from an annotator guessing at a blurry frame.

## What's Actually in the Box

The complete package is 3,000 images (the catalogue licence covers 1,000 of them; larger sizes on request), rendered from realistic high-angle ATM surveillance perspectives — exterior brick-wall ATMs, vestibule kiosks, drive-up units, and the awkward street-corner machines that always seem to be the ones in incident reports. The open-source sample on Kaggle is 237 images, which is enough to fine-tune an existing YOLO checkpoint and get an honest first benchmark.

#### Balanced threat distribution

Roughly half the scenes involve a handgun, the other half a knife. Both are deliberately rendered at the awkward "low and close to the body" positions that real incidents show, not the over-the-shoulder action poses you see in stock photos.

#### Role-aware geometry

Offender boxes are spatially tied to the weapon — programmatically verified during rendering, not eyeballed by an annotator. The model can learn the proximity signal because the proximity signal is consistent.

#### CCTV degradation, on purpose

Compression artifacts, slight sensor noise, desaturated nocturnal lighting profiles. We are not trying to make pretty images. We are trying to make images that a real Hikvision or Axis camera could plausibly have produced at 02:14 on a Tuesday.

## Class Map

- `0: offender` — initiating the threat, positioned closest to the weapon

- `1: victim` — being confronted at the terminal

- `2: gun` — handguns, pistols, compact firearms

- `3: knife` — blades, pocket knives, kitchen knives

*Gun and knife robberies at different ATMs, by day and at night.*

## Practical Notes for Training

- **Don't drop the role classes to "simplify."** The temptation to collapse offender+victim into a single "person" class is real and it ruins the dataset. The whole reason to use it is the role signal.

- **Use a higher input resolution.** Knives at this distance are small, so try 1280px input before reaching for a bigger backbone, and compare the knife class specifically.

- **Weight your alerts on the offender+weapon co-occurrence, not on weapon alone.** A "weapon, no offender" detection is almost always a false positive (a worker holding a tool, a customer holding keys). Two boxes, the right way around, is the alert that matters.

- **Mix in real CCTV background-only clips.** Hard negatives of ordinary ATM transactions stop the model from interpreting every close-proximity interaction as a threat.

## Who Should Be Training on This

- **Banks and ATM network operators** building automated silent-alarm triggers on existing camera infrastructure.

- **Physical security integrators** deploying real-time analytics in bank lobbies, vestibules, and 24-hour cash zones.

- **Smart-city programs** monitoring vulnerable street-corner kiosks under low light.

- **Researchers** working on role-aware action recognition — there is essentially no other open dataset with this annotation structure.

## Get the Data

The 237-image free sample is on Kaggle, and on Hugging Face under CC BY-NC 4.0 (non-commercial) — enough to validate that the role-aware approach is worth the effort. The 1,000-image dataset is sold under a Research ($149) or Commercial ($590) licence on the [dataset page](https://simuletic.com/datasets/cctv-atm-robbery-detection-dataset). For the full 3,000-image package, custom storefront backgrounds, specific camera HFOV specifications, or PTZ-style video sequences, get in touch. We render to spec.

### Sample on Kaggle

237 images, YOLO format, free

### Full dataset

Research and commercial licences

Already running a weapon or robbery detector at ATMs? Our [False-Positive Stress Test](https://simuletic.com/stress-test) runs it against hard negatives and edge cases and reports every failure.

Get the dataset

CCTV ATM Robbery Detection Dataset: Gun & Knife

1,000 images · 4 classes (offender, victim, gun, knife) · YOLO

The fastest alert is the one that knows what kind of incident it's looking at. Anything that only sees "weapon in frame" is going to wake the wrong people up at the wrong time, and miss the times that matter.

Related reading: [Fixing the 'Doritos Effect'](https://simuletic.com/blog/handgun-vs-chips-dataset) and [Synthetic Knife Detection](https://simuletic.com/blog/knife-detection-dataset).

Written by

Simuletic

Simuletic is a Swedish company that builds synthetic CCTV and security datasets for computer vision. The same people who run the generation pipeline and ship each dataset release write these articles and answer every customer message.

## Related Articles

### [The Camera Saw It, the Model Missed It: Training Shoplifting Detection AI That Actually Works in Retail CCTV](https://simuletic.com/blog/cctv-shoplifting-dataset)

Synthetic CCTV dataset with 5,000+ frames, 100+ videos, YOLO + pose + VLM captions, for retail loss prevention AI.

### [Pedestrian Attribute Recognition Dataset](https://simuletic.com/blog/pedestrian-attribute-dataset)

Pedestrian attribute recognition (PAR) data for Re-ID and VLMs.

### [Fixing the 'Doritos Effect': Why AI Mistakes Chip Bags for Handguns](https://simuletic.com/blog/handgun-vs-chips-dataset)

A student was handcuffed over a bag of Doritos. Here's the technical breakdown of why weapon detection AI fails.

---
Markdown version of https://simuletic.com/blog/cctv-atm-robbery-dataset. Prices in USD, excl. VAT. Contact: contact@simuletic.com
