diff options
author | Théo de la Hogue | 2024-04-23 14:28:50 +0200 |
---|---|---|
committer | Théo de la Hogue | 2024-04-23 14:28:50 +0200 |
commit | a836169186bcdb878cc3d1120e2d04366a1dcffe (patch) | |
tree | fae552036c34ef9545df371a47383e9eb2d48169 /src | |
parent | 114378a03d5ff7ed51ef0e4dcad46567277662a0 (diff) | |
download | argaze-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__.py | 7 |
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: |