Coder Social home page Coder Social logo

jogiji / deepstream-count-vehicles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from medalimimouni/deepstream-count-vehicles

0.0 0.0 0.0 29 KB

Count vehicles that crosses the line using nvtracker and nvdsanalytics plangins from deepstream in jetson nano 2Gb

Python 17.84% Jupyter Notebook 82.16%

deepstream-count-vehicles's Introduction

deepstream-count-vehicles

Count vehicles that cross the line using nvtracker and nvdsanalytics plugins from deepstream in jetson nano 2Gb

demo links:

https://youtu.be/MY3WNxhNDKY

https://youtu.be/_NH2Ern9-QI

https://youtu.be/Tx8CoeWUTV8

Setup Steps

this project is built on top of the nvidia Building Video AI Applications at the Edge on Jetson Nano course.

You can connect to your jetson in headless device mode (ssh @192.168.55.1) or by plaging a monitor, a keybord, a webcam and a mousse.

  1. Add a data directory for the project with the following command in the Jetson Nano terminal you've logged into:
mkdir -p ~/my_apps
  1. Run the Docker container with the following command for jetpack 4.6.1:
sudo docker run --runtime nvidia -it --rm --network host \
    -v /tmp/.X11-unix/:/tmp/.X11-unix \
    -v /tmp/argus_socket:/tmp/argus_socket \
    -v ~/my_apps:/dli/task/my_apps \
    --device /dev/video0 \
    nvcr.io/nvidia/dli/dli-nano-deepstream:v2.0.0-DS6.0.1 

or the following command for jetpack 4.6.0:

sudo docker run --runtime nvidia -it --rm --network host \
    -v /tmp/.X11-unix/:/tmp/.X11-unix \
    -v /tmp/argus_socket:/tmp/argus_socket \
    -v ~/my_apps:/dli/task/my_apps \
    --device /dev/video0 \
    nvcr.io/nvidia/dli/dli-nano-deepstream:v2.0.0-DS6.0GA

you can check the full list in this link (https://catalog.ngc.nvidia.com/orgs/nvidia/teams/dli/containers/dli-nano-deepstream)

Clone the project

  1. Change directory to my_apps/
cd my_apps/
  1. Clone this repo
https://github.com/MedAliMimouni/deepstream-count-vehicles.git

Logging Into The JupyterLab Server

  1. Open the following link address : 192.168.55.1:8888 in a new web browser window. The JupyterLab server running on the Jetson Nano will open up with a login prompt the first time.

  2. Enter the password: dlinano

You will see this screen.

image

Congratulations, you've finished the hardest part.

Now in my_apps/deepstream-count-vehicles open the jupyter notebook file setup_and_run.ipynb and run the cells to finish the rest of the instalation

deepstream-count-vehicles's People

Contributors

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