question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] {Error running python3 depthai_demo.py}

See original GitHub issue

Hey guys,

My Oak-D Lite just arrived. I wanted to test it with depthai. What I did is this:

git clone https://github.com/luxonis/depthai.git
cd depthai
python3 install_requirements.py

Installation seemed to work without errors but when I executed this: python3 depthai_demo.py

I get the following error. Does anyone know how to fix it or why this error occured?

 python3 depthai_demo.py
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes
Using depthai module from:  /home/falke/.local/lib/python3.6/site-packages/depthai.cpython-36m-x86_64-linux-gnu.so
Depthai version installed:  2.13.3.0
QObject::moveToThread: Current thread (0x37e0aa0) is not the object's thread (0x3795bd0).
Cannot move to target thread (0x37e0aa0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/falke/.local/lib/python3.6/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)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:19 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
JaCoHSUcommented, Dec 3, 2021

yes, its 18.04

python3 depthai_demo.py -gt cv does work. I guess I need to live with it for now. Thanks!

1reaction
JaCoHSUcommented, Dec 6, 2021

Hey @VanDavv your suggestion worked for me. The gui opens 😃 Some core dumbs occur from time to time, but other than that it seems to work. thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem running python3 depthai_demo.py - Luxonis
I running under OSX 10.13. Installation went okay, buta I get the following error message when trying to run the demo: Traceback (most ......
Read more >
OAK - Waveshare Wiki
Boot the Raspberry Pi and use the following commands to run the demo. cd depthai python3 depthai_demo.py. Ubuntu. Install depthai. git clone https://gitee.com/ ......
Read more >
Introduction to OAK-D and DepthAI - LearnOpenCV
Stereo Vision and Depth Estimation using OpenCV AI Kit ... cd depthai python3 install_requirements.py python3 depthai_demo.py.
Read more >
DepthAI Demo Program - Gitee
python3 depthai_demo.py -gt cv -cnn person-detection-retail-0013 - Runs ... If you run into a problem, please follow the steps below and email ...
Read more >
Issue with DepthAI demo - Stack Overflow
Originally when I first had this bug I was running my code in an ... Big Sur Version 11.4 on an intel based...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found