PyNuitrack Crash

Hi,

What is not working:

I tried to use PyNuitrack to record human skeleton. Once I enabled CNN_HPE, the example code crashed with the following warnings:

WARNING: Can’t load library: %NUITRACK_HOME%/middleware/plugins/openvino_gapi_preproc.dll WARNING: Can’t load library: %NUITRACK_HOME%/middleware/plugins/openvino_intel_cpu_plugin.dll WARNING: Can’t load library: %NUITRACK_HOME%/middleware/plugins/openvino_ir_frontend.dll WARNING: Can’t load library: %NUITRACK_HOME%/middleware/plugins/openvino_c.dll WARNING: Can’t load library: %NUITRACK_HOME%/middleware/plugins/libcnn-hpe.dll WARNING: Can’t load library: %NUITRACK_HOME%/middleware/plugins/libcnn_hpe_plugin.dll

Meanwhile, the RegressionSkeletonization does not work.

What is working:

I also tried with the GUI, the Nuitrack AI GUI works fine with skeletonization and csv recorder
meanwhile, nuitrack_sample.exe also works fine with skeletonization

Here are the platforms I am running on

Windows 11
Python 3.10.16
IntelRealsense L515
Nuitrack v0.37.24

Could anyone help me with this? Thanks!

Best regards,
Changhan

Hello @portraitcc

It looks like NUITRACK_HOME variable is not set or open vino library conflict.
Could you check the value in the NUITRACK_HOME variable in python print(os.path.isdir(os.getenv("NUITRACK_HOME")))?
Do you have other packages or programs using open vino? Could you send me the pip3 freeze log?

Hi @irakli ,

Thanks for your reply.

print(os.path.isdir(os.getenv(“NUITRACK_HOME”)))
True

I am pretty sure that the NUITRACK_HOME is properly set.

Attached please find the freeze log

asttokens==2.0.5
Bottleneck==1.4.2
certifi==2024.8.30
colorama==0.4.6
contourpy==1.3.1
cycler==0.11.0
decorator==5.1.1
exceptiongroup==1.2.0
executing==0.8.3
fonttools==4.51.0
ipython==8.27.0
jedi==0.19.1
kiwisolver==1.4.4
matplotlib==3.9.3
matplotlib-inline==0.1.6
numexpr==2.10.2
numpy==1.26.4
opencv-python==4.10.0
opencv-python-headless==4.10.0
packaging==24.1
pandas==2.2.3
parso==0.8.3
pillow==10.4.0
pip==24.2
prompt-toolkit==3.0.43
pure-eval==0.2.2
py_nuitrack_windows_python3.10==0.1.0
Pygments==2.15.1
pyparsing==3.2.0
PySide6==6.7.3
python-dateutil==2.9.0.post0
pytz==2024.1
setuptools==75.1.0
shiboken6==6.7.3
six==1.16.0
stack-data==0.2.0
tornado==6.4.1
traitlets==5.14.3
typing_extensions==4.11.0
tzdata==2023.3
unicodedata2==15.1.0
wcwidth==0.2.5
wheel==0.44.0

I don’t think there’s any other packages or programs using open_vino

Hi,

I rolled it back to python 3.8. Then the problem is gone.
So the problem becomes version specified. Please take a look at the python3.10.16. Thanks!

Best regards

Hi @portraitcc

Thanks for the bug report, we will try to reproduce, if confirmed we will release a fix in one of the updates.

hi @portraitcc

Tested on python 3.10.11(latest pre-build release available for download) and 3.10.16 with all the packages you mentioned and everything works fine.
Can we remotely connect to your pc via anydesk to diagnose the issue?

We’ve released an update with crash fixes. Please test it and let us know if the issue is resolved: nuitrack-sdk/PythonNuitrack-beta at v0.38.4 · 3DiVi/nuitrack-sdk · GitHub