Class LineZone
- Namespace
- VisioForge.Core.AI.Analytics.Zones
- Assembly
- VisioForge.Core.AI.dll
Runtime line zone that evaluates directed tripwire crossings.
public sealed class LineZoneInheritance
Inherited Members
Remarks
This class is not thread-safe. Call VisioForge.Core.AI.Analytics.Zones.LineZone.Update(VisioForge.Core.Types.VideoProcessing.ByteTrackerUpdate) serially.
Constructors
LineZone(LineZoneSettings)
Initializes a new instance of the VisioForge.Core.AI.Analytics.Zones.LineZone class.
public LineZone(LineZoneSettings settings)Parameters
settingsLineZoneSettings
Properties
InCount
Gets the cumulative count of VisioForge.Core.Types.X.AI.LineCrossingDirection.In crossings.
public int InCount { get; }Property Value
OutCount
Gets the cumulative count of VisioForge.Core.Types.X.AI.LineCrossingDirection.Out crossings.
public int OutCount { get; }Property Value
Settings
Gets the line zone settings.
public LineZoneSettings Settings { get; }Property Value
- LineZoneSettings
Methods
Reset()
Resets all crossing counters and track states.
public void Reset()Update(ByteTrackerUpdate)
Evaluates crossings for the current tracker update.
public LineCrossingResult[] Update(ByteTrackerUpdate update)Parameters
updateByteTrackerUpdate
Returns
- LineCrossingResult[]