isl-org / isl-org/Open3D

Saving output of draw_geometries as image file without opening a window

Open
#5,290 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

I'm currently using the method below to save the output of draw_geometries as in a .png file for later use in WandB. Since I have this implementation in a training loop, it is inconvenient for the visualization window to continuously pop up. Would it be possible to achieve the same resulting image without having a pop up window?

`vis = o3d.visualization.Visualizer() `
`vis.create_window() `
`vis.add_geometry(pcd) `
`vis.update_geometry(pcd) `
`vis.poll_events() `
`vis.update_renderer() `
`vis.capture_screen_image(path) `
`vis.destroy_window()`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.