V
V
Vladimir2015-05-06 12:32:59
Python
Vladimir, 2015-05-06 12:32:59

How to create button on opencv window (pyopencv)?

There is a window that I create with the cv2.namedWindow function, but there is no Python binding for the createButton function. How to add controls to a window?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2015-05-06
@Casufi

It seems that you yourself answered your own question: you won’t be able to create a button. Alternatively, control the program through keyboard and mouse tracking, or use a trackpad (although this is somehow ugly and strange).
Matplotlib has more features to offer you - in particular, there are buttons. It is much easier to learn and write a small program than PyQT and other monsters.
Well, if something serious needs to be done, then PyQT\etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question