5. Setup Azure Kinect DK#

5.1. References#

This application is made possible by the previous work of following projects:

5.2. Requirements#

5.2.1. Hardware#

  • Azure Kinect DK

  • USB to USBC Cable

  • USB to Barrel connector

5.2.2. Software#

5.3. Installation#

  1. Install software from chapter requirements (keep path as default).

  2. Add following paths to Windows Environment Variables

  3. Win Key + R

rundll32.exe sysdm.cpl,EditEnvironmentVariables
  1. Add to Path:

C:\Program Files\Azure Kinect SDK v1.4.1\sdk\windows-desktop\amd64\release\bin   
C:\Program Files\Azure Kinect Body Tracking SDK\sdk\windows-desktop\amd64\release\bin
C:\Program Files\Azure Kinect Body Tracking SDK\tools
  1. Please check by open the windows device manager (kinect shoud should be visible as microphone array and the depth camera + 4K camera as USB serial bus):

5.4. Usage#

  1. If all steps in the chapter Installation are made the application can be started.

  2. Toggle the slider on the top right corner to establish a connection to the Azure Kinect DK.

  3. The triangle starts the “viewer” mode without recording.

  4. By pressing “#” or via button (red dot), the recording can be started.

5.5. Important notes#

  • Data cable must be plugged to USB 3.0 (or newer)

  • The .mkv video data is a raw video footage which is very data intensive (7GB per Minute by default settings), please only record on a fast and big SSD drive for the best performance and no storage issues.

5.6. Executable (pyinstaller bundling)#

To bunde the application to a portable .exe on windows with following steps:

If not already created/installed:

python -m venv venv
.\venv\Scripts\activate 
pip install -r requirements.txt

Bundling:

cd Kinect
pyinstaller --clean --onefile --add-data "pykinect_recorder;pykinect_recorder" --name Kinect main.py

The bundled .exe can be found in the dist folder after finish.

  • The documentation of the pyinstaller what the arguments are used for can be found here: Pyinstaller Docs