【解决】QObject::moveToThread: Current thread is not the object`s thread. Cannot move to target thread

异常原因

报错:Opencv无法显示图像,报错QObject::moveToThread: Current thread is not the object’s thread . Cannot move to target thread
这个为缺少 qt 包的异常

解决

安装 pyqt : conda install pyqt,如果比较慢的话,可以借助 pip install -i https://pypi.tuna.tsinghua.edu.cn/sample pyqt5

你可能感兴趣的:(目标检测,Python)