diff --git a/client/gestures/simple_gestures_lib.py b/client/gestures/simple_gestures_lib.py index fb2b652..70973ae 100644 --- a/client/gestures/simple_gestures_lib.py +++ b/client/gestures/simple_gestures_lib.py @@ -78,7 +78,7 @@ def check_finger(hand_landmarks, top_idx, bottom_idx): by = hand_landmarks.landmark[0].y distance_bottom_start = calculate_distance(ax, ay, bx, by) - if distance_bottom_start < distance_top_bottom + 0.1: + if distance_bottom_start < distance_top_bottom + 0.05: straight = True else: straight = False