Minimum Windows Size

pull/746/head
KRSHH 2024-10-28 13:12:02 +05:30
parent 64c0f085b1
commit c2918a52df
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -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)