Azure-Kinect-Sensor-SDK
Azure-Kinect-Sensor-SDK copied to clipboard
body track v1.1.0 model does not load in countries that don't use ASCII; due to model_path is not `wchar_t`
k4abt_tracker_configuration_t.model_path
is a POD const char*
. Naturally, this is errant.
Azure is a world-wide service and includes Kinect. Therefore, the path must be a wide char, UTF-16, UTF-8, etc.
Setup
Body tracking v1.1.0
Repro
Look at the header file sdk\include\k4abttypes.h
Result
Line 157
const char* model_path;
Expected
const wchar_t* model_path;
or better...
const filesystem::path model_path;
Workaround
None. If there is any part of the path that has a non 8-bit ASCII/simple character, then it is impossible for body tracking to load the model.
v1.1.0 continues to fail v1.1.2 additionally fails when given path as 8-bit character string in local codepage.