Brightsun10 commited on
Commit
f37eee7
·
verified ·
1 Parent(s): 1806012

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ mp_hands = mp.solutions.hands
13
  hands = mp_hands.Hands(
14
  static_image_mode=False, # Process a video stream
15
  max_num_hands=1, # We'll track one hand for this application
16
- min_detection_confidence=0.6, # Lowered confidence for better detection
17
- min_tracking_confidence=0.5 # Minimum confidence value for tracking
18
  )
19
 
20
  print("MediaPipe Hands model initialized successfully.")
 
13
  hands = mp_hands.Hands(
14
  static_image_mode=False, # Process a video stream
15
  max_num_hands=1, # We'll track one hand for this application
16
+ min_detection_confidence=0.4, # Lowered confidence for better detection
17
+ min_tracking_confidence=0.3 # Minimum confidence value for tracking
18
  )
19
 
20
  print("MediaPipe Hands model initialized successfully.")