diff --git a/src/krux/camera.py b/src/krux/camera.py index ebe5df15..df5c62f9 100644 --- a/src/krux/camera.py +++ b/src/krux/camera.py @@ -39,9 +39,9 @@ def __init__(self): self.initialized = False self.cam_id = None self.antiglare_enabled = False - self._initialize_sensor() + self.initialize_sensor() - def _initialize_sensor(self, grayscale=False): + def initialize_sensor(self, grayscale=False): """Initializes the camera""" self.initialized = False self.antiglare_enabled = False @@ -191,7 +191,7 @@ def snapshot(self): def initialize_run(self): """Initializes and runs sensor""" - self._initialize_sensor() + self.initialize_sensor() sensor.run(1) def stop_sensor(self):