dabble.fps
Description
Calculates the FPS of video.
- class Node(config=None, **kwargs)[source]
Calculates the FPS of the image frame.
This node calculates instantaneous FPS and a 10 frame moving average FPS. A preferred output setting can be set via the configuration file.
- Inputs
pipeline_end
(bool
): A boolean that evaluates toTrue
when the pipeline is completed. Suitable for operations that require the entire inference pipeline to be completed before running.- Outputs
fps
(float
): A float representing the Frames Per Second (FPS) when processing a live video stream or a recorded video.- Configs
fps_log_display (
bool
) – default = True.
Enables logging of 10 frame moving average FPS during execution of PeekingDuck.fps_log_freq (
int
) – default = 100.
Frequency of logging moving average FPS for every n frames.dampen_fps (
bool
) – default = True.
IfTrue
, returns moving average FPS. IfFalse
, returns instantaneous FPS .