ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

OpenCV GUI applications (beyond highgui)

asked 2011-03-22 09:04:34 -0500

Ibrahim gravatar image

updated 2014-01-28 17:09:24 -0500

ngrennan gravatar image

Hi, not sure if this is the right place for this, but here goes.

I was just wondering what's the best way to create more complicated OpenCV GUIs? I've made some simple stuff with highgui in python and now I want to add more stuff that isnt' possible with just highgui. Can I use wxpython or pyqt or something to build off of a highgui application? I'm pretty new to python gui programming but so far it seems pretty simple. Or would I want to just make the whole application in wx or qt and not use highgui at all? Thanks!

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2011-03-22 09:33:52 -0500

blueskin gravatar image

updated 2011-03-22 09:36:00 -0500

This is more of a general GUI question that can be asked on stackoverflow or any other GUI sites. but if you are specifically looking into UI libraries that can be integrated with ROS then I'd say Qt would be a better option. I was able to use Qt+OpenGL with ROS and render Kinect data in a QGL widget. Thanks

edit flag offensive delete link more


Yeah I kind of figured but I thought maybe the audience here would be more focused. I am using it for a project that involves ROS but I guess this part is orthogonal to the ROS part.
Ibrahim gravatar image Ibrahim  ( 2011-03-22 09:55:49 -0500 )edit

blueskin, can you provide some tutorial links.If ti's possible then in C++ would be nicer.

ZsurzsaLaszlo gravatar image ZsurzsaLaszlo  ( 2013-06-05 03:41:05 -0500 )edit

answered 2013-01-30 19:54:55 -0500

130s gravatar image

Just advertising that since groovy there's a tool call rqt_image_view that might do what OP wanted back then.

edit flag offensive delete link more

answered 2011-03-22 09:12:59 -0500

I've used OpenCV with Python/Tk. It's a bit messy (displaying images involves converting to PIL Images), but it works ok. If anyone is interested, I can write a tutorial on displaying ROS/OpenCV images in Python/Tk.

edit flag offensive delete link more


Hi Dan, did you tried python/Tk to show videos ? I have similar problem. Please visit this link :

Kalirajan M gravatar image Kalirajan M  ( 2014-02-23 18:55:08 -0500 )edit

Question Tools


Asked: 2011-03-22 09:04:34 -0500

Seen: 3,294 times

Last updated: Jan 30 '13