Rapidly Displaying Images from Raspberry Pi Camera onto tkinter Canvas
<p>I am currently trying to create a "stream" from the Raspberry Pi camera and display it onto a tkinter canvas. To do so, I am currently capturing an image, saving the image, loading the image into tkinter, and displaying the image onto the canvas. Is there any way to do this without the saving and loading portion? Note: I have to use the canvas because I am using its geometry drawing features to draw circles and lines on top of the loaded image. Here is my current code:</p>

<pre><code>camera.capture(self.liveStreamName, resize = (485,485))
self.C.delete(self.canvasImage)
self.DisplayImg = tkinter.PhotoImage(file = self.liveStreamName)
self.C.create_image(242.5,242.5,image = self.DisplayImg)
</code></pre>

<p>Any ideas?</p>