Miscs
This commit is contained in:
@@ -157,6 +157,14 @@ class ImageViewer:
|
||||
self.root = root
|
||||
self.root.resizable(False, False) # If you resize, coordinates will be wrong
|
||||
|
||||
screen_w = root.winfo_screenwidth()
|
||||
screen_h = root.winfo_screenheight()
|
||||
|
||||
x = int(screen_w * 0.1)
|
||||
y = int(screen_h * 0.05)
|
||||
|
||||
root.geometry(f"+{x}+{y}")
|
||||
|
||||
self.base_dir = base_dir
|
||||
self.root.title("Bounding Box Viewer")
|
||||
self.label = tk.Label(root, text="Waiting for images...")
|
||||
|
||||
Reference in New Issue
Block a user