Added ability to map faces

This commit is contained in:
pereiraroland26@gmail.com
2024-09-10 04:37:58 +05:30
committed by pereiraroland26
parent f762b61a12
commit 53fc65ca7c
6 changed files with 590 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
import os
from typing import List, Dict
from typing import List, Dict, Any
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
WORKFLOW_DIR = os.path.join(ROOT_DIR, 'workflow')
@@ -9,6 +9,9 @@ file_types = [
('Video', ('*.mp4','*.mkv'))
]
souce_target_map = []
simple_map = []
source_path = None
target_path = None
output_path = None
@@ -17,6 +20,7 @@ keep_fps = None
keep_audio = None
keep_frames = None
many_faces = None
map_faces = None
color_correction = None # New global variable for color correction toggle
nsfw_filter = None
video_encoder = None