Skip to content

Commit 208e1fc

Browse files
committed
Cleaned comment
1 parent bba6ff5 commit 208e1fc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

PostProcessing/PostProcessVideos.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,15 @@ def main(input_dir: Path, output_dir: Path):
9090
assert len(clientIDs) == len(df_list) == len(mp4_list) == len(repaired_df_list)
9191

9292
#
93+
# Trim CSVs
9394
# Find time ranges
94-
# Compute the time range
9595
min_common, max_common = compute_time_range(repaired_df_list)
96-
97-
#
98-
# Trim CSVs
9996
# Trim the data frames to the time range
10097
trimmed_dataframes = trim_into_interval(repaired_df_list, min_common, max_common, THRESHOLD_NS)
10198

10299
assert len(clientIDs) == len(trimmed_dataframes), f"Expected {len(clientIDs)} trimmed dataframes. Found f{len(trimmed_dataframes)}"
103100

101+
# Check that all the resultiong dataframes have the same number of rows
104102
client0ID = clientIDs[0]
105103
client0size = len(trimmed_dataframes[0])
106104
print(f"For client {client0ID}: {client0size} frames")
@@ -114,7 +112,7 @@ def main(input_dir: Path, output_dir: Path):
114112
#
115113
# Extract the frames from the original videos
116114
# and rename the file names to the timestamps (DONE)
117-
# extract_frames(input_dir, output_dir)
115+
#extract_frames(input_dir, output_dir)
118116

119117
#
120118
# Reconstruct videos (TODO)

0 commit comments

Comments
 (0)