hb-setosys commited on
Commit
19f2c02
·
verified ·
1 Parent(s): 6fab089

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ CONFIDENCE_THRESHOLD = 0.5
21
  # Distance threshold to avoid duplicate counts
22
  DISTANCE_THRESHOLD = 50
23
 
24
- def count_unique_trucks(video_path, time_interval=7):
25
  cap = cv2.VideoCapture(video_path)
26
  if not cap.isOpened():
27
  return "Error: Unable to open video file."
 
21
  # Distance threshold to avoid duplicate counts
22
  DISTANCE_THRESHOLD = 50
23
 
24
+ def count_unique_trucks(video_path, time_interval):
25
  cap = cv2.VideoCapture(video_path)
26
  if not cap.isOpened():
27
  return "Error: Unable to open video file."