Table of Contents

Class LineZone

Namespace
VisioForge.Core.AI.Analytics.Zones
Assembly
VisioForge.Core.AI.dll

Runtime line zone that evaluates directed tripwire crossings.

public sealed class LineZone

Inheritance

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

settings LineZoneSettings

Properties

InCount

Gets the cumulative count of VisioForge.Core.Types.X.AI.LineCrossingDirection.In crossings.

public int InCount { get; }

Property Value

int

OutCount

Gets the cumulative count of VisioForge.Core.Types.X.AI.LineCrossingDirection.Out crossings.

public int OutCount { get; }

Property Value

int

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

update ByteTrackerUpdate

Returns

LineCrossingResult[]