problem 1
QObject::moveToThread: Current thread (0x1e8cb20) is not the object’s thread (0x193d820).
Cannot move to target thread (0x1e8cb20)
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “/usr/local/lib/python3.8/dist-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.
import os
path ="/home/xxx/anaconda3/envs/slowfast/lib/python3.8/site-packages/cv2/qt/plugins/platforms"
os.environ[‘QT_QPA_PLATFORM_PLUGIN_PATH’]=path