imshow create new windows with opencv on ubuntu

后端 未结 1 727
刺人心
刺人心 2021-01-28 05:32

I tried to show images from camera using cv2.imshow, but instead of updating it creates new windows.

This is the code



        
1条回答
  •  北恋
    北恋 (楼主)
    2021-01-28 06:09

    As with this question a proper workaround of this bug (pointed in the comments of the question with the related issue) is to build OpenCV from source code.

    This can solve the conflicting libraries problem related to Qt and shown by skvark (owner of the opencv-python repository):

    This issue cannot be fixed in OpenCV, the issue is related to Qt conflicts between the bundled Qt4 in the Python wheels and system Qt4/5 installations.

    0 讨论(0)
提交回复
热议问题