Git Product home page Git Product logo

isabella232 / deepstream-occupancy-analytics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nvidia-ai-iot/deepstream-occupancy-analytics

0.0 0.0 0.0 8.87 MB

This is a sample application for counting people entering/leaving in a building using NVIDIA Deepstream SDK, Transfer Learning Toolkit (TLT), and pre-trained models. This application can be used to build real-time occupancy analytics applications for smart buildings, hospitals, retail, etc. The application is based on deepstream-test5 sample application.

License: MIT License

Shell 0.53% C++ 4.35% C 89.22% Makefile 5.91%

deepstream-occupancy-analytics's Introduction

People count application With Deepstream SDK and Transfer Learning Toolkit

Description

This is a sample application for counting people entering/leaving in a building using NVIDIA Deepstream SDK, Transfer Learning Toolkit (TLT) and pre-trained models. This application can be used to build real-time occupancy analytics application for smart buildings, hospitals, retail, etc. The application is based on deepstream-test5 sample application.

It takes streaming video as input, counts the number of people crossing a tripwire and sends the live data to the cloud. In this application, you will learn:

  • How to use PeopleNet model from NGC
  • How to use NvDsAnalytics plugin to draw line and count people crossing the line
  • How to send the analytics data to cloud or another microservice over Kafka

You can extend this application to change region of interest, use cloud-to-edge messaging to trigger record in the DeepStream application or build analytic dashboard or database to store the metadata.

To learn how to build this demo step-by-step, check out the on-demand webinar on Creating Intelligent places using DeepStream SDK.

Prerequisites

Getting Started

  • Preferably clone the repo in $DS_SDK_ROOT/sources/apps/sample_apps/
  • Download peoplnet model: cd deepstream-occupancy-analytics/config && ./model.sh
  • For Jetson use: bin/jetson/libnvds_msgconv.so
  • For x86 use: bin/x86/libnvds_msgconv.so

Build

cd deepstream-occupancy-analytics && make

Run

./deepstream-test5-analytics -c config/test5_config_file_src_infer_tlt.txt

In another terminal run this command to see the kafka messages:

bin/kafka-console-consumer.sh --topic quickstart-events --from-beginning --bootstrap-server localhost:9092

Output

The output will look like this:

alt-text

Where you can see the kafka messages for entry and exit count.

References

deepstream-occupancy-analytics's People

Contributors

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