def getHands(): if (leapController.is_connected): frame = leapController.frame() manos = frame.hands if not manos.is_empty: return manos else: return Leap.HandList() else: print "Conectar El Leap Motion" return None