Giter Site home page Giter Site logo

zihan987 / rwf2000-video-database-for-violence-detection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mchengny/rwf2000-video-database-for-violence-detection

0.0 0.0 0.0 203.82 MB

A large scale video database for violence detection, which has 2,000 video clips containing violent or non-violent behaviours.

Jupyter Notebook 100.00%

rwf2000-video-database-for-violence-detection's Introduction

RWF2000 - A Large Scale Video Database for Violence Detection

Introduction

With the increasing of surveillance cameras in modern cities, huge amount of videos can be collected. While there are insufficient human resource for monitoring all the screens at one time.

We are considering how to use techniques of video understanding to detect violent behavior so that it can give a quick alarm in time.

File Description

  • Preprocess contains the python script to transform original video dataset to .npy files. Each .npy file is a tensor with shape = [nb_frames, img_height, img_width, 5]. The last channel contains 3 layers for RGB components and 2 layers for optical flows (vertical and horizontal components, respectively ).

  • Networks contain the keras implemention of our propsoed model. Also, the training scripts of single stream are provided here.

  • Models contains the pre-trained model implemented by Keras.

Dataset

  • Collected raw surveillance videos from YouTube, sliced them into clips within 5s at 30 fps, and labeled each clip as Violent or Non-Violent Behavior。

  • Dropped duplicated contents which appear in both training set and validation set.

  • Finally we got 2000 clips and 300,000 frames as a new data set for real-world violent behavior detection under surveillance camera.

Problems

Since all the videos are captured by surveillance cameras in public places, many of them may not have a good imaging quality due to dark environment, fast movement of object, lighting blur, etc. Here are some examples:

  • Only part of the person appears in the picture

  • Crowds and chaos

  • Small object at far distance

  • Low resolution

  • Transient action

Demo

  • Example - 1

  • Example - 2

Download

To download the released dataset, please:

  1. download the Agreement Sheet.pdf and sign it.
  2. Send the PDF version of scanned Agreement Sheet with signature to [email protected]
  3. We will return an e-mail with download link to you as soon as possible.

Kindly remind: using the proposed dataset, please cite:

Ming Cheng, Kunjing Cai, and Ming Li. "RWF-2000: An Open Large Scale Video Database for Violence Detection." arXiv preprint arXiv:1911.05913 (2019).

Note

Since the dataset contains 2,000 video clips extracted from about 1,000 unique videos, we have manually checked the train set and test set to avoid the data leakage between different parts. We suggest you to keep the original partition and only separate a validation set from the train set, but do not re-shuffle the entire dataset.

rwf2000-video-database-for-violence-detection's People

Contributors

mchengny 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.