import open3d mesh=open3d.geometry.TriangleMesh() s=mesh.create_sphere(5) vis=open3d.visualization.Visualizer() vis.create_window() vis.add_geometry(s) vis.run() vis.capture_screen_image('test.png',True) so vis
My current hack to get capture_screen_image to work in a for loop AND with multiple geometries is to create and delete the open3d objects for each loop: for x in data: # general for loop vis = o3d.visualization.Visualizer() vis.create_window() for p in [pcd, pcd_location]: # poi...
在这个函数中,彩色图像和深度图像分别使用Visualizer.capture_depth_float_buffer和Visualizer.capture_screen_float_buffer去捕获,然后保存成文件。 捕获的彩色图像序列 捕获的深度图像序列
changing rendering style, and screen capture. Press H inside the window to print out a comprehensi...
not None: vis.get_view_control().set_front(front) if zoom is not None: vis.get_view_control().set_zoom(zoom) if interactive: vis.run() else: for geom in geoms: vis.update_geometry(geom) vis.poll_events() vis.update_renderer() im = vis.capture_screen_float_buffer() vis.destroy_...
I use this code try to save screen capture,there is no error,but the image saved is black. How to save screen capture? vis = o3d.visualization.Visualizer() vis.create_window() vis.add_geometry(pcd) vis.update_geometry() vis.poll_events() vis.update_renderer() vis.capture_screen_image...
IMPORTANT: Please use the following template to report the bug. Describe the bug I try to use capture_screen_float_buffer to capture screen image with the following minimal code: import numpy as np import matplotlib.pyplot as plt import ...