Real-Time-Violence-Detection-with-raspberry-pi icon indicating copy to clipboard operation
Real-Time-Violence-Detection-with-raspberry-pi copied to clipboard

Realtime Violence Detection with Raspberry-pi

Project RVD : Realtime Violence Detection with Raspberry Pi

Introduction

  • Violence detection by using MobileNet + LSTM (Binary classification : Violence / Non-Violence)
  • Add captions of violence dection result on video screen (video file or realtime video streaming) >> Fast Link
  • Using Raspberry Pi & camera module for realtime video streaming >> Fast Link

Environment

  • Linux OS
  • Python ≥ 3.8
  • OpenCV ≥ 4
  • Tensorflow ≥ 2.4.0
  • Keras 2.4.0

Tools

  • Jupyterlab ≥ 3.0
  • Pycharm ≥ 2
  • Raspberry Pi +3
  • Camera Module

Result

Examples

ezgif-4-3dc74782d191 ezgif-4-15e71033eab4 ezgif-4-7a9fd72fa7c9 ezgif-4-2946841c66b2

KakaoTalk_20210514_164231168

Change of Accuracy & Loss of Model

RVD_result_model_comparison RVD_result_log

Reference

Datasets

  • RWF2000 : https://github.com/mchengny/RWF2000-Video-Database-for-Violence-Detection
  • Hocky : http://visilab.etsii.uclm.es/personas/oscar/FightDetection/index.html
  • raw.zip : https://github.com/niyazed/violence-video-classification
  • cam1, cam2 : https://github.com/airtlab/A-Dataset-for-Automatic-Violence-Detection-in-Videos/tree/master/violence-detection-dataset/non-violent/cam1
  • RVD : -

Examples

  • UCF Anomaly Detection Datasets : https://webpages.uncc.edu/cchen62/dataset.html
    • Those video files were used only for making output videos & GIFs.

We're Inspired from them