How to fix the error “QObject::moveToThread:” in opencv in python?

前端 未结 15 2139
栀梦
栀梦 2020-12-10 11:18

I am using opencv2 in python with the code

import cv2
cv2.namedWindow(\"output\", cv2.WINDOW_NORMAL)       
cv2.imshow(\"output\",im)
cv2.resizeWindow(\'outp         


        
15条回答
  •  暖寄归人
    2020-12-10 12:07

    I had the same problem when i tried to run a detectron2 demo. My OS is Centos7 and i uninstall some applications about qt.

    find applications about qt.

    yum list installed |grep qt
    

    remove applications

    yum -y remove xxx...
    

提交回复
热议问题