Coder Social home page Coder Social logo

fight-detection-surv-dataset's Introduction

Vision-based Fight Detection From Surveillance Cameras

A new fight dataset is shared through this repository. This dataset is benefited for developing a fight detection system which is aimed to use in surveillance cameras in public areas such as streets, underground stations and more. The details of the implementation and experiments are included in our paper "Vision-based Fight Detection From Surveillance Cameras" which is presented at IPTA 2019 conference. The project is developed based on the CNN + LSTM action recognition systems and is improved using a re-trained Xception CNN, Bi-LSTM and self-attention layer.

System Design

system design

The system works in two parts as feature extraction and classification. The dataset contains video samples in 2 seconds long. Since the CNN is 2D the data requires some modification. So, 5-10 frames are obtained from each video sequence by considering the total frame number in the sample in a uniform manner. The frames are resized according to the input size of CNN architecture. Then, each frame is sent to CNN for feature extraction. At the end of the process we had a feature vector for each frame. After, all of the features are sent into Bi-LSTM for sequence learning. LSTM systems can learn the relationship between the current element and the previous elements. Bi-LSTM systems also can find relations between current element and the future elements so it observes the sequence in both forward and backward way. In our case, the elements were frames and the system has learnt how the frames change according to the time. So that, it can recognize the action that is occuring in the sequence. The self-attention layer improves the given input by calculating the effects of each element on the current element. Thus, it learns for each element in the sequence, which elements must be given attention the most.

Surveillance Camera Fight Dataset

The dataset is collected from the Youtube videos that contains fight instances in it. Also, some non-fight sequences from regular surveillance camera videos are included.

  • There are 300 videos in total as 150 fight + 150 non-fight
  • Videos are 2-second long
  • Only the fight related parts are included in the samples

sample-frames

Besides, since the task is detecting fights through surveillance cameras, the videos that have no background motion are preferred as samples. Also, various fight scenarios such as hitting with an object, kicking, fisting, wrestling are included. The environment in the samples also varies such as cafe, street, bus, and more.

Citation (Please cite this paper if you use the dataset)

Ş. Aktı, G.A. Tataroğlu, H.K. Ekenel, “Vision-based Fight Detection from Surveillance Cameras”, IEEE/EURASIP 9th International Conference on Image Processing Theory, Tools and Applications, Istanbul, Turkey, November 2019.

fight-detection-surv-dataset's People

Contributors

seymanurakti avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.