I'm working with the V2 Leap SDK for Python.
I'm writing a program which prints 'Left Hand' when the left hand is in frame and 'Right Hand' when the right hand is in frame. But, when both the hands are in frame I want to print 'Both Hands'.
But, when trying to do so I'm getting only Left Hand and Right Hand outputs one after the other.
This is my code:
leftHand = True;
rightHand = True;
elif(leftHand == True and rightHand == True):
leftHand = False;
rightHand = False;
Hope you could suggest what changes I could make.