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

OpenCV GUI applications (beyond highgui)

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

Ibrahim gravatar image

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

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
2

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

blueskin gravatar image

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

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

Comments

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 -0600 )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 -0600 )edit
1

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

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

Comments

Hi Dan, did you tried python/Tk to show videos ? I have similar problem. Please visit this link : http://stackoverflow.com/questions/21930480/adding-gui-window-to-python-opencv2-program-with-pygtk3

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

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

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

Question Tools

Stats

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

Seen: 3,335 times

Last updated: Jan 30 '13