From 5c253e5767cffb50d9c2ae81ca8c2a29a970bae0 Mon Sep 17 00:00:00 2001 From: "jiangnana.jnn" Date: Wed, 11 Dec 2024 10:51:23 +0800 Subject: [PATCH] update config_all.yaml --- configs/config_all.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/config_all.yaml b/configs/config_all.yaml index 23df82d90..1003c89af 100644 --- a/configs/config_all.yaml +++ b/configs/config_all.yaml @@ -344,6 +344,7 @@ process: - video_extract_frames_mapper: # extract frames from video files according to specified methods 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". 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. + 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. frame_dir: None # Output directory to save extracted frames. If None, a default directory based on the video file path is used. - video_face_blur_mapper: # blur faces detected in videos cv_classifier: '' # OpenCV classifier path for face detection. By default, we will use 'haarcascade_frontalface_alt.xml'.