Skip to content
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

Error in calibration::convert_color_2d_to_depth_2d() #75

Closed
Lizomi opened this issue May 30, 2024 · 1 comment
Closed

Error in calibration::convert_color_2d_to_depth_2d() #75

Lizomi opened this issue May 30, 2024 · 1 comment

Comments

@Lizomi
Copy link

Lizomi commented May 30, 2024

Describe the bug

I'm using calibration::convert_color_2d_to_depth_2d() like this:

    int result = calibration.convert_color_2d_to_depth_2d(p2d, depth, &target_p2d);

but I got error logs about invalid k4a_image_t. However, in other functions the depth image is usable.

To Reproduce

Just call this function.

Expected behavior

The k4a::image should be valid.

Logs

[2024-05-30 18:00:36.458] [error] [t=21900] C:\Users\daiyin\Desktop\OrbbecSDK-K4A-Wrapper\src\image\image.c (51): k4a_image_t_get_context(). Invalid k4a_image_t 000001B37CD5DAD0
[2024-05-30 18:00:36.458] [error] [t=21900] C:\Users\daiyin\Desktop\OrbbecSDK-K4A-Wrapper\src\image\image.c (420): Invalid argument to image_get_width_pixels(). image_handle (000001B37CD5DAD0) is not a valid handle of type k4a_image_t
[2024-05-30 18:00:36.458] [error] [t=21900] C:\Users\daiyin\Desktop\OrbbecSDK-K4A-Wrapper\src\image\image.c (51): k4a_image_t_get_context(). Invalid k4a_image_t 000001B37CD5DAD0
[2024-05-30 18:00:36.458] [error] [t=21900] C:\Users\daiyin\Desktop\OrbbecSDK-K4A-Wrapper\src\image\image.c (427): Invalid argument to image_get_height_pixels(). image_handle (000001B37CD5DAD0) is not a valid handle of type k4a_image_t
[2024-05-30 18:00:36.458] [error] [t=21900] C:\Users\daiyin\Desktop\OrbbecSDK-K4A-Wrapper\src\image\image.c (51): k4a_image_t_get_context(). Invalid k4a_image_t 000001B37CD5DAD0
[2024-05-30 18:00:36.458] [error] [t=21900] C:\Users\daiyin\Desktop\OrbbecSDK-K4A-Wrapper\src\image\image.c (389): Invalid argument to image_get_buffer(). image_handle (000001B37CD5DAD0) is not a valid handle of type k4a_image_t

Screenshots

Desktop (please complete the following information):

  • OS with Version: Windows 10 Professional 22H2
  • SDK Version: 1.10.1
  • Firmware version: 1.1.1

Additional context

@zzuliys
Copy link
Collaborator

zzuliys commented Jun 13, 2024

f4cd875 The issue has been fixed. Please wait for version 1.10.2 or compile the source code yourself for testing

@Lizomi Lizomi closed this as completed Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants