ibaiGorordo / pyKinectAzure

Python library to run Kinect Azure DK SDK functions
MIT License
460 stars 114 forks source link

Wrapper for k4abt_tracker_configuration_t #90

Closed jonas-hurst closed 1 month ago

jonas-hurst commented 1 year ago

A proper python wrapper for k4abt_tracker_configuration_t. Closes https://github.com/ibaiGorordo/pyKinectAzure/issues/89

jonas-hurst commented 1 year ago

The way it is implemented is analogous to k4a.configuration.

TrevMasterFlex commented 1 month ago

Just up-voting this since I had to do the following monkey-patch for my own specific use-case:

def get_tracker_configuration(self, model_type): tracker_config = pykinect_azure.k4abt_tracker_default_configuration tracker_config.sensor_orientation = pykinect_azure.K4ABT_SENSOR_ORIENTATION_COUNTERCLOCKWISE90 tracker_config.processing_mode = pykinect_azure.K4ABT_TRACKER_PROCESSING_MODE_GPU_CUDA return tracker_config

pykinect_azure.Tracker.get_tracker_configuration = get_tracker_configuration

p.s. appreciate the library - and learning a lot from it

jonas-hurst commented 1 month ago

closes https://github.com/ibaiGorordo/pyKinectAzure/issues/113

jonas-hurst commented 1 month ago

@ibaiGorordo Kindly review and merge this PR, as this seems to solve many people's issues

ibaiGorordo commented 1 month ago

@jonas-hurst sorry for the delay, and thanks for the changes!