Git Product home page Git Product logo

automated-cctv-surveillance's Introduction

Automated CCTV sureveillence

The project is still under development.

Introduction

The issue of mass surveillance in CCTV camera feed is very important. Surveillance can be of different forms like malicious activity detection, identification of a particular entity particular individual in a CCTV video) or in general keeping tracks of movements of human beings. In our project, the focus has been given to find the trajectory/path of human through the grid of CCTV cameras also known as tracking. Also, manually doing tracking can be very difficult and therefore we present to you our AI based solution that is capable to do this on its own. This is done with the help of face recognition plus video processing. Current system in this field aims to search for an entity in video by extracting its face and matching (or running) it against a database of human faces that is in the interest. So, none of the systems solve the task if they do not have a predefined database against whom the matching is done. Our, Smart AI will do this in a smart way by first generating datasets from human faces taken from CCTV video and use it in a Face Recognition model we are using. The use of deep learning libraries like Keras along with some image processing tools like openCV with a cloud based solution is done to achieve this task. Keywords: Automated tracking, Convolutional-Neural-Network, face recognition.

Prerequisites

Please take a look at the slides and Report for more information.

Required packages

  • Python3
  • OpenCV
  • Keras
  • Flask
  • SQlite or MySQL

Using Face recognition model

Run FaceRecog.ipynb for looking at the original VGG model
Run FaceRecog_TransfererLearning.ipynb for our model ( VGG model with transfer learning)

Both the model use a face dataset for experimentation. Please it here Face94 and place in the project folder where the model in kept.

Running client side CCTV application

alt text

Go to the ClientSideCCTV folder and Run

Python main.py

This should launch the client side system. By default it uses the footage form Computer webCam.

Images with unique identifier are generated in the RecognizedFaces folder.

Running the Server

Configure flask in apache for Google Cloud or Aws and run

Server/Server Code.py file.

Configuring is required only for deplyment is cloud (Centralised server). If you are running locally then normal

python Server/Server Code.py is suffient

Linking our Centralised server to the Face Recognition model, so that our main logic could work is unser progress. After the linking is done appropriate analytics can be generated.

Possible errors

  • Keras not installed ( Keras with Tensorflow)

Deployment

We have used Google cloud free tier service for deployment.

Authors

  • Debojyoti Paul - Initial work - PurpleBooth
  • Bhaskar Sarkar - Initial work

automated-cctv-surveillance's People

Contributors

debojyoti11 avatar

Watchers

 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.