narupatools.frame.frame_producer

Loop which generates frame’s from a source at a constant rate.

Classes

FrameProducer(produce, *, fields, frame_interval)

Runnable loop that polls a frame source and produces frame at a regular interval.

OnFrameProducedCallback(*args, **kwargs)

Callback for when a new frame is produced.

ProduceFrameCallback(*args, **kwargs)

Protocol for a method that can provide a FrameData on demand.