From 55ee2adc0d7b2182b31215de40e6f5bc32c25108 Mon Sep 17 00:00:00 2001 From: Andrew B Date: Tue, 24 Jan 2023 19:50:32 +0300 Subject: [PATCH] Minor fixes --- K4AdotNet.Samples.Unity/prepare.cmd | 17 ++++++++++------- LICENSE | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/K4AdotNet.Samples.Unity/prepare.cmd b/K4AdotNet.Samples.Unity/prepare.cmd index 96d2ea8..7a145eb 100644 --- a/K4AdotNet.Samples.Unity/prepare.cmd +++ b/K4AdotNet.Samples.Unity/prepare.cmd @@ -11,10 +11,10 @@ xcopy ..\K4AdotNet\bin\Debug\netstandard2.0\* Assets\Plugins\K4AdotNet\ /A /Y rem Copy K4A Sensor runtime to "Assets\Plugins\K4AdotNet" folder xcopy ..\externals\k4a\windows-desktop\amd64\*.dll Assets\Plugins\K4AdotNet\ /A /Y -rem Copy k4abt.dll from K4A Body Tracking runtime to "Assets\Plugins\K4AdotNet" folder (assumes Body Tracking SDK installed into a standard location) -copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\k4abt.dll" Assets\Plugins\K4AdotNet\ -copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\dnn_model_2_0_op11.onnx" Assets\Plugins\K4AdotNet\ -copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\dnn_model_2_0_lite_op11.onnx" Assets\Plugins\K4AdotNet\ +rem Copy K4A Body Tracking runtime files to "Assets\Plugins\K4AdotNet" folder (assumes Body Tracking SDK installed into a standard location) +xcopy /a /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\sdk\windows-desktop\amd64\release\bin\*.dll" Assets\Plugins\K4AdotNet\ +xcopy /a /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\sdk\windows-desktop\amd64\release\bin\*.onnx" Assets\Plugins\K4AdotNet\ +rem Copy CUDA libraries copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\cublas64_11.dll" Assets\Plugins\K4AdotNet\ copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\cublasLt64_11.dll" Assets\Plugins\K4AdotNet\ copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\cudart64_110.dll" Assets\Plugins\K4AdotNet\ @@ -22,10 +22,13 @@ copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\cudnn_cnn_infer64_8 copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\cudnn_ops_infer64_8.dll" Assets\Plugins\K4AdotNet\ copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\cudnn64_8.dll" Assets\Plugins\K4AdotNet\ copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\cufft64_10.dll" Assets\Plugins\K4AdotNet\ -copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\onnxruntime.dll" Assets\Plugins\K4AdotNet\ -copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\vcomp140.dll" Assets\Plugins\K4AdotNet\ +rem Copy TensorRT libraries +copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\nvinfer.dll" Assets\Plugins\K4AdotNet\ +copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\nvinfer_plugin.dll" Assets\Plugins\K4AdotNet\ +copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\nvrtc-builtins64_114.dll" Assets\Plugins\K4AdotNet\ +copy /y "%ProgramFiles%\Azure Kinect Body Tracking SDK\tools\nvrtc64_112_0.dll" Assets\Plugins\K4AdotNet\ rem If Body Tracking SDK is installed to another location then copy manually the following libraries and data files rem from "tools" folder of Body Tracking SDK to "Assets\Plugins\K4AdotNet" folder of this plugin: rem k4abt.dll, dnn_model_2_0_op11.onnx and/or dnn_model_2_0_lite_op11.onnx, cublas64_11.dll, cublasLt64_11.dll, cudart64_110.dll, -rem cudnn_cnn_infer64_8.dll, cudnn_ops_infer64_8.dll, cudnn64_8.dll, cufft64_10.dll, onnxruntime.dll, vcomp140.dll. \ No newline at end of file +rem cudnn_cnn_infer64_8.dll, cudnn_ops_infer64_8.dll, cudnn64_8.dll, cufft64_10.dll, onnxruntime.dll, ... \ No newline at end of file diff --git a/LICENSE b/LICENSE index 8d9372a..cb20a31 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019-2021 +Copyright (c) 2019-2023 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal