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

new: ct.render.render_geometries as depth image #57

Merged
merged 1 commit into from
Apr 17, 2024
Merged

Conversation

yxlao
Copy link
Owner

@yxlao yxlao commented Apr 17, 2024

Changes

ct.render.render_geometries() now supports a to_depth flag. When True, it returns a (H, W), float32 numpy array depth image.

Example usage

im_depth = render_geometries(geometries, height=720, width=1280, to_depth=True)

@yxlao yxlao merged commit 222b337 into main Apr 17, 2024
5 checks passed
@yxlao yxlao deleted the render-to-depths branch April 17, 2024 09:30
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

Successfully merging this pull request may close these issues.

None yet

1 participant