Skip to content

Commit 3ae9294

Browse files
committed
Added fixes from Azure Kinect Sample Unity Body Tracking Application pull request
Fixes come from: microsoft/Azure-Kinect-Samples#62
1 parent 8aa7f18 commit 3ae9294

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Assets/Scripts/SkeletalTrackingProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected override void RunBackgroundThreadAsync(int id, CancellationToken token
6060

6161
var deviceCalibration = device.GetCalibration();
6262

63-
using (Tracker tracker = Tracker.Create(deviceCalibration, new TrackerConfiguration() { ProcessingMode = TrackerProcessingMode.Gpu, SensorOrientation = SensorOrientation.Default }))
63+
using (Tracker tracker = Tracker.Create(deviceCalibration, new TrackerConfiguration() { ProcessingMode = TrackerProcessingMode.Cuda, SensorOrientation = SensorOrientation.Default }))
6464
{
6565
UnityEngine.Debug.Log("Body tracker created.");
6666
userMessages.queueMessage("Body tracker created.");

MoveLibraryFiles.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ copy packages\Microsoft.Azure.Kinect.Sensor.1.4.1\lib\native\amd64\release\k4are
2424
copy %BODY_TRACKING_TOOLS_PATH%onnxruntime.dll Assets\Plugins
2525
copy %BODY_TRACKING_TOOLS_PATH%k4abt.dll Assets\Plugins
2626
copy %BODY_TRACKING_TOOLS_PATH%cudnn64_8.dll .\
27-
copy %BODY_TRACKING_TOOLS_PATH%cudnn64_cnn_infer64_8.dll .\
28-
copy %BODY_TRACKING_TOOLS_PATH%cudnn64_ops_infer64_8.dll .\
27+
copy %BODY_TRACKING_TOOLS_PATH%cudnn_cnn_infer64_8.dll .\
28+
copy %BODY_TRACKING_TOOLS_PATH%cudnn_ops_infer64_8.dll .\
2929
copy %BODY_TRACKING_TOOLS_PATH%onnxruntime.dll .\
3030
copy %BODY_TRACKING_TOOLS_PATH%dnn_model_2_0_op11.onnx .\
3131
copy %BODY_TRACKING_TOOLS_PATH%cublas64_11.dll .\
3232
copy %BODY_TRACKING_TOOLS_PATH%cublasLt64_11.dll .\
3333
copy %BODY_TRACKING_TOOLS_PATH%cudart64_110.dll .\
34+
copy %BODY_TRACKING_TOOLS_PATH%cufft64_10.dll .\

0 commit comments

Comments
 (0)