Skip to content

feat: Add nvdsanalytics support for spatial analytics#5

Open
moalimu wants to merge 1 commit into
NVIDIA-AI-IOT:mainfrom
Aeyetech:feature/nvdsanalytics-support
Open

feat: Add nvdsanalytics support for spatial analytics#5
moalimu wants to merge 1 commit into
NVIDIA-AI-IOT:mainfrom
Aeyetech:feature/nvdsanalytics-support

Conversation

@moalimu

@moalimu moalimu commented Dec 28, 2025

Copy link
Copy Markdown

This adds support for the nvdsanalytics plugin in DeepStream pipelines, enabling spatial analytics capabilities:

  • ROI (Region of Interest) filtering
  • Line crossing detection
  • Direction detection
  • Overcrowding detection

Changes:

  • Added AnalyticsConfig dataclass with config_file and enable options
  • Added analytics_config parameter to BulkVideoInputPool
  • Added flow.analyze() call in pipeline build (after tracker)
  • Added config parsing for analytics_config in parameters

Usage in YAML config:
parameters: analytics_config: config_file: /path/to/spatial.txt enable: true

Note: Requires tracker to be enabled for direction and line crossing analytics.

This adds support for the nvdsanalytics plugin in DeepStream pipelines,
enabling spatial analytics capabilities:
- ROI (Region of Interest) filtering
- Line crossing detection
- Direction detection
- Overcrowding detection

Changes:
- Added AnalyticsConfig dataclass with config_file and enable options
- Added analytics_config parameter to BulkVideoInputPool
- Added flow.analyze() call in pipeline build (after tracker)
- Added config parsing for analytics_config in parameters

Usage in YAML config:
  parameters:
    analytics_config:
      config_file: /path/to/spatial.txt
      enable: true

Note: Requires tracker to be enabled for direction and line crossing analytics.
Signed-off-by: Mohamed Ali <mohamed@aeyetechlabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant