Heatmap

The heatmap engine creates an image that shows the paths of objects through the scene and identifies areas with the most activity. As objects move through the same part of the scene, their paths overlap and the heatmap turns from blue, to green, and then to red.

If you set the parameter BlobWeight, the engine draws circles ("blobs") to represent objects that remain stationary for longer than MinimumStationaryTime. If you also set MaxBlobRadius, the circles expand in size to represent the amount of time that an object has been stationary. (Imagine drawing the path of an object with a pen. If the pen stops moving, the ink bleeds into the paper in an expanding circle.)

Configuration Parameter Description
BlobWeight The weight of a stationary object on the heatmap.
HalfLife The half-life for the paths and blobs on the heatmap.
InitialBlobRadius The initial radius of a circle that represents a stationary object.
Input0 A track that contains the positions of objects to plot on the heatmap.
Input1 A track that contains the background image to use for the heatmap.
LineThickness The width of a path on the heatmap.
MaxBlobRadius The maximum radius of a circle that represents a stationary object.
MaximumStationaryTime The maximum amount of time that you expect an object to remain stationary.
MinimumStationaryTime The amount of time that an object must remain stationary before Media Server draws a "blob" on the heatmap.
OutputInterval Specifies how often to output a heatmap image.
SaturationNumber The maximum number of overlapping paths.
Type The engine to use. Set this parameter to Heatmap.

This engine produces a single output track, named TaskName.Output. Records are added to the track at regular intervals, as specified by the OutputInterval parameter. To write the heatmap images to disk, route this track into an image encoder.