Does deepstream-occupancy-analytics work with DeepStream 6.3?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) ---- RTX 2080 Ti
• DeepStream Version ---- DeepStream SDK 6.3
• JetPack Version (valid for Jetson only) ---- NA
• TensorRT Version ----
• NVIDIA GPU Driver Version (valid for GPU only) ---- 530.30.02 (CUDA 12.1)
• Issue Type( questions, new requirements, bugs) ---- questions or bugs. Not sure yet
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

  1. git clone
  2. git log
commit ec56c72c777c76581734633fab12348b8e5ff4a9 (HEAD -> master, origin/master, origin/HEAD)   
Merge: b3430e7 282e3c8  
Author: monjha <>  
Date:   Mon Jul 17 12:56:24 2023 -0700  
    Merge pull request #69 from 0ct0cat/deepstream-6.2  
    suppport deepstream-6.2  **<-- Does it mean that DS 6.3 is not yet supported?**  
  1. Copy the directory deepstream-occupancy-analytics/ to deepstream/sources/apps/sample_apps/
  2. Follow deepstream-occupancy-analytics/README to download the pre-requirements and to build the code.
    (I needed to add this line into deepstream-occupancy-analytics/Makefile:
CFLAGS+= -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
  1. Edit deepstream-occupancy-analytics/config/dstest_occupancy_analytics.txt to disable source1 and sink1.
  2. Edit deepstream-occupancy-analytics/config/nvdsanalytics_config.txt to redraw the Entry and Exit lines:
  1. ./deepstream-test5-analytics -c config/dstest_occupancy_analytics.txt
  2. The sample app runs. People are crossing the lines (visual checking), but line crossing counters are not updated, as shown below:

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description) ---- Unsure if it’s relevant.

please refer to the following setting to enable tracker.

Thank you. That did the trick.

Maybe the config file in the deepstream-occupancy-analytics repository should be updated with this line.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.