ubuntu20.04上按照坐着配置环境后运行Yolo2onnxDetectProjectDemo.py
出现下面错误:
QObject::moveToThread: Current thread (0x55914073a280) is not the object's thread (0x559140949c30).
Cannot move to target thread (0x55914073a280)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/ubuntu/anaconda3/envs/yolov5-pyqt/lib/python3.9/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
ubuntu20.04上按照坐着配置环境后运行Yolo2onnxDetectProjectDemo.py 出现下面错误: QObject::moveToThread: Current thread (0x55914073a280) is not the object's thread (0x559140949c30). Cannot move to target thread (0x55914073a280)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/ubuntu/anaconda3/envs/yolov5-pyqt/lib/python3.9/site-packages/cv2/qt/plugins" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl. 什么原因呢,谢谢了