GithubHelp home page GithubHelp logo

husainattar / rail-rush Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 54.18 MB

Keras based implementation of the CSRNET model

Python 0.29% JavaScript 3.86% Jupyter Notebook 95.85%
csrnet python3 crowd-counting

rail-rush's Introduction

Rail-Rush

It is the Python implement Computer vision model which is used in the Rail-Rush App to detect crowd density in public transportation.

For the application code base check out this repo

This is a Keras with tensorflow backend Implementation.We have Implemented a CSRNET model with a slight modification by using slight help from MCNN model. We have trained our Model on Shanghai Dataset with the Links provided below.

CSRNET Original Paper

MCNN Paper

Shanghai-Dataset

Understanding the Dataset

We have used the .mat file provided and converted into density map. Preprocesing process in the paper and in our implementation is almost same with slight modification. For better understanding of the dataset and mat file check out the link provided.

Mat File Understanding.

We have used K-nearest node algorithm for finding the closest nodes rather than going with linear search.

We have also used the multiplying factor of 0.1 rather than provided in the paper.

Models , Working and Testing

As stated above we have follow the paper but with slight modification by adding the batch_Normalize layer for efficient result.

Before using this technique we have also used HOG_MODEL and HAAR_CASCADE_MODEL and their implementation is also provided in the repository.

We have generated 2 models from dataset using the CSRNET technique one for sparse and other for dense crowd.

We have tested this model on Videos on platform and generated the result.

rail-rush's People

Contributors

husainattar avatar

Stargazers

 avatar

Watchers

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