aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--image-record-annotate.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/image-record-annotate.py b/image-record-annotate.py
index 341cfe4..7ea1c01 100644
--- a/image-record-annotate.py
+++ b/image-record-annotate.py
@@ -18,6 +18,9 @@ import code # entering the interactive mode at a certain point: code.interact(lo
IMAGE_WIDTH = 1280
IMAGE_HEIGHT = 960
+import getpass
+OPERATOR = getpass.getuser()
+
class ImageLabel(tk.Label):
def __init__(self, *args, **kwargs):
@@ -230,12 +233,13 @@ def annotation_text(filenames, annotation_panel, cam_control_panel):
_str += 'camera: O-3020 (color, rolling shutter, serial no.: 10030)\n'
_str += 'lense: C-Mount 6mm 1/2.7" IR MP, with IR cutoff filter\n'
_str += 'exposure time: {:f}s\n'.format(cam_control_panel.exposure_time.value)
- _str += 'sensitivity: {:f}%'.format(cam_control_panel.sensitivity.value)
+ _str += 'sensitivity: {:f}%\n'.format(cam_control_panel.sensitivity.value)
_str += '\n'
_str += 'date: {:s}\n'.format(ap.date)
_str += 'time: {:s}\n'.format(ap.time)
+ _str += 'operator: {:s}\n'.format(OPERATOR)
_str += '\n'