Skip to content

Commit 7e312cb

Browse files
committed
Fix argparse variable mismatch in DomainSeg video_visualization script
Signed-off-by: ThomasLin617 <thomaslin617@gmail.com>
1 parent bfaf524 commit 7e312cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Models/visualizations/DomainSeg/video_visualization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ def main():
7575

7676
# Create a VideoCapture object and read from input file
7777
# If the input is taken from the camera, pass 0 instead of the video file name.
78-
video_filepath = args.video_filepath
78+
video_filepath = args.input_video_filepath
7979
cap = cv2.VideoCapture(video_filepath)
8080

8181
# Output filepath
82-
output_filepath_obj = args.output_file + ".avi"
82+
output_filepath_obj = args.output_video_filepath + ".avi"
8383
fps = cap.get(cv2.CAP_PROP_FPS)
8484
# Video writer object
8585
writer_obj = cv2.VideoWriter(

0 commit comments

Comments
 (0)