def start_marker_detection(self):
        self.circle_marker_positions = []
        source_path = self.g_pool.capture.source_path
        self.process_pipe = zmq_tools.Msg_Pair_Server(self.g_pool.zmq_ctx)
        self.notify_all({'subject': 'circle_detector_process.should_start',
                         'source_path': source_path, "pair_url": self.process_pipe.url})

        self.detection_progress = 0.
        self.menu_icon.indicator_stop = 0.
        self.toggle_detection_button.label = 'Cancel circle marker detection'
Esempio n. 2
0
 def start_detection_task(self):
     self.process_pipe = zmq_tools.Msg_Pair_Server(self.g_pool.zmq_ctx)
     self.circle_marker_positions = []
     source_path = self.g_pool.capture.source_path
     timestamps_path = os.path.join(self.g_pool.rec_dir,
                                    "world_timestamps.npy")
     self.notify_all({
         'subject': 'circle_detector_process.should_start',
         'source_path': source_path,
         'timestamps_path': timestamps_path,
         "pair_url": self.process_pipe.url
     })
 def start(self):
     super().start()
     self._process_pipe = zmq_tools.Msg_Pair_Server(self.zmq_ctx)
     self._request_start_of_detection(self._process_pipe.url)
Esempio n. 4
0
 def start_detection_task(self):
     self.process_pipe = zmq_tools.Msg_Pair_Server(self.g_pool.zmq_ctx)
     self.circle_marker_positions = []
     source_path = self.g_pool.capture.source_path
     self.notify_all({'subject': 'circle_detector_process.should_start',
                      'source_path': source_path, "pair_url": self.process_pipe.url})