Change number of hands from 3 to 1 mediapipe.hands
This commit is contained in:
parent
fd02dd21d4
commit
26230a9c0d
2
game.py
2
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
|
||||
|
|
Loading…
Reference in New Issue