From 4ea4d6f142db9a33a58bad05d4561238ea796ad1 Mon Sep 17 00:00:00 2001 From: Tom Selier Date: Thu, 14 Sep 2023 14:15:38 +0200 Subject: [PATCH] added some debugging --- src/helpers/template_extraction/script.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/helpers/template_extraction/script.py b/src/helpers/template_extraction/script.py index fbee1ee..9f0ebd6 100644 --- a/src/helpers/template_extraction/script.py +++ b/src/helpers/template_extraction/script.py @@ -46,6 +46,8 @@ for file in os.listdir(input_folder): small_img, corners, ids) + + # Debug for id in ids: print(id) print(corners[id[0]]) @@ -68,8 +70,8 @@ for file in os.listdir(input_folder): color=(255, 100, 255), thickness=-1) - print(x[i]) - print(y[i]) + print("x[%d]: %d"%(i, x[i])) + print("y[%d]: %d"%(i, y[i])) print() i += 1