This commit is contained in:
NikolajDanger
2022-09-19 14:42:36 +02:00
parent e089664460
commit d787887d95

View File

@ -13,7 +13,7 @@ def find_aruco(arlo):
) )
for bounding, n in zip(corners, ids): for bounding, n in zip(corners, ids):
bounding_box = bounding.reshape((4,2)) bounding_box = [(int(x), int(y)) for x, y in bounding.reshape((4,2))]
print(bounding_box) print(bounding_box)
cv2.line(image, bounding_box[0], bounding_box[1], (0,255,0)) cv2.line(image, bounding_box[0], bounding_box[1], (0,255,0))