Anomaly detection in surveillance videos using transformer based attention model

Kapil Deshpande, Narinder Singh Punn, Sanjay Kumar Sonbhadra, Sonali Agarwal
6/3/2022
cs.CV
transformer-attention

Official code: kapildeshpande/Anomaly-Detection-in-Surveillance-Videos (19 stars, Jupyter Notebook, last commit 2022-07-15).

Abstract

Surveillance footage can catch a wide range of realistic anomalies. This research suggests using a weakly supervised strategy to avoid annotating anomalous segments in training videos, which is time consuming.

Show full abstract

In this approach only video level labels are used to obtain frame level anomaly scores. Weakly supervised video anomaly detection (WSVAD) suffers from the wrong identification of abnormal and normal instances during the training process. Therefore it is important to extract better quality features from the available videos. WIth this motivation, the present paper uses better quality transformer-based features named Videoswin Features followed by the attention layer based on dilated convolution and self attention to capture long and short range dependencies in temporal domain. This gives us a better understanding of available videos. The proposed framework is validated on real-world dataset i.e. ShanghaiTech Campus dataset which results in competitive performance than current state-of-the-art methods. The model and the code are available at https://github.com/kapildeshpande/Anomaly-Detection-in-Surveillance-Videos

View on arXivView PDF

Code Implementations(1)

193Jupyter NotebookMay 18, 20224 years ago

Similar Papers

Cite this paper

@article{deshpande2022anomaly,
  title  = {Anomaly detection in surveillance videos using transformer based attention model},
  author = {Kapil Deshpande and Narinder Singh Punn and Sanjay Kumar Sonbhadra and Sonali Agarwal},
  year   = {2022},
  eprint = {2206.01524},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.01524}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.01524.svg)](https://codeofpaper.com/paper/2206.01524)

Discussion