displayarray.window¶
-
class
SubscriberWindows
(window_names: Iterable[str] = ('displayarray',), video_sources: Iterable[Union[str, int]] = (0,), callbacks: Optional[List[Callable[[numpy.ndarray], Any]]] = None)[source]¶ Windows that subscribe to updates to cameras, videos, and arrays.
-
add_window
(name)[source]¶ Add another window for this class to display sources with. The name will be the title.
-
handle_keys
(key_input: int)[source]¶ Capture key input for the escape function and passing to key control subscriber threads.
-
handle_mouse
(event, x, y, flags, param)[source]¶ Capture mouse input for mouse control subscriber threads.
-