FPS Counter

This commit is contained in:
KRSHH
2024-10-14 19:46:48 +05:30
parent b58ffffd37
commit 37f224cb47
2 changed files with 64 additions and 27 deletions
+6 -5
View File
@@ -2,11 +2,11 @@ import os
from typing import List, Dict, Any
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
WORKFLOW_DIR = os.path.join(ROOT_DIR, 'workflow')
WORKFLOW_DIR = os.path.join(ROOT_DIR, "workflow")
file_types = [
('Image', ('*.png','*.jpg','*.jpeg','*.gif','*.bmp')),
('Video', ('*.mp4','*.mkv'))
("Image", ("*.png", "*.jpg", "*.jpeg", "*.gif", "*.bmp")),
("Video", ("*.mp4", "*.mkv")),
]
souce_target_map = []
@@ -31,8 +31,9 @@ max_memory = None
execution_providers: List[str] = []
execution_threads = None
headless = None
log_level = 'error'
log_level = "error"
fp_ui: Dict[str, bool] = {}
camera_input_combobox = None
webcam_preview_running = False
opacity = 100
opacity = 100
show_fps = False