MCPcopy Create free account
hub / github.com/SAMMiCA/ChangeSim / capture_depth_float_buffer

Method capture_depth_float_buffer

script/utils/visualization.py:95–102  ·  view source on GitHub ↗
(self, show=False)

Source from the content-addressed store, hash-verified

93 self.__vis.capture_screen_image(filename, do_render=True)
94
95 def capture_depth_float_buffer(self, show=False):
96 depth = self.__vis.capture_depth_float_buffer(do_render=True)
97
98 if show:
99 plt.imshow(depth)
100 plt.show()
101
102 return depth
103
104 def capture_depth_image(self, filename):
105 self.__vis.capture_depth_image(filename, do_render=True)

Callers 1

callbackMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected