tuple index out of range but it shouldnt be like that

Viewed 23

i am working with aruco markers and I need the coordinates of the corners of each marker. when I print corners, it returns something like this

(array([[[270.,  41.],
    [480.,  19.],
    [526., 205.],
    [292., 233.]]], dtype=float32),)

but when I try to print x values of the coordinates with this line of code

print(corners[0][0][0][0])

it gives me this error

IndexError: tuple index out of range

can you help me? thanks

0 Answers
Related