A partial refactor of background detect

This commit is contained in:
Julian Stirling 2025-07-16 15:38:57 +01:00
parent f12ee9bd69
commit b5586a4b32
6 changed files with 162 additions and 4 deletions

View file

@ -30,6 +30,7 @@ class OpenCVCamera(BaseCamera):
:param camera_index: The index of the camera to use for the microscope.
"""
super().__init()
self.camera_index = camera_index
self._capture_thread: Optional[Thread] = None
self._capture_enabled = False