NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fooling Automated Surveillance Cameras: Adversarial Patches to Attack Person Detection

Simen Thys, Wiebe Van Ranst, Toon GoedeméWorkshops @ CVPR 2019

Introduction: The Physical Adversarial Threat

Adversarial attacks have long been a concern in the digital domain, where subtle pixel manipulations can lead neural networks to misclassify images. However, translating these attacks into the physical world presents significant challenges, particularly when targeting dynamic subjects like humans. Unlike static objects such as stop signs, humans exhibit immense intra-class variety in terms of pose, clothing, and scale. This research introduces a printable adversarial patch designed to make individuals virtually invisible to automated person detection systems, specifically the YOLOv2 architecture.

Methodology: Optimizing for Invisibility

The core of this approach lies in optimizing a wearable patch to minimize the "objectness" score of the detector. While previous attacks often aimed for misclassification (e.g., making a person look like a "potted plant"), this method seeks to suppress detection entirely. By lowering the objectness score, the patch convinces the AI that the region containing the person is merely background noise.

The YOLOv2 detection pipeline. The model divides the image into a grid and predicts bounding boxes and objectness scores for each cell.

The optimization process utilizes a three-part loss function:

  1. Non-Printability Score ($L_{nps}$): Ensures the digital colors are reproducible by standard printers.
  2. Total Variation ($L_{tv}$): Promotes smooth color transitions to ensure robustness against low-resolution camera sensors.
  3. Objectness Score ($L_{obj}$): The primary objective, which minimizes the detector's confidence that any object exists within the bounding box.

To ensure real-world efficacy, the training process included random transformations—such as rotation, scaling, and lighting adjustments—to simulate the varied conditions of a surveillance feed.

Experimental Setup and Datasets

The researchers utilized the Inria Person dataset, which consists of images of pedestrians in various outdoor settings. This dataset was selected because it focuses on full-body pedestrians from a perspective similar to that of a typical surveillance camera. General object detection benchmarks like MS COCO and Pascal VOC were also referenced to evaluate broader performance.

Results: Breaking the Detector

The effectiveness of the adversarial patch was evaluated by measuring the reduction in Recall (the percentage of people successfully detected). While the baseline YOLOv2 model achieved 100% recall on clean images, the introduction of the optimized patch reduced this figure to just 26.46%.

A demonstration of the adversarial patch in a real-world scenario. The person on the left is detected, while the person holding the patch on the right is ignored by the YOLOv2 system.

Qualitative tests confirmed that as long as the patch is held relatively centered on the torso, the person remains undetected by the software. Interestingly, the researchers found that optimizing solely for the "person" class often resulted in the patch looking like a "teddy bear," which the system would then detect. By targeting the objectness score instead, the "invisible" effect was achieved more reliably.

Discussion and Limitations

This work highlights a significant vulnerability in modern object detection systems. While the current patch is sensitive to extreme angles and positioning, it proves that low-tech physical objects can exploit high-tech AI blind spots.

One major limitation is transferability: a patch optimized for YOLOv2 may not be as effective against other architectures like Faster R-CNN. Future research aims to improve cross-model robustness and potentially develop "cloaking" garments, such as 3D-simulated T-shirts, that provide protection from multiple angles and against various AI models simultaneously.

Summary updated

BibTeX
@inproceedings{thys2019fooling,
  author = {Simen Thys and Wiebe Van Ranst and Toon Goedemé},
  title = {{Fooling Automated Surveillance Cameras: Adversarial Patches to Attack Person Detection}},
  booktitle = {Workshops @ CVPR},
  year = {2019},
  doi = {10.1109/cvprw.2019.00012},
}
Figure