Skip to content

Fix script of Azure Kinect Body Tracking SDK sample program for Unity #62

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected override void RunBackgroundThreadAsync(int id, CancellationToken token

var deviceCalibration = device.GetCalibration();

using (Tracker tracker = Tracker.Create(deviceCalibration, new TrackerConfiguration() { ProcessingMode = TrackerProcessingMode.Gpu, SensorOrientation = SensorOrientation.Default }))
using (Tracker tracker = Tracker.Create(deviceCalibration, new TrackerConfiguration() { ProcessingMode = TrackerProcessingMode.Cuda, SensorOrientation = SensorOrientation.Default }))
{
UnityEngine.Debug.Log("Body tracker created.");
while (!token.IsCancellationRequested)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ copy packages\Microsoft.Azure.Kinect.Sensor.1.4.1\lib\native\amd64\release\k4are
copy %BODY_TRACKING_TOOLS_PATH%onnxruntime.dll Assets\Plugins
copy %BODY_TRACKING_TOOLS_PATH%k4abt.dll Assets\Plugins
copy %BODY_TRACKING_TOOLS_PATH%cudnn64_8.dll .\
copy %BODY_TRACKING_TOOLS_PATH%cudnn64_cnn_infer64_8.dll .\
copy %BODY_TRACKING_TOOLS_PATH%cudnn64_ops_infer64_8.dll .\
copy %BODY_TRACKING_TOOLS_PATH%cudnn_cnn_infer64_8.dll .\
copy %BODY_TRACKING_TOOLS_PATH%cudnn_ops_infer64_8.dll .\
copy %BODY_TRACKING_TOOLS_PATH%onnxruntime.dll .\
copy %BODY_TRACKING_TOOLS_PATH%dnn_model_2_0_op11.onnx .\
copy %BODY_TRACKING_TOOLS_PATH%cublas64_11.dll .\
copy %BODY_TRACKING_TOOLS_PATH%cublasLt64_11.dll .\
copy %BODY_TRACKING_TOOLS_PATH%cudart64_110.dll .\
copy %BODY_TRACKING_TOOLS_PATH%cufft64_10.dll .\