added some debugging

This commit is contained in:
Tom Selier 2023-09-14 14:15:38 +02:00
parent 3f088ffb7d
commit 4ea4d6f142

View File

@ -46,6 +46,8 @@ for file in os.listdir(input_folder):
small_img, small_img,
corners, corners,
ids) ids)
# Debug
for id in ids: for id in ids:
print(id) print(id)
print(corners[id[0]]) print(corners[id[0]])
@ -68,8 +70,8 @@ for file in os.listdir(input_folder):
color=(255, 100, 255), color=(255, 100, 255),
thickness=-1) thickness=-1)
print(x[i]) print("x[%d]: %d"%(i, x[i]))
print(y[i]) print("y[%d]: %d"%(i, y[i]))
print() print()
i += 1 i += 1