Numpy를 사용해서 신호등 색 구별하기 import tkinter as tk from tkinter import filedialog from PIL import Image, ImageTk import numpy as np def open_image(): file_path = filedialog.askopenfilename() if file_path: image = Image.open(file_path) photo = ImageTk.PhotoImage(image) label.config(image=photo) label.image = photo # keep a reference to the image # Convert the image to a numpy array image_array = np.arra..