Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python labelImg.py 失败 #8

Open
mikasazgx opened this issue Jul 6, 2022 · 5 comments
Open

python labelImg.py 失败 #8

mikasazgx opened this issue Jul 6, 2022 · 5 comments

Comments

@mikasazgx
Copy link

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
Copy link

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
Copy link
Author

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

@2197808908a
Copy link

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

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

@ami012003
Copy link

(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
Copy link

(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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants