aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2024-04-23 14:28:50 +0200
committerThéo de la Hogue2024-04-23 14:28:50 +0200
commita836169186bcdb878cc3d1120e2d04366a1dcffe (patch)
treefae552036c34ef9545df371a47383e9eb2d48169 /src
parent114378a03d5ff7ed51ef0e4dcad46567277662a0 (diff)
downloadargaze-a836169186bcdb878cc3d1120e2d04366a1dcffe.zip
argaze-a836169186bcdb878cc3d1120e2d04366a1dcffe.tar.gz
argaze-a836169186bcdb878cc3d1120e2d04366a1dcffe.tar.bz2
argaze-a836169186bcdb878cc3d1120e2d04366a1dcffe.tar.xz
Adding calibration feature in live processing context case.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/__main__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/argaze/__main__.py b/src/argaze/__main__.py
index b31f75d..2091bfd 100644
--- a/src/argaze/__main__.py
+++ b/src/argaze/__main__.py
@@ -125,6 +125,13 @@ with load(args.context_file) as context:
context.pause()
+ # Enter: start calibration
+ if key_pressed == 13:
+
+ if issubclass(type(context), LiveProcessingContext):
+
+ context.calibrate()
+
# Window mode off
else: