Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• 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)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
HI,
I would like to use the direction detection functionality of the nvdsanalytics plugin. I have correctly configured the parameters in the analytics config file (see below), and the plugin is running without errors.
My goal is to print the detected direction metadata (e.g., direction_LR, direction_TB, etc.) associated with each object detection during runtime. Is this possible? If so, how can I access and print this direction metadata from the plugin output—for instance, in a DeepStream custom probe or in the OSD stage?
Here is my current analytics configuration:
[property]
enable=1
osd-mode=2
display-font-size=6
config-width=1920
config-height=1080
[roi-filtering-stream-0]
enable=1
inverse-roi=0
class-id=-1
roi-zone_1=898;288;1551;309;1920;406;1920;500;1782;502;1640;452;1014;373;
roi-frame=0;0;1920;0;1920;1080;0;1080;
[direction-detection-stream-0]
enable=1
class-id=-1
mode=loose
direction-direction_LR=0;540;1920;540;
direction-direction_RL=1920;540;0;540;
direction-direction_BT=960;1080;960;0;
direction-direction_TB=960;0;960;1080;
direction-direction_TL_BR=0;0;1920;1080;
direction-direction_TR_BL=1920;0;0;1080;
direction-direction_BL_TR=0;1080;1920;0;
direction-direction_BR_TL=1920;1080;0;0;
Any guidance on how to retrieve and print the direction data from the metadata attached to each object would be greatly appreciated.