Deepstream: How to access ROI Meta

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): GPU
• DeepStream Version: 6.0

I am processing ROIs using Nvds-preprocess element and then passing this data to Nvinfer (PGIE) element (I have input-tensor-from-meta enabled).

The primary model works as a classifier but I cannot access the classification output. I ran the pipeline in debug mode, I got into attach_metadata_classifier(...) and reached the point where it attaches the classifier_meta to roi_meta.

nvds_add_classifier_meta_to_roi(frame.roi_meta, classifier_meta);

How do I access this roi_meta from a different plugin? I already checked batch_user_meta_list, frame_meta_list, object_meta_list and frame_user_meta_list. They’re all empty.

Please check user meta NvDsPreProcessBatchMeta in batch level:

Gst-nvdspreprocess (Alpha) — DeepStream 6.0.1 Release documentation (

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