AjaykumarPilla commited on
Commit
8e68f2a
·
verified ·
1 Parent(s): 6a7c8be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ model = YOLO("best.pt")
14
  STUMPS_WIDTH = 0.2286 # meters (width of stumps)
15
  BALL_DIAMETER = 0.073 # meters (approx. cricket ball diameter)
16
  FRAME_RATE = 30 # Input video frame rate
17
- SLOW_MOTION_FACTOR = 6 # For very slow motion (6x slower)
18
  CONF_THRESHOLD = 0.25 # Confidence threshold for detection
19
  IMPACT_ZONE_Y = 0.85 # Fraction of frame height where impact is likely (near stumps)
20
 
 
14
  STUMPS_WIDTH = 0.2286 # meters (width of stumps)
15
  BALL_DIAMETER = 0.073 # meters (approx. cricket ball diameter)
16
  FRAME_RATE = 30 # Input video frame rate
17
+ SLOW_MOTION_FACTOR = 4 # For slow motion (4x slower)
18
  CONF_THRESHOLD = 0.25 # Confidence threshold for detection
19
  IMPACT_ZONE_Y = 0.85 # Fraction of frame height where impact is likely (near stumps)
20