Count

Counts the number of objects that are present within the scene or a specified region of the scene.

When you specify a region, Media Server counts an object when the center of the object is inside the region boundary.

Configuration Parameter Description
FreeformRegion The region of the scene in which to count objects.
Input The track to process.
OutputInterval Specifies how often to output a record with the results.
Region The region of the scene in which to count objects.
Type The engine to use. Set this parameter to Count.

Output Tracks

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.

Each record describes the number of objects currently in the scene or region (framecount), and the total number of objects that have been in the scene or region (cumulativecount). The region field contains position information for objects currently in the scene or region.