Skip to content

Commit 725b5c9

Browse files
committed
Issue was probably a case issue
1 parent 3d1f323 commit 725b5c9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Sports2D/Demo/Config_demo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
[project]
15-
video_input = 'Demo.mp4' # 'webcam' or '<video_path.ext>', or ['video1_path.mp4', 'video2_path.avi>', ...]
15+
video_input = 'demo.mp4' # 'webcam' or '<video_path.ext>', or ['video1_path.mp4', 'video2_path.avi>', ...]
1616

1717
# Video parameters
1818
time_range = [] # [] for the whole video, or [start_time, end_time] (in seconds), or [[start_time1, end_time1], [start_time2, end_time2], ...]

Sports2D/Sports2D.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ def base_params(config_dict):
271271
frame_rates = []
272272
for video_file in video_files:
273273
video = cv2.VideoCapture(str(video_dir / video_file))
274-
print(f'The file does exist: {(video_dir / video_file).exists()}', video_dir / video_file)
275274
if not video.isOpened():
276275
raise FileNotFoundError(f'Error: Could not open {video_dir/video_file}. Check that the file exists.')
277276
frame_rate = video.get(cv2.CAP_PROP_FPS)

0 commit comments

Comments
 (0)