The wxvideo package allows display of numpy arrays into wxPython OpenGL contexts. In particular, it defines a class DynamicImageCanvas, which is a subclass of wx.glcanvas.GLCanvas into which arrays are blitted.
See also motmot.wxglvideo.simple_overlay for hardware accelarated video display in a manner compatible with this module.
Display uncompressed video images
This class supports the display of multiple, side-by-side images. Each of these images is from a single source (a camera, for example), so multiple views can be displayed with one DynamicImageCanvas instance. Each source has an identity string id_val which is used when updating that view’s image.
Simple overlay drawings are also possible. Points and lines may be drawn on top of the displayed images.
blit bitmap to drawing context
Optional keyword Arguments
update the view transformation to include a left-right image flip for all images
Arguments val : boolean
Whether to flip the image
update the view transformation to include a 180 degree rotation for all images
update the displayed image
Optional keyword arguments