Closed nliedmey closed 1 year ago
Hi, see this function which transforms the depth image. https://github.com/etiennedub/pyk4a/blob/2791f6ea6678f889e3d6a730eb924fd7cd4a95ee/pyk4a/transformation.py#L9
It is being used here: https://github.com/etiennedub/pyk4a/blob/2791f6ea6678f889e3d6a730eb924fd7cd4a95ee/pyk4a/capture.py#L134
With transformed_depth, you can use the same coordinates as the color image:
Hello,
I'm sturggling a bit with using pyk4a. Probably someone can help me.
Based on the recorded RGB-Stream, i am detecting objects of interest. Now I want to get the pixels correspondent depth values from the depth stream. What is the best was to solve this? I have read about using the callibration functions but what would the appropriate function for my problem? Is this a 2D-to-2D conversion?
It would be great if someone could help me out. Cheers