forked from microsoft/Azure-Kinect-Sensor-SDK
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
k4a::image destructor error when created by create_from_buffer()
#92
Comments
AlexanderLeipnitz
changed the title
K4a::image destructor error when created by
k4a::image destructor error when created by Oct 14, 2024
create_from_buffer()
create_from_buffer()
Thank you. I fixed the issue by defining the callback ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a working workflow for converting the depth and IR image of a Femto Bolt to an OpenCV image and saving those images. When restoring the
k4a::image
of the depth and IR image from acv::Mat
in a loop for use with the body tracker, I have encountered an error when the destructor for each image is automatically called at the end of the loop. When I work with an Azure Kinect and the original Azure-Kinect-Sensor-SDK, the following code works great:When I use this wrapper and an Orbbec Femto Bolt, the
create_from_buffer()
method is successful and thedepthImage
is reconstructed correctly. However, if its destructor is called before the nextdepthImage
is reconstructed in the next iteration, I get the following error:The text was updated successfully, but these errors were encountered: