Fix parking points annotator for macOS (#17797)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
54d845baea
commit
59aceffd05
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class ParkingPtsSelection:
|
|||
"""Uploads and displays an image on the canvas, resizing it to fit within specified dimensions."""
|
||||
from PIL import Image, ImageTk # scope because ImageTk requires tkinter package
|
||||
|
||||
self.image = Image.open(self.filedialog.askopenfilename(filetypes=[("Image Files", "*.png;*.jpg;*.jpeg")]))
|
||||
self.image = Image.open(self.filedialog.askopenfilename(filetypes=[("Image Files", "*.png *.jpg *.jpeg")]))
|
||||
if not self.image:
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue