Hi
I have tried capturing images from usb webcam using VideoCapture module (http://videocapture.sourceforge.net/). After capture image, I would like to embed it into wxPython. I have tried wx static bitmab but I got flicker screen.
Are there any method to anti- fickler?
Thank
chatchai
Hi
I have tried capturing images from usb webcam using VideoCapture module (http://videocapture.sourceforge.net/). After capture image, I would like to embed it into wxPython. I have tried wx static bitmab but I got flicker screen.
Are there any method to anti- fickler?
Don't use a wx.StaticBitmap. Instead create a window class that has a handler for EVT_PAINT and draw the bitmaps yourself in that handler as you receive them. You'll probably also want to catch the EVT_ERASE_BACKGROUND event and do nothing in its handler.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!