GithubHelp home page GithubHelp logo

aneesht123 / detecting-violence Goto Github PK

View Code? Open in Web Editor NEW

This project forked from manan858/detecting-violence

0.0 1.0 0.0 10 KB

Implementation of the model ( Violence Detection) using CNN+ LSTM and tensorflow and keras as backend )

Python 100.00%

detecting-violence's Introduction

Detecting-Violence

Implementation of the model ( Violence Detection using CNN+ LSTM)

The proposed model has the following advantages:

  1. The ability to use the pre-trained model on ImageNet dataset.
  2. The ability to learn the local motion features by examined the concatenated two frames using CNN.
  3. The ability to learn the global temporal features by LSTM cell.

Implementation is done with Keras and TensorFlow as a back-end. The model incorporates pre-trained convolution Neural Network (CNN) connected to Convolutional LSTM (ConvLSTM) layer. The model takes as an inputs the raw video, converts it into frames and output a binary classication of violence or non-violence label.

Running configurations

Video Dataset Path: hockey - /home/manan/ViolenceDetection/hockey

Libraries Required:

python 2.7

numpy 1.14.0

keras 2.2.0

tensorflow 1.9.0

Pillow 3.1.2

opencv-python 3.4.1.15

Running Operation:

Run python run.py

detecting-violence's People

Contributors

manan858 avatar

Watchers

James Cloos 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.