Please provide complete information as applicable to your setup.
**• Hardware Platform: GPU
**• DeepStream Version 6.1
**• TensorRT Version 8.4.1 • NVIDIA GPU Driver Version (valid for GPU only)
**• Issue Type (questions)
I’m trying to use the Deepstream python bindings to attach a NumPy array as custom metadata, using pyds.gst_buffer_add_nvds_meta. Are there any examples involving this function or attempting to do what I am trying to do? I’ve checked the sample apps, but the closest thing is test4 which does not try to add any data.
I want to add this NumPy array and then access this array in a probe attached to the NvInfer element. I want this data to be available when I receive the inferenced object metadata in my nvinfer probe.
Do I pass these functions in as the copy and release functions? If so, that does not work, and I still run into the previous error.
Is there any working example of the python gst_buffer_add_nvds_meta()? I’ve looked all over the forum, and it seems others have been running into the same issues implementing this functionality in python. None of the python examples use this function, so if you can point me towards a resource that is similar to deepstream_gst_metadata.c but for python - I’d be super regretful!
I need to pass in my own metadata at the source element, and the gst_buffer_add_nvds_meta is perfect to do so. However, the documentation and examples for this function is lacking - I’m not sure how to pass in the requisite functions.