Skip to content

Commit 5c253e5

Browse files
committed
update config_all.yaml
1 parent 7a36c39 commit 5c253e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configs/config_all.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ process:
344344
- video_extract_frames_mapper: # extract frames from video files according to specified methods
345345
frame_sampling_method: 'all_keyframes' # sampling method of extracting frame images from the videos. Should be one of ["all_keyframes", "uniform"]. The former one extracts all key frames and the latter one extract specified number of frames uniformly from the video. Default: "all_keyframes".
346346
frame_num: 3 # the number of frames to be extracted uniformly from the video. Only works when frame_sampling_method is "uniform". If it's 1, only the middle frame will be extracted. If it's 2, only the first and the last frames will be extracted. If it's larger than 2, in addition to the first and the last frames, other frames will be extracted uniformly within the video duration.
347+
duration: 0 # The duration of each segment in seconds. If 0, frames are extracted from the entire video. If duration > 0, the video is segmented into multiple segments based on duration, and frames are extracted from each segment.
347348
frame_dir: None # Output directory to save extracted frames. If None, a default directory based on the video file path is used.
348349
- video_face_blur_mapper: # blur faces detected in videos
349350
cv_classifier: '' # OpenCV classifier path for face detection. By default, we will use 'haarcascade_frontalface_alt.xml'.

0 commit comments

Comments
 (0)