mirror of
https://github.com/lightbatis/DeepLiveCam.git
synced 2024-11-15 05:05:17 +00:00
30 lines
673 B
Python
30 lines
673 B
Python
import os
|
|
from typing import List, Dict
|
|
|
|
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
WORKFLOW_DIR = os.path.join(ROOT_DIR, 'workflow')
|
|
|
|
file_types = [
|
|
('Image', ('*.png','*.jpg','*.jpeg','*.gif','*.bmp')),
|
|
('Video', ('*.mp4','*.mkv'))
|
|
]
|
|
|
|
source_path = None
|
|
target_path = None
|
|
output_path = None
|
|
frame_processors: List[str] = []
|
|
keep_fps = None
|
|
keep_audio = None
|
|
keep_frames = None
|
|
many_faces = None
|
|
video_encoder = None
|
|
video_quality = None
|
|
max_memory = None
|
|
execution_providers: List[str] = []
|
|
execution_threads = None
|
|
headless = None
|
|
log_level = 'error'
|
|
fp_ui: Dict[str, bool] = {}
|
|
nsfw = None
|
|
camera_input_combobox = None
|
|
webcam_preview_running = False |