Table of Contents

Enum PTZTargetSelection

Namespace
VisioForge.Core.Types.X.AI
Assembly
VisioForge.Core.dll

Strategy used by the PTZ auto-tracking controller to pick which detected object to follow when more than one object is present in a frame.

public enum PTZTargetSelection

Fields

Largest = 0

Follow the object whose bounding box has the largest area. This is the default.

FirstDetected = 1

Follow the first object in the detection array (as produced by the detector/tracker).

ByTrackerId = 2

Follow only the object whose tracker identifier equals VisioForge.Core.Types.X.AI.PTZAutoTrackingSettings.ManualTrackerId.

ByClassLabel = 3

Follow the largest object whose label matches VisioForge.Core.Types.X.AI.PTZAutoTrackingSettings.ClassLabelFilter (case-insensitive).

Remarks

Selection only chooses a target when no object is currently being tracked. Once a target is locked, the controller stays sticky on its TrackerId until the target is lost for longer than VisioForge.Core.Types.X.AI.PTZAutoTrackingSettings.LostTargetTimeout, at which point it reacquires using this strategy again.