Ask Your Question

Selecting GUI backends

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

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:

    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:

    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

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

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


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

Seen: 415 times

Last updated: Apr 29 '20