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

Method capture_screen_float_buffer

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

Source from the content-addressed store, hash-verified

81 return param
82
83 def capture_screen_float_buffer(self, show=False):
84 image = self.__vis.capture_screen_float_buffer(do_render=True)
85
86 if show:
87 plt.imshow(image)
88 plt.show()
89
90 return image
91
92 def capture_screen_image(self, filename):
93 self.__vis.capture_screen_image(filename, do_render=True)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected