Hi, I am using the dephtai Hand Tracker library for getting the wrist coordinate, however when I try to get the coordinates of wrist using hands. landmarks then I am getting AttributeError: 'list' object has no attribute 'landmarks'.
Is it right way of getting coordinates or there is another way of getting the coordinate?
while True:
frame, hands, bag = tracker.next_frame()
if frame is None: break
if hands:
cord = hands.landmarks #<- This generating issue
frame = renderer.draw(frame, hands, bag)
key = renderer.waitKey(delay=1)
if key == 27 or key == ord('q'):
break
Can any one help me with this?