Closed windingwind closed 2 years ago
I'm sure all module paths are set correctly, I tested them with sample codes like realtime body tracker.
I'm using: Ubuntu 18.04 with python 3.8.8 conda env; k4a 1.4.1, k4abt 1.1
I'm not very familiar with ctypes. I tried ctypes.POINTER(playback_handle), ctypes.byref(playback_handle), ctypes.POINTER(playback_handle)().
All failed, no doubt.
I also referred to other sample codes using APIs with a ctypes.POINTER(k4a_xxx_t) as argtypes, find out they just use 'k4a_xxx_t()' without any other operation as function input. Am I missing any point?
Sorry for the delay,
I have uploaded a major refactor that was long overdue. I have added an example "examplePlaybackBodyTracker.py" to perform body tracking in a recording that did not have body tracking enabled.
Hi, thank you for this excellent work. I'm trying to use the repo to do body tracking using recorded MKV.
However, I failed with ctype data-type check at a strange point, _k4arecord.k4arecord.k4a_playback_open.
Here is my code (not well tested):
If argument 2 is playback_handle, it says
If ctypes.pointer(playback_handle), it says
Which is very confusing, because it seems like ctypes.pointer(playback_handle) just have the right data type.
I also tried
What should I do?
Thanks!