Giter Site home page Giter Site logo

eduze / augursense Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 3.0 40.5 MB

Camera based Ground Mapped Real-time Analytics on Movements of People

Java 8.50% CSS 4.36% TypeScript 4.52% HTML 46.77% JavaScript 22.91% Python 9.55% SCSS 0.15% Less 3.24%
analytics vision pose-estimation human-tracking image-processing re-identification tracking

augursense's Introduction

Camera based Real-time Analytics on Movements of People (CRAMP)

We are developing a system for generating realtime analytics on movements of people in a multiple camera monitored environment.

  • Ground Mapped Human Movement Analytics.
  • Aggregrated Analytical Maps.
    • Human Density Maps
    • Head Direction Maps
    • Speed Bound Maps
  • Per Person Level Analytics using Short Term Re-Identification and Tracking.

CRAMP_SENSE(in sense/ directory) is the Camera Module of system which is responsible for

  • Detecting New Persons
  • Mapping of detected persons to world space. (Ground Place Mapping)
  • Tracking of Persons (for purpose of detecting new persons)
  • Obtain snapshots (for re-id purpose) of newly detected persons.
  • Communicating results to Analytics Core.

Getting Started

Prerequisites

  • The current version of AugurSense strictly depends on OpenPosePersonDetector. Please follow the installation guide provided in the README. In short, you will require to install OpenCV, OpenPose and pyboostcvconverter.
  • Furthermore, inside maven project building we are using npm commands to build the Angular CLI project for Dashboard. Therefore, please install the Angular CLI beforehand.
  • OpenCV Python (This is covered in OpenPose installation docs)
  • Once that is done, clone this repository.

Building Analytics Engine

  • Run mvn clean install -DskipTests in order to build the project.
  • Copy the libOpenPersonDetectorAPI.so file created when building OpenPosePersonDetector to the sense/ directory.
  • Install MySQL and create a new MySQL database (say analytics_db)

Running in development mode

  1. First, run the main method of CHASS class. To run this, following system properties need to be added to the run configuration.
    • Use -D as shown when passing as VM options.
    -Ddb.jdbc.url="jdbc:mysql://localhost:3306/analytics_db?createDatabaseIfNotExist=true"
    -Ddb.user="root"
    -Ddb.password="root"
    -Dorg.augur.sense.mode="ACTIVE"
    -Dlog4j.configurationFile=log4j2-dev.xml 
    
    • Visit http://localhost:8000 for the dashboard

Configuration

Go to Settings -> Camera and Add Camera Groups. Then when you run the python clients, they will automatically send their camera views for point mapping configuration. You can configure the mapping as shown below.

Point Mapping Configuration

Examples

Real-time Processing

Python client processing two CCTV videos in parallel. All the detected people are mapped to the ground map and tracked. We are capable of tracing across cameras as well.

Real-time Processing

Viewing Tracked Person Timelines

Under Time Line tab, the paths followed by each individual is shown. You can click on each path to see pictures of the person corresponding to the selected path.

(Note: this example timeline is taken from a test ran on PETS 2009 dataset)

Time Line

Contributors

augursense's People

Contributors

dependabot[bot] avatar ims94 avatar jayancv avatar madhawav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

augursense's Issues

Error: EMFILE: too many open files

Hi! I wanted to try your AugurSense, but when I run "mvn clean install -DskipTests", an error pops up Error: EMFILE: too many open files. Build Failure. Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (exec-npm-ng-build) on project core. Ubuntu x64 18.10, node v11.10.0, angular-cli v 7.3.3, python 3.6

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.