MCPcopy
hub / github.com/yosinski/deep-visualization-toolbox / toggle_input_mode

Method toggle_input_mode

input_fetcher.py:91–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 assert self.bound_cap_device != None, 'Call bind_camera first'
90
91 def toggle_input_mode(self):
92 with self.lock:
93 if self.static_file_mode:
94 self.set_mode_cam()
95 else:
96 self.set_mode_static()
97
98 def set_mode_stretch_on(self):
99 with self.lock:

Callers 1

handle_key_pre_appsMethod · 0.80

Calls 2

set_mode_camMethod · 0.95
set_mode_staticMethod · 0.95

Tested by

no test coverage detected