Opencv imshow() not showing icons [closed]

asked 2019-06-21 05:42:13 -0600

rickstaa gravatar image

updated 2019-06-21 07:36:47 -0600

# System information OS: Ubutun 16.04 Container: Yes created with singularity 3.2.1 Pylibfreenect2 installation: Installed with pip Python version: 3.7 Virtual environment: Conda Enviroment

Problem description

When running the pylibfreenect example the cv2.imshow window doesn't show icons. I also raised an issue on the repository of the pylibfreenect package but as I am not sure if the problem has to do with a missing pylibfreenect or opencv dependency I also opened a topic here.





Troubleshooting steps

I am currently looking at whether a system icon package is missing and whether this is a bug related to opencv.

What I already tried

  1. Installing opencv from different channels:
  2. pip install opencv
  3. conda install opencv
  4. conda install opencv-python

  5. Installing GTK and VTK as explained in this topic.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-09-22 12:07:18.044355


that's nice, but (probably) the wrong place here.

can you raise an issue with the actual pip maintainer ?

berak gravatar imageberak ( 2019-06-21 05:48:41 -0600 )edit

from the readme there:

Linux and MacOS wheels ship with Qt 4.8.7 licensed under the LGPLv2.1.

and indeed, those icons (and the toolbar) are only available using qt.

berak gravatar imageberak ( 2019-06-21 05:54:45 -0600 )edit

@berak Thanks for your answer. I now also raised the question with the actual pip maintainer. I have the following Q versions installed in my container:

QMake version 3.1 Using Qt version 5.9.7 in /opt/conda/envs/tf-gpu/lib

I also have pyqt 5.9.2 installed.

rickstaa gravatar imagerickstaa ( 2019-06-21 07:40:50 -0600 )edit