This commit is contained in:
NikolajDanger
2022-09-21 12:54:49 +02:00
parent b12106cd57
commit df1a4de690

View File

@ -110,7 +110,10 @@ class Arlo():
parameters=aruco_params
)
return list(zip(corners, ids)) if corners is not None else []
if corners is None:
return []
return [(box[0], ids[i]) for i, box in enumerate(corners)]
def draw_arucos(self, image, bounding_boxes):
for bounding, n in bounding_boxes: