I first tried the compatibility and working process of an IntelRealSense D455 with the Windows application and everything worked perfectly from activating the license to running the demo. But when I tried connecting to the same device using Python SDK, the code (the same as provided in the installation doc) suddenly crashed at the load_modules line without any error. It seems the code stops at that point.
We were unable to reproduce your problem. (we have tested it on the latest release v0.37.12.). Could you, please, provide us with the version of Nuitrack you used and the snippet of code? Also, we want to tell you that connection issues (bad cable or USB port) are common for RealSense sensors. In addition, we would recommend you to try to launch the latest version (link) if you havenāt already.
Weāre sorry you have encountered such an issue. Weāre looking forward to feedback.
I used the exact code explained here. I canāt find any cause because everything works well with the latest Windows application. The load_modules function doesnāt throw any exception I can debug.
Could you, please, tell us about your actions step by step? Also, is your link referring to this code? (itās quite tricky to get there). If not, could you, please, provide us with the exact code snippet? (via link, file, etc.)
Thank you for your interest in Nuitrack. We are eagerly waiting for the feedback.
First, I connect my RealSense camera to the computer and run the Nuitrack desktop application. It works perfectly without any problem, but when I close the application and run the code from the link you sent (itās the exact link I put in my previous response), it crashes at load_modules function without throwing any exceptions, so I canāt debug it.
After considerable testing, we canāt reproduce your issue. Letās dig a little bit deeper.
Could you, please, describe your workflow as minutely as possible? It would be wonderful if you could include screenshots of console output, code (or a file), and the āNUITRACK_HOMEā and āLD_LIBRARY_PATHā environmental variable settings. Also, please provide us with the actions leading to the crash (it would be nice if itās presented in some kind of list). The info we ask for will help us solve your issue as soon as possible.
Thanks for your contribution. Weāre looking forward to your response.
Thanks for replying and helping to fix the issue.
Iām using Windows and installed the Python package using the wheels you provided in the GitHub repo (py_nuitrack_windows_python3.9-0.1.0-py3-none-any).
This is the code Iām trying to run completely:
(I canāt upload images due to a restriction, please find this image in this drive folder)
And this is the outputs:
(I canāt upload images due to a restriction, please find this image in this drive folder)
More precisely, I always connected the RealSense camera using a USB cable to my laptop, then tried it with the Nuitrack desktop application to see if everything was fine or not. Finally, I will run this code using Python 3.9.
For env variables, I have NUITRACK_HOME which is C:\Program Files\Nuitrack\nuitrack\nuitrack, but I donāt have LD_LIBRARY_PATH. Maybe this can be the problem.
Looking forward to hearing from you soon.
Apologies for the late reply. The forum was down for some time.
We used the additional info for thorough testing, but we were still unable to replicate your problem. It seems weāre still having some differences between setups. As a solution we can suggest you a remote session (via anydesk, for example) to identify the problems. Please, tell us if it suits you. If so, weāll arrange a meeting.
Is this issue still relevant to you? If so, we have prepared the debug package.
Please reproduce the issue with the above package installed and send us the log.
I tested the new debug package and it was working perfectly. Thanks for your help to fix this problem. I think we can close this thread now, but I have some questions about the python module:
How can I change the AI or Classical mode of the model for extracting joints?
Is it possible for the model to extract joints only using the depth stream of the real-sense camera while the RGB stream is turned off because of privacy issues?
Is it possible to run the model on a .bag file recorded from a real-sense camera instead of a live connection? Because I want to do a data collection and run different models for joint extraction after the data collection is done.
Is there any documentation about the outputs of the model, for example the exact specifications of the ārealā dimensions for each joint?
You can set a config option āSkeletonization.Typeā to āCNN_HPEā in order to use AI skeletonization.
It is possible to turn off the RGB stream output by setting config option āDepthProvider.RGBā to āOffā.
Yes! It is possible to run realsense bag files through providing config with āRealsense2Module.FileRecord: /path/to/the/file.bagā. Make sure you have your sensor connected to the PC, otherwise Nuitrack wonāt run (current behaviour).