From a836169186bcdb878cc3d1120e2d04366a1dcffe Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Tue, 23 Apr 2024 14:28:50 +0200 Subject: Adding calibration feature in live processing context case. --- src/argaze/__main__.py | 7 +++++++ 1 file changed, 7 insertions(+) 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: -- cgit v1.1