After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 719688 - Add opencv stitching (panorama) element.
Add opencv stitching (panorama) element.
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.x
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-12-02 15:26 UTC by Miguel Casas
Modified: 2018-11-03 13:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Full patch containing panography element, mods to gstopencv.cpp and gsttemplatematch.cpp. (36.92 KB, patch)
2013-12-02 15:26 UTC, Miguel Casas
none Details | Review
Sample output. (50.84 KB, image/png)
2013-12-02 15:27 UTC, Miguel Casas
  Details

Description Miguel Casas 2013-12-02 15:26:52 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.
Comment 1 Miguel Casas 2013-12-02 15:27:49 UTC
Created attachment 263304 [details]
Sample output.

Example output snapshot of two overlapping video feeds.
Comment 2 Miguel Casas 2014-01-13 15:59:52 UTC
Ping?
Comment 3 Miguel Casas 2014-01-24 12:10:31 UTC
Ping 2...?
Comment 4 Sebastian Dröge (slomo) 2014-01-24 12:20:52 UTC
It's on my list :) Might take some more time until I get to it
Comment 5 kevin 2015-05-12 12:43:59 UTC
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
Comment 6 kevin 2015-05-12 12:45:21 UTC
Can the element derived from gstvideoaggregator?
Comment 7 kevin 2015-05-13 09:47:42 UTC
OpenCV has high level function for video stitching: http://docs.opencv.org/modules/stitching/doc/stitching.html

Can we use those function?
Comment 8 GStreamer system administrator 2018-11-03 13:19:04 UTC
-- 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.