Hi.
I have a question. Is there a easy way to determine a position of an image in the video output of i.e xvimagesink? Lets say that I have detected an edge of a shape and I would like to determine its position (in pixels). I know that a complex problem, but I appreciate any tips on where to start. Thanks |
On 07/28/11 10:07, hrbaty wrote:
> Hi. > > I have a question. Is there a easy way to determine a position of an image > in the video output of i.e xvimagesink? > > Lets say that I have detected an edge of a shape and I would like to > determine its position (in pixels). Well, if *you* have detected it, your should know where? > I know that a complex problem, but I appreciate any tips on where to start. Honestly, your question makes not a lot of sense. Do you want to run some feature detection in the video streaming and output the positions of the found features. That's possible. Look at gst-plugins-bad/ext/opencv/ which has such elements. Stefan > Thanks > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Processing-xvimagesink-video-output-tp3700723p3700723.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Ok, thanks for the answer. Maybe my question was unclear, but I'm getting to right track now.
One more thing. I installed gst-plugins-bad, where opencv plugin supposed to be added. All files compiled and installed smoothly: .. Making install in opencv make[2]: Entering directory `<blabla>/gst-plugins-bad-0.10.22/ext/opencv' make[3]: Entering directory `<blabla>/gst-plugins-bad-0.10.22/ext/opencv' make[3]: Nothing to be done for `install-exec-am'. test -z "/usr/local/lib/gstreamer-0.10" || /bin/mkdir -p "/usr/local/lib/gstreamer-0.10" /bin/bash ../../libtool --mode=install /usr/bin/install -c libgstopencv.la '/usr/local/lib/gstreamer-0.10' libtool: install: /usr/bin/install -c .libs/libgstopencv.so /usr/local/lib/gstreamer-0.10/libgstopencv.so libtool: install: /usr/bin/install -c .libs/libgstopencv.lai /usr/local/lib/gstreamer-0.10/libgstopencv.la libtool: install: /usr/bin/install -c .libs/libgstopencv.a /usr/local/lib/gstreamer-0.10/libgstopencv.a libtool: install: chmod 644 /usr/local/lib/gstreamer-0.10/libgstopencv.a libtool: install: ranlib /usr/local/lib/gstreamer-0.10/libgstopencv.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib/gstreamer-0.10 but gst-inspect-0.10 --plugin opencv shows " No such element or plugin 'opencv' " gst-inspect-0.10 edgedetect -> No such element or plugin 'edgedetect', etc. All plugins from gst-plugins-bad were installed except opencv... Any clues?? BR |
On 07/28/11 16:15, hrbaty wrote:
> Ok, thanks for the answer. Maybe my question was unclear, but I'm getting to > right track now. > One more thing. I installed gst-plugins-bad, where opencv plugin supposed to > be added. > All files compiled and installed smoothly: > .. > Making install in opencv > make[2]: Entering directory `<blabla>/gst-plugins-bad-0.10.22/ext/opencv' > make[3]: Entering directory `<blabla>/gst-plugins-bad-0.10.22/ext/opencv' > make[3]: Nothing to be done for `install-exec-am'. > test -z "/usr/local/lib/gstreamer-0.10" || /bin/mkdir -p > "/usr/local/lib/gstreamer-0.10" > /bin/bash ../../libtool --mode=install /usr/bin/install -c > libgstopencv.la '/usr/local/lib/gstreamer-0.10' > libtool: install: /usr/bin/install -c .libs/libgstopencv.so > /usr/local/lib/gstreamer-0.10/libgstopencv.so > libtool: install: /usr/bin/install -c .libs/libgstopencv.lai > /usr/local/lib/gstreamer-0.10/libgstopencv.la > libtool: install: /usr/bin/install -c .libs/libgstopencv.a > /usr/local/lib/gstreamer-0.10/libgstopencv.a > libtool: install: chmod 644 /usr/local/lib/gstreamer-0.10/libgstopencv.a > libtool: install: ranlib /usr/local/lib/gstreamer-0.10/libgstopencv.a > libtool: finish: > PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" > ldconfig -n /usr/local/lib/gstreamer-0.10 > careful to nix mix stuff with your distro and export environment variables such as LD_LIBRARY_PATH and GST_PLUGIN_PATH to use the right gstreamer installation. You can also run gstreamer uninstalled (if you have all the source packages in the same subdir. Stefan > but gst-inspect-0.10 --plugin opencv shows " No such element or plugin > 'opencv' " > gst-inspect-0.10 edgedetect -> No such element or plugin 'edgedetect', etc. > > All plugins from gst-plugins-bad were installed except opencv... > > Any clues?? > > BR > > > > > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Processing-xvimagesink-video-output-tp3700723p3701432.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |