From 2e775a0db2e19a2f25dc9d793a6f6385cba3fa5d Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Wed, 26 Nov 2025 14:49:02 +0100 Subject: [PATCH] print orientation in one line --- cam_pose_charuco_board.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cam_pose_charuco_board.py b/cam_pose_charuco_board.py index 808095b..715b659 100644 --- a/cam_pose_charuco_board.py +++ b/cam_pose_charuco_board.py @@ -121,7 +121,7 @@ def process_video(detector: cv.aruco.CharucoDetector, board: cv.aruco.CharucoBoa r_vec_obj, _ = to_board_pose_euler(r_vec, t_vec) rot = [int(180.0 / math.pi * v) for v in r_vec_obj] if rot != last_rotation: - print(f"Rotation Tilt: {rot[0]:.1f}, Roll: {rot[1]:.1f}, Azimuth: {rot[2]:.1f}") + print(f"\rRotation Tilt: {rot[0]:.1f}, Roll: {rot[1]:.1f}, Azimuth: {rot[2]:.1f}", end='') last_rotation = rot cv.imshow('img', img)