AW: writing own gstreamer plugin for object tracking

Thornton, Keith keith.thornton at zeiss.com
Wed Apr 12 06:08:56 UTC 2017


I would write a filter plugin to do the frame analysis and would attach the results (e.g.your box coordinates) as meta data to the frame before sending it down stream. At the sink end I would access the metadata and render the tracking box.

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von xargon
Gesendet: Dienstag, 11. April 2017 16:57
An: gstreamer-devel at lists.freedesktop.org
Betreff: writing own gstreamer plugin for object tracking

I have a small gstreamer pipeline that records video from a webcam. The pipeline takes then takes the video and encodes it to H.264 and saves it as a video to disk.

This works fine but I am also trying to add some image analysis to the video stream. So, I have some code that can do object tracking on these video frames. So the code takes a video frame and outputs a bounding box around the tracked object. Now my question is is it possible to write a gstreamer pipeline that will perform this analysis and the output is a bounding box. 

I guess a plugin can either be  source or a sink and basically my question is whether it makes sense to have a gstreamer sink that is outputting essentially coordinates for a rectangle and is it possible for the application to query the sink for this bounding box?

Is it perhaps simpler (to implement) where the output from the existing pipeline sink is copied over to another non-gstreamer function and do the tracking there instead of inside a gstreamer plugin?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/writing-own-gstreamer-plugin-for-object-tracking-tp4682615.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list