MCPcopy Create free account
hub / github.com/TheMariday/marimapper / __init__

Method __init__

marimapper/detector_process.py:83–105  ·  view source on GitHub ↗
(
        self,
        device: str,
        dark_exposure: int,
        threshold: int,
        backend_factory: partial,
        display: bool = True,
        check_movement=True,
    )

Source from the content-addressed store, hash-verified

81class DetectorProcess(Process):
82
83 def __init__(
84 self,
85 device: str,
86 dark_exposure: int,
87 threshold: int,
88 backend_factory: partial,
89 display: bool = True,
90 check_movement=True,
91 ):
92 super().__init__()
93 self._request_detections_queue = RequestDetectionsQueue() # {led_id, view_id}
94 self._output_queues: list[Queue2D] = [] # LED3D
95 self._led_count: Queue = Queue()
96 self._led_count.cancel_join_thread()
97 self._input_3d_info_queue = Queue3DInfo()
98 self._exit_event = Event()
99
100 self._device = device
101 self._dark_exposure = dark_exposure
102 self._threshold = threshold
103 self._led_backend_factory = backend_factory
104 self._display = display
105 self._check_movement = check_movement
106
107 def get_input_3d_info_queue(self):
108 return self._input_3d_info_queue

Callers

nothing calls this directly

Calls 2

Queue3DInfoClass · 0.90

Tested by

no test coverage detected