From 0956f6d0fe32a2067174a6eaf0f707f4eb2771bf Mon Sep 17 00:00:00 2001 From: Simon Pirkelmann Date: Fri, 10 Sep 2021 22:04:06 +0200 Subject: [PATCH] show grayscale image by default --- remote_control/aruco_estimator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remote_control/aruco_estimator.py b/remote_control/aruco_estimator.py index acd9040..ca543f5 100644 --- a/remote_control/aruco_estimator.py +++ b/remote_control/aruco_estimator.py @@ -140,7 +140,7 @@ class ArucoEstimator: {'name': 'Draw grid', 'type': 'bool', 'value': self.draw_grid, 'tip': "Draw grid spanned by the markers 0 - 3"}, {'name': 'Grid columns', 'type': 'int', 'value': self.grid_columns, 'tip': "Number of columns for the grid"}, {'name': 'Grid rows', 'type': 'int', 'value': self.grid_rows, 'tip': "Number of rows for the grid"}, - {'name': 'Display mode', 'type': 'list', 'values': ['color', 'grayscale'], 'value': 'color', 'tip': "Display mode for the video"}, + {'name': 'Display mode', 'type': 'list', 'values': ['color', 'grayscale'], 'value': 'grayscale', 'tip': "Display mode for the video"}, {'name': 'Autoexposure', 'type': 'bool', 'value': True}, {'name': 'Controlled robot', 'type': 'list', 'values': self.robot_marker_ids, 'tip': 'Robot to control'}, RobotMarkerGroup(name="Robot markers", children=robot_marker_group), @@ -569,4 +569,4 @@ if __name__ == "__main__": import sys if (sys.flags.interactive != 1) or not hasattr(QtCore, 'PYQT_VERSION'): - QtGui.QApplication.instance().exec_() \ No newline at end of file + QtGui.QApplication.instance().exec_()