diff --git a/src/pymodaq_plugins_utils/hardware/camera_base.py b/src/pymodaq_plugins_utils/hardware/camera_base.py index 02ca5a9..86edcd5 100644 --- a/src/pymodaq_plugins_utils/hardware/camera_base.py +++ b/src/pymodaq_plugins_utils/hardware/camera_base.py @@ -38,8 +38,8 @@ {'title': 'Color Conversion:', 'name': 'color_conversion', 'type': 'list', 'limits': ['None', 'RGB2GRAY', 'BAYER_BG2RGB', 'BAYER_BG2GRAY'] if cv2 is not None else ['None']}, {'title': 'ROI', 'name': 'roi', 'type': 'group', 'children': [ - {'title': 'Update ROI from Viewer', 'name': 'update_roi', 'type': 'led', 'value': False}, - {'title': 'Apply ROI', 'name': 'apply_roi', 'type': 'led', 'value': False}, + {'title': 'Update ROI from Viewer', 'name': 'update_roi', 'type': 'led_push', 'value': False}, + {'title': 'Apply ROI', 'name': 'apply_roi', 'type': 'led_push', 'value': False}, {'title': 'Clear ROI+Bin', 'name': 'clear_roi', 'type': 'bool_push', 'value': False}, {'title': 'ROI:', 'name': 'roi_slices', 'type': 'str', 'value': '', 'readonly': True}, {'title': 'X binning', 'name': 'x_binning', 'type': 'int', 'value': 1}, @@ -135,7 +135,7 @@ class CameraBase(DAQ_Viewer_base): callback_signal = QtCore.Signal(Grab) live_mode_available = True - hardware_averaging = True + hardware_averaging = False def ini_attributes(self): self.controller = None