GNOME Bugzilla – Bug 719688
Add opencv stitching (panorama) element.
Last modified: 2018-11-03 13:19:04 UTC
Created attachment 263303 [details] [review] Full patch containing panography element, mods to gstopencv.cpp and gsttemplatematch.cpp. - Added a file that stitches together two video feeds - that supposedly overlap, and creates a single larger output panorama. Like panorama picture, for videos :) Multi pad input to one output synchro and glue code is copy-modified from gstdisparity.cpp :) From the doco: * This element stitches two video feeds together, and represents the right * channel as a reference over which the left one warps - supposed of course * there is enough overlap for a correct feature matching. - File gstopencv.c is changed to gstopencv.cpp, allowing for C++ (yei!) usage in gstpanography.{h,cpp}. - File gsttemplatematch.{h,cpp}: renamed member |template| to |templatename|, clashed with C++ when included in gstopencv.cpp. - Will upload some pics of how the output looks like.
Created attachment 263304 [details] Sample output. Example output snapshot of two overlapping video feeds.
Ping?
Ping 2...?
It's on my list :) Might take some more time until I get to it
I have verified the patch on Gstreamer 1.4.5. It works. One issue is Open CV will report exception in function findHomography() if can't find enough match point. The element only accept two input video. Can changed to support more video input based on request? Can the element derived from gstvideo
Can the element derived from gstvideoaggregator?
OpenCV has high level function for video stitching: http://docs.opencv.org/modules/stitching/doc/stitching.html Can we use those function?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/119.