From f388f92165741295c87d44928e3509ee03f86c14 Mon Sep 17 00:00:00 2001 From: Christian Liebhardt Date: Fri, 25 Oct 2024 17:20:51 +0200 Subject: [PATCH] Fixed debug output: 'debug_annotated' didn't contain any annotations --- homr/staff_parsing.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homr/staff_parsing.py b/homr/staff_parsing.py index 1362720..94033af 100644 --- a/homr/staff_parsing.py +++ b/homr/staff_parsing.py @@ -258,7 +258,9 @@ def prepare_staff_image( (0, 0, 255), 1, ) - debug.write_image_with_fixed_suffix(f"_staff-{index}_debug_annotated.jpg", staff_image) + debug.write_image_with_fixed_suffix( + f"_staff-{index}_debug_annotated.jpg", transformed_staff_image + ) return staff_image, staff