Get Zedsrc metadata in python

I am using zedsrc in gstreamer with python and cannot find any examples of how to extract the metadata provided by the object detector from each frame. I am using app sink, and I can access the gst_buffer there and get a GstMeta object with meta = gst_buffer.get_meta(“GstZedSrcMetaAPI”). Can someone show me how to get the actual metadata (e.g., ZedObjectData) from here?

Thanks,
Ryan

Hi @kerekesra
Welcome to the StereoLabs community.

Are you using the GStreamer plugin?

Yes, using “zedsrc” with od-enabled=1 (I think that’s what you mean by the plugin).

We do not provide GStreamer Python support.
You can use the C++ code of the OD Overlay element as an example to start from.