writing own gstreamer plugin for object tracking

xargon daga_pankaj at yahoo.com
Tue Apr 11 14:56:46 UTC 2017


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.


More information about the gstreamer-devel mailing list