From 26230a9c0d74711f4b44755e23645e1d30389fa2 Mon Sep 17 00:00:00 2001 From: cubernetes Date: Sun, 13 Aug 2023 13:54:24 +0200 Subject: [PATCH] Change number of hands from 3 to 1 mediapipe.hands --- game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.py b/game.py index 5254dcd..e4a4a81 100755 --- a/game.py +++ b/game.py @@ -121,7 +121,7 @@ def main() -> int: music = start_game_sfx() capture: cv2.VideoCapture = cv2.VideoCapture(0) - hands: mp.solutions.hands.Hands = mp_hands.Hands(max_num_hands=3) + hands: mp.solutions.hands.Hands = mp_hands.Hands(max_num_hands=1) collected_42: bool = True noise_42img: int = 5 img42_x: int = -img42_side_len - 1 - noise_42img