Ask Your Question
0

Selecting GUI backends

asked 2020-04-29 05:04:30 -0600

matejjeglic gravatar image

How can one select the GUI backend using OpenCV and Python?
If I install opencv with conda (conda install -c conda-forge opencv), I get the QT backend:

GUI: 
    QT:                          YES (ver 5.12.1)
      QT OpenGL support:         NO
    Win32 UI:                    YES

But, if I install opencv with pip inside (pip install opencv-python), I get the something else:

  GUI:
    Win32 UI:                    YES
    VTK support:                 NO

How can I control or select which backend I want?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-04-29 05:43:59 -0600

berak gravatar image

opencv does not maintain any of those packages.

How can I control or select which backend I want

the only way to do so is building from src using cmake, and the gui sdk of your choice installed.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-04-29 05:03:43 -0600

Seen: 1,706 times

Last updated: Apr 29 '20