小编use*_*713的帖子

无法加载 Qt 平台插件(在对应用程序进行 docker 化时)

我使用 opencv 和迁移学习模型(resnetSSD)构建了一个人脸检测应用程序。应用程序的输出:视频将打开,模型将能够识别面孔。

应用程序在我的本地系统中完美运行..也能够构建docker,但是当运行docker容器时出现以下错误:

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/local/lib/python3.6/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.
Run Code Online (Sandbox Code Playgroud)

请建议我如何解决这个问题?

python qt opencv face-recognition docker

6
推荐指数
1
解决办法
2668
查看次数

标签 统计

docker ×1

face-recognition ×1

opencv ×1

python ×1

qt ×1