From ba213996fe39d8bec69f3f5395e308ba9739011d Mon Sep 17 00:00:00 2001 From: Alexandre Kruszewski Date: Fri, 10 Apr 2026 15:51:02 +0200 Subject: [PATCH] [Calibration] fix camera does not calibrate if video feed is off --- emioapi/_depthcamera.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emioapi/_depthcamera.py b/emioapi/_depthcamera.py index 9434f83..8d9815e 100644 --- a/emioapi/_depthcamera.py +++ b/emioapi/_depthcamera.py @@ -267,7 +267,8 @@ def calibrate(self): _, color_image, depth_image, _ = self.get_frame() success = self.position_estimator.calibrate(color_image, depth_image, first, calibration_window) first = success if not first else first - self.rootWindow.update() + if self.show_video_feed: + self.rootWindow.update() if success: self.position_estimator.compute_camera_to_simulation_transform()