Skip to content

Conversation

@moalimu
Copy link

@moalimu moalimu commented Dec 28, 2025

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 <[email protected]>
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