diff options
author | Théo de la Hogue | 2022-09-19 22:37:57 +0200 |
---|---|---|
committer | Théo de la Hogue | 2022-09-19 22:37:57 +0200 |
commit | f40c610c0386b924322acc1515eac9380b20d9ec (patch) | |
tree | f0695f4044a18eaa5256e9b5ef43216b8dbf8243 /src | |
parent | 0aa22b0a04fe0b145a813ea8416acb74c6b8d901 (diff) | |
download | argaze-f40c610c0386b924322acc1515eac9380b20d9ec.zip argaze-f40c610c0386b924322acc1515eac9380b20d9ec.tar.gz argaze-f40c610c0386b924322acc1515eac9380b20d9ec.tar.bz2 argaze-f40c610c0386b924322acc1515eac9380b20d9ec.tar.xz |
Drawing a grey rectangle behind warning to improve readibility.
Diffstat (limited to 'src')
-rw-r--r-- | src/argaze/utils/export_tobii_segment_aruco_visual_scan.py | 3 | ||||
-rw-r--r-- | src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py b/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py index f8e1dbc..bcc72ef 100644 --- a/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py +++ b/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py @@ -355,7 +355,8 @@ def main(): # Write warning related to video and data frame processing except UserWarning as e: - + + cv.rectangle(visu_frame.matrix, (0, 50), (550, 100), (63, 63, 63), -1) cv.putText(visu_frame.matrix, str(e), (20, 80), cv.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 255), 1, cv.LINE_AA) except ValueError: diff --git a/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py b/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py index 3fea974..1652c67 100644 --- a/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py +++ b/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py @@ -249,7 +249,8 @@ def main(): # Write warning related to video and data frame processing except UserWarning as e: - + + cv.rectangle(visu_frame.matrix, (0, 50), (550, 100), (63, 63, 63), -1) cv.putText(visu_frame.matrix, str(e), (20, 80), cv.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 255), 1, cv.LINE_AA) except ValueError: |