Ask Your Question

Revision history [back]

Selecting GUI backends

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?