I was trying to build a small application in python, that has a Tkinter GUI and a seperate video feed from Simple Cv. I've written a bigger code, but for testing I've written a small snippet here. What this basically does is, creates an instance of the Tkinter window and creates an instance of the camera and displays the feed.
But on execution the feed freezes but the Tkinter windows works well.. Any suggestions?? I've tried adding a while loop, but my PC freezes.
from Tkinter import*
import ttk
from SimpleCV import*
root = Tk()
cam1 = Camera()
vid = cam1.getImage()
vid.show()
#W = Canvas(root, width = 500, height = 500).pack()
root.geometry('1000x1000')
root.mainloop()