qt plugin error

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
opencv, python

Research direction

Start by reproducing the face recognition webcam demo command and inspect the reported cv2 Qt plugin path and display connection. Compare the runtime environment with the repository's Python SDK setup; done means the demo starts without the Qt xcb initialization error.

Written by the indexing model from the issue text.

Description

I am getting this issue whenever I run the face recognition webcam demo command:

qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/local/lib/python3.11/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 (from /usr/local/lib/python3.11/dist-packages/cv2/qt/plugins), xcb.

I have this issue now for 10 hours and cant fix it please help me.

Dominant language
Python
Stars
167
Forks
55
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from exadel-inc/compreface-python-sdk

All issues in exadel-inc/compreface-python-sdk

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.