1

I am following this tutorial to make a draggable trackbar, but the trackbar only appears on the bottom of the window, and I cannot find an option to change that behavior. In the tutorial, they clearly show the trackbar at the top of the figure.

http://docs.opencv.org/doc/tutorials/highgui/trackbar/trackbar.html

I expect this may be an issue caused by the "figure viewer" Ubuntu uses, but is there any way I can get it to appear at the top?

Graeme Rock
  • 601
  • 5
  • 21

1 Answers1

0

You can't do that! OpenCV GUIs features are just for building fast prototypes. To build more advanced GUIs you need to use a 3rd party libraries like Qt.

A while back I wrote this simple Qt/OpenCV application to load an image with OpenCV and display it on a QMainWindow. By the way, Qt's trackbar name is QSlider.

karlphillip
  • 92,053
  • 36
  • 243
  • 426