✨
This commit is contained in:
@ -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))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user