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

Get depth as uint16 or float32 #10

Open
matval opened this issue Jun 22, 2023 · 1 comment
Open

Get depth as uint16 or float32 #10

matval opened this issue Jun 22, 2023 · 1 comment

Comments

@matval
Copy link

matval commented Jun 22, 2023

Hi,
I'm trying to use the UnitreecameraSDK to retrieve the depth image. I'd expect the depth image to be either uint16 or float32, so I can get the distance values from images. However, when I use the function getDepthFrame(), the image comes as an uint8 image with 3 channels, and it doesn't matter if I set the parameter color=false, I still get the same image type.

Therefore, is there a way to get the depth image with pixels values in mm or meters?

Thanks

@xyq1223
Copy link

xyq1223 commented Aug 14, 2023

Hello, the reply given by our R&D colleagues is, 0.05-1 meter.
The ratio obtained by dividing this value by 255 is restored to the distance of 0.05-1 meter in the district construction

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