Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,8 @@ def count_unique_trucks(video_path):
|
|
62 |
video_filename = os.path.basename(video_path).lower()
|
63 |
|
64 |
# Determine the dynamic time interval based on filename keywords
|
65 |
-
time_interval = determine_time_interval(video_filename)
|
|
|
66 |
# Get total frames in the video
|
67 |
total_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
|
68 |
|
|
|
62 |
video_filename = os.path.basename(video_path).lower()
|
63 |
|
64 |
# Determine the dynamic time interval based on filename keywords
|
65 |
+
#time_interval = determine_time_interval(video_filename)
|
66 |
+
time_interval = 7
|
67 |
# Get total frames in the video
|
68 |
total_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
|
69 |
|