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.

demo.py doesn't work

See original GitHub issue

Hi, I tried to clone this project from here and run demo.py, but it stopped in the middle. like this.

Does anyone know of a solution to this?

Palm detection blob : C:\ProgramData\Anaconda3\envs\DepthAI\hand_tracker\models\palm_detection_sh4.blob
Landmark blob       : C:\ProgramData\Anaconda3\envs\DepthAI\hand_tracker\models\hand_landmark_lite_sh4.blob
Internal camera FPS set to: 23
Sensor resolution: (1920, 1080)
Internal camera image size: 1152 x 648 - crop_w:0 pad_h: 252
896 anchors have been created
Creating pipeline...
Creating Color Camera...
Creating Palm Detection Neural Network...
Creating Hand Landmark Neural Network (2 threads)...
Pipeline created.
Stack trace (most recent call last):
#31   Object "", at 00007FF8F7533693, in PyEval_GetFuncDesc
#30   Object "", at 00007FF8F7459315, in PyMethod_Self
#29   Object "", at 00007FF8F7455FA6, in PyObject_MakeTpCall
#28   Object "", at 00007FF8F7456FE0, in PyMethodDef_RawFastCallKeywords
#27   Object "", at 00007FF8CF419F72, in pybind11::error_already_set::error_already_set
#26   Object "", at 00007FF8CF43D09C, in PyInit_depthai
#25   Object "", at 00007FF8CF592A92, in PyInit_depthai
#24   Object "", at 00007FF8CF58CF4D, in PyInit_depthai
#23   Object "", at 00007FF8CF568643, in PyInit_depthai
#22   Object "", at 00007FF8CF576EA1, in PyInit_depthai
#21   Object "", at 00007FF8CF5768EA, in PyInit_depthai
#20   Object "", at 00007FF8CF5D9A9D, in PyInit_depthai
#19   Object "", at 00007FF8CF64002C, in PyInit_depthai
#18   Object "", at 00007FF97C4B478C, in RaiseException
#17   Object "", at 00007FF97ED52CD3, in RtlRaiseException
#16   Object "", at 00007FF97ED55A0A, in RtlRestoreContext
#15   Object "", at 00007FF97EDC82FF, in _chkstk
#14   Object "", at 00007FF8CF63DF4C, in PyInit_depthai
#13   Object "", at 00007FF8CF63F385, in PyInit_depthai
#12   Object "", at 00007FF8CF643008, in PyInit_depthai
#11   Object "", at 00007FF8CF642263, in PyInit_depthai
#10   Object "", at 00007FF8CF6419F9, in PyInit_depthai
#9    Object "", at 00007FF8CF63EF96, in PyInit_depthai
#8    Object "", at 00007FF97ED589D3, in RtlUnwindEx
#7    Object "", at 00007FF97EDC837F, in _chkstk
#6    Object "", at 00007FF8CF63DF4C, in PyInit_depthai
#5    Object "", at 00007FF8CF63F385, in PyInit_depthai
#4    Object "", at 00007FF8CF642F35, in PyInit_depthai
#3    Object "", at 00007FF8CF63E9E9, in PyInit_depthai
#2    Object "", at 00007FF8CF643C07, in PyInit_depthai
#1    Object "", at 00007FF8CF64C27A, in PyInit_depthai
#0    Object "", at 00007FF8CF575784, in PyInit_depthai

Environment: depthai 2.13.3.0 depthai-sdk 1.1.6 opencv-contrib-python 4.5.1.48 opencv-python 4.5.1.48 Windows11 64bit

Thanks.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
manumarucommented, Jan 27, 2022

I changed the USB cable and it fixed the problem.OMG! Thank you for your help, geaxgx!!

1reaction
geaxgxcommented, Jan 26, 2022

Hi, It is the first time I see this kind of message. I don’t have windows 11 and cannot try to reproduce. Do you get the same error when running other dephai scripts ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

The demo.py does not work · Issue #2307 · wxWidgets/Phoenix
Yes, that file is generated as part of the build process and is not stored in the git repo. All reactions.
Read more >
python - demo.py not show any pictures - Stack Overflow
I use python to test faster rcnn demo.py with windows cpu without cuda.In demo.py,there has a plt.show() at the end,but when I run...
Read more >
Cannot run the tutorial demo.py - ROOT Forum
Hi,. I installed ROOT 5.26 with python 2.6 on a Ubuntu 64 machine. I had the following error. python /usr/local/root/tutorials/pyroot/demo.
Read more >
Golly Help: Python Scripting
If you run a complicated or buggy script that uses lots of (Python) memory then that memory is no longer available for use...
Read more >
Troubleshooting — asciimatics 1.14.0 documentation
It runs differently/does not work inside PyCharm¶. While PyCharm's terminal support is constantly improving, it is not perfect and so there are still...
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