Code Monkey home page Code Monkey logo

jordanmicahbennett / monitoring-system-using-irregular-activity-detection-based-on-posture-and-behavioral-analysis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shubhamsidhwa/monitoring-system-using-irregular-activity-detection-based-on-posture-and-behavioral-analysis

0.0 1.0 0.0 22 KB

Public places like restaurants and certain other viable places like banks or ATM’s are in need of constant supervision against amoral and undesirable activities. These undesirable activites are often markedly preceded by apparent behavioral quirks. However, constant manual monitoring using security cameras may miss abnormal cues preceeding unpleasant consequences due to human error. Picking up these quirks can improve the efficiency of monitoring any public place.This project attempts to semi-automize the security system using machine learning and image processing techniques to increase the efficacy and accuracy in the prediction of abnormal behaviour.

Python 100.00%

monitoring-system-using-irregular-activity-detection-based-on-posture-and-behavioral-analysis's Introduction

MONITORING SYSTEM USING IRREGULAR ACTIVITY DETECTION
BASED ON POSTURE AND BEHAVIORAL ANALYSIS

Public places like restaurants and certain other viable
places like banks or ATM’s are in need of constant
supervision against amoral and undesirable activities.
These undesirable activites are often markedly preceded
by apparent behavioral quirks. However, constant
manual monitoring using security cameras may miss
abnormal cues preceeding unpleasant consequences due
to human error. Picking up these quirks can improve the
efficiency of monitoring any public place.This project
attempts to semi-automize the security system using
machine learning and image processing techniques to
increase the efficacy and accuracy in the prediction of
abnormal behaviour.

Getting Started
Downlod the zip file to your machine.
Unzip it.

Prerequisites

Python 3+ is required
Following libraries need to be installed :
scipy
cv2
csv
PIL
numpy as np
os
pandas
keras
sklearn
math


Installing

If any library is not installed, install them by pip install libraryname

Example, pip install keras will install the keras library

Running the codes :

1) Run the generateCSV.py file.(You don't need to do this step)
For this, you need access to the entire CASIA database.
The link for the same is : ftp://surveillance.idealtest.org/
Due to confidentiality purposes, we can't provide you the password for the same.
Hence, we have downloaded these videos and prepared the csv file and attaching it along with this folder.

The dataset_act.csv file contains the values of the OMV values for each video in the first column and value as 0 or 1 in the second column
which is used for binary classification.

2)Run the TrainAndTest.py file
Run this code.
It will classify the test videos as normal or abnormal activity.
All but one video is classified as per the ground truth expectation.

Videos are present in the test2 folder and divided as normal and subnormal.

This project was developed by : 
Shubham Sidhwa

Acknowledgments
I would like to express my gratitude to
Dr. Ghassan AlRegib for providing me an
opportunity to pursue this project and provide
continuous support. Further I also
thank Mr. Wenjie Y. for approving my application
and providing me access to the CASIA
human activity database.

monitoring-system-using-irregular-activity-detection-based-on-posture-and-behavioral-analysis's People

Contributors

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