I just wanted to integrate the opencv video stream from my web cam into a more complex gui than highgui can offer, nothing fancy just a couple of buttons and something else,
You must set the size of panel to show the captured image. I used your code and I added "
self.SetSize(width,height)
It's ok