mirror of
https://github.com/hacksider/Deep-Live-Cam.git
synced 2026-06-07 13:03:53 +02:00
Minimum Windows Size
This commit is contained in:
@@ -481,7 +481,7 @@ def draw_mouth_mask_visualization(
|
||||
# Add labels
|
||||
cv2.putText(
|
||||
vis_frame,
|
||||
"Lower Mouth Mask",
|
||||
"Mouth Mask",
|
||||
(min_x, min_y - 10),
|
||||
cv2.FONT_HERSHEY_SIMPLEX,
|
||||
0.5,
|
||||
|
||||
@@ -277,6 +277,7 @@ def create_root(
|
||||
root.protocol("WM_DELETE_WINDOW", lambda: destroy())
|
||||
root.resizable(True, True)
|
||||
root.attributes("-alpha", 1.0)
|
||||
root.minsize(650, 870)
|
||||
|
||||
main_frame = ctk.CTkFrame(root, fg_color="#1a1a1a")
|
||||
main_frame.pack(fill="both", expand=True, padx=20, pady=20)
|
||||
|
||||
Reference in New Issue
Block a user