Coder Social home page Coder Social logo

real-time-violence-detection-in-video-'s Introduction

PWC

Real Time Violence Detection in Video

The source code associated with the paper Robust Real-Time Violence Detection in Video Using CNN And LSTM

for simple demo please see this video https://www.youtube.com/watch?v=qeFrjFa5Rxc

the trained wights can be downloaded from this url https://drive.google.com/file/d/11IN2npH3i8PhzECNMcxfIQNFWPROr5gt/view?usp=sharing

Detection of a violence event in surveillance systems is playing a significant role in law enforcement and city safety. The effectiveness of violence event detectors measures by the speed of response and the accuracy and the generality over different kind of video sources with a different format. Several studies worked on the violence detection with focus either on speed or accuracy or both but not taking into account the generality over different kind of video sources. In this paper, we proposed a real-time violence detector based on deep-learning methods. The proposed model consists of CNN as a spatial feature extractor and LSTM as temporal relation learning method with a focus on the three-factor (overall generality - accuracy - fast response time). The suggested model achieved 98% accuracy with speed of 131 frames/sec. Comparison of the accuracy and the speed of the proposed model with previous works illustrated that the proposed model provides the highest accuracy and the fastest speed among all the previous works in the field of violence detection.

please use Tensorflow version 2.0.0 , the other dependencies is numpy skimage.io opencv PIL , BytesIO , time

if you use pytorch i build another model with pytorch you can found it here https://github.com/mamonraab/violance-detection-in-video-with-pytroch

To cite our paper/code:

@INPROCEEDINGS{8852616,
author={A. R. {Abdali} and R. F. {Al-Tuma}},
booktitle={2019 2nd Scientific Conference of Computer Sciences (SCCS)},
title={Robust Real-Time Violence Detection in Video Using CNN And LSTM},
year={2019},
volume={},
number={},
pages={104-108},
keywords={convolutional neural nets;feature extraction;learning (artificial intelligence);video signal processing;CNN;violence event detector measures;overall generality;accuracy factor;fast response time;temporal relation learning method;deep-learning methods;real-time violence detector;video sources;city safety;law enforcement;surveillance systems;LSTM;robust real-time violence detection;CNN;LSTM;Violence Detection;Smart Cities;Deep Learning},
doi={10.1109/SCCS.2019.8852616},
ISSN={null},
month={March},}

real-time-violence-detection-in-video-'s People

Contributors

mamonraab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

real-time-violence-detection-in-video-'s Issues

Update README

Can you please add all the packages used, with their version to the readme file?

webcam

it is possible to use the webcam in real time? thanks

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.