components.qt.qtdisplay
- class QtDisplay(**config)[source]
Bases:
Transformer,objectDisplay images in a Qt window.
This is a “pass through” component that can be inserted anywhere in a pipeline to display the images at that point.
The displayed image can be enlarged or reduced in size by setting the
expandandshrinkconfig values. The size changing is done within OpenGL.The
framerateconfig item sets a target rate (default value 25 fps). If the incoming video cannot keep up then frames will be repeated. Otherwise the entire processing pipeline is slowed down to supply images at the correct rate.Config
titlestr
Window title.
expandint
Image up-conversion factor.
shrinkint
Image down-conversion factor.
framerateint
Target frame rate.
repeatbool
Repeat frames until next one arrives.
syncbool
Synchronise to video card frame rate.
statsbool
Show actual frame rate statistics.
- event_loop
alias of
QtEventLoop
Comments or questions? Please email jim@jim-easterbrook.me.uk.