What we’ve been doing on our side is to use GstAnalyticMeta (1.24+) to store the results of our analytic onto GstBuffers. Then we had to implement a converter from/to ONVIF Metadata (WIP https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1464). From there, we’ve been able to convert and payload easily, and been able to reused the generic elements form the ONNX plugin. There is more new up-coming GStreamer feature used, but you can find this demo here if that is of anyone interest (careful, demo code).
2 Likes