OpenCV - optical flow how to use it in gstreamer?

Guillaume Emont guijemont at igalia.com
Mon Apr 23 12:28:34 PDT 2012


Excerpts from Robert Jobbagy's message of Sun Apr 22 14:59:22 +0200 2012:
> Hi,
> 
> Check this :  http://tech.groups.yahoo.com/group/OpenCV/message/81337
> 
> Or you find gstOpenCV elements in bad plugins
> 
> 2012/4/20 IamTrying <iamtrying.test at gmail.com>
> 
> > For optical flow used in opencv how to implement it in Gstreamer?
> >

I also made an "opticalflowfinder" element, part of my GstStabilizer project:
https://github.com/guijemont/GstStabilizer

Keep in mind that it is code that has not been widely tested, and that the
element is written in python for GStreamer 0.10, and the format in which the
flow is transmitted is python-specific. In other words, it might or might not
help you, but if you want to, say, write an element that finds the optical flow
in C, that could be a source of inspiration.

I also wrote a blog article[1] explaining more stuff about that project, and
gave a talk[2] at the last GStreamer conference.

Worth considering also is the work by David Jordan, that made his own
implementation of a dense optical flow algorithm (Proesmans):
https://gitorious.org/~dmj726/gstreamer/dmj726s-gst-plugins-bad/commits/optical-flow

Hope this helps,

Guij

[1] http://guij.emont.org/blog/2011/11/10/gstreamer-and-opencv-for-image-stabilisation/
[2] http://gstconf.ubicast.tv/videos/time-lapse-and-stabilizing-a-sequence-of-images/


More information about the gstreamer-devel mailing list