wufan-tb / AutoLabelImg

auto-labelimg based on yolov5, with many other useful tools
MIT License
239 stars 55 forks source link

python labelImg.py 失败 #8

Open mikasazgx opened 2 years ago

mikasazgx commented 2 years ago

QObject::moveToThread: Current thread (0x55d04da2eae0) is not the object's thread (0x55d050149730).

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/mikasa/anaconda3/envs/auto_label/lib/python3.7/site-packages/cv2/qt/plugins" even though it was found.

Y-pandaman commented 2 years ago

same error

QObject::moveToThread: Current thread (0x559326d145d0) is not the object's thread (0x55932943fe20). Cannot move to target thread (0x559326d145d0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/psdz/anaconda3/envs/labelimg/lib/python3.7/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.

mikasazgx commented 2 years ago

更改opencv 版本解决(将requirments 中opencv-python >= 和opencv-contrib-python >= 均改为==),可以成功安装 但在标注视频过程中并没有按帧率(25)保存足够多的图片

2197808908a commented 2 years ago

更改opencv 版本解决(将requirments 中opencv-python >= 和opencv-contrib-python >= 均改为==),可以成功安装 但在标注视频过程中并没有按帧率(25)保存足够多的图片

那是采样间隔频率,你可以设小一点,但是图片与图片之间差异不大

ami012003 commented 4 months ago

(ano) workstation@workstation-HP-Z4-G4-Workstation:~/AutoLabelImg$ python labelImg.py QObject::moveToThread: Current thread (0x55b5407f28c0) is not the object's thread (0x55b5458117d0). Cannot move to target thread (0x55b5407f28c0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/workstation/anaconda3/envs/ano/lib/python3.7/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.

Aborted (core dumped)

ami012003 commented 4 months ago

(ano) workstation@workstation-HP-Z4-G4-Workstation:~/AutoLabelImg$ python labelImg.py QObject::moveToThread: Current thread (0x55b5407f28c0) is not the object's thread (0x55b5458117d0). Cannot move to target thread (0x55b5407f28c0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/workstation/anaconda3/envs/ano/lib/python3.7/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.

Aborted (core dumped)

please help with this error