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

depth map #2

Open
04lm40 opened this issue Jun 9, 2021 · 0 comments
Open

depth map #2

04lm40 opened this issue Jun 9, 2021 · 0 comments

Comments

@04lm40
Copy link

04lm40 commented Jun 9, 2021

Hello, I would like to ask how to save the depth map, I have added the following content in the code, but the image is all black. Thank you!

img_numpy = util.tensor2depthim(self.depth_b.detach())
image_pil = Image.fromarray(img_numpy)
image_pil.save(source_name)

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

1 participant