What is the data format read by the function cv2.imread? Working with tkinter and python
问题 Good day, I am quite new to Python programming and I was tasked to do my own GUI with image inside my GUI. I have been doing some good progress but i was stuck when I want to insert an image into my GUI from my webcam. However, I did manage to get an image from the webcam but it has to be a different window with the GUI window. In my GUI codes, it includes a simple code like this: (I use range i<25 because my webcam needs warming up) for i in range (25): _ , frame = cap.read() frame = cv2