Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Initialize Body Tracking Runtime #35

Open
tctoki opened this issue May 24, 2021 · 2 comments
Open

Cannot Initialize Body Tracking Runtime #35

tctoki opened this issue May 24, 2021 · 2 comments

Comments

@tctoki
Copy link

tctoki commented May 24, 2021

Hi, I have some troubles running body tracker.

I downloaded the v1.4.11 source code and build it successfully. However, when I tried the WPF Body Tracker, It was saying that Cannot Initialize Body Tracking Runtime.
I tried the Unity sample, it was also saying cannot initialize body tracking although I have put all the needed files in the Plugins/k4AdotNet folder.

In the WPF Body Tracker, it worked when the processing mode is set to CPU, but didn't work when set to GPU.

I tried the body viewer exe directly from the Azure Body tracking SDK, it works well.

I wonder how to solve this problem? I tried doing the exactly same things on another PC and it works well without error. Is there any possible reason?

Thank you in advance!

@tctoki
Copy link
Author

tctoki commented May 24, 2021

I am using Azure Kinect SDK v.1.4.1 and Body Tracking 1.1.0. My graphic card is GTX 1080.
The Body Tracking SDK is installed at C:\Program Files

@TheWhetherMan
Copy link

I have this issue as well (a year later from the looks of it) for a Unity project. I have triple checked that all files are in the appropriate locations.

The key differences in behavior that I've tested are:

  • WORKING: Running in Unity with all expected files in the Plugins/K4AdotNet folder
  • NOT WORKING: Running the same Unity project, but in a standalone build

If I have the Body Tracking SDK folder in Program Files/, all cases work fine, but if that folder is not there then the latter case doesn't. I feel like it's not looking in the application folder(s) for the dependencies.

I've also tried putting all of the *.dll and *.onnx next the to the .exe, as well as the aforementioned Plugins/ directory.

image

I can make it work in the meantime by having the SDK installed, but any ideas would be helpful for future attempts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants