Table of Contents

Class OcrTextDetectedEventArgs

Namespace
VisioForge.Core.Types.Events
Assembly
VisioForge.Core.dll

Provides data for events that report text recognized in a video frame by the OCR block.

public class OcrTextDetectedEventArgs : EventArgs

Inheritance

Inherited Members

Remarks

Raised for each processed frame that contains at least one recognized text region. The event is raised on the pipeline's frame-processing thread, so handlers must be thread-safe and marshal to the UI thread when needed.

Constructors

OcrTextDetectedEventArgs(OcrTextRegion[], TimeSpan)

Initializes a new instance of the VisioForge.Core.Types.Events.OcrTextDetectedEventArgs class.

public OcrTextDetectedEventArgs(OcrTextRegion[] regions, TimeSpan timestamp)

Parameters

regions OcrTextRegion[]

The recognized text regions.

timestamp TimeSpan

The timestamp of the source frame.

Properties

Regions

Gets the recognized text regions for the current frame.

public OcrTextRegion[] Regions { get; }

Property Value

OcrTextRegion[]

Timestamp

Gets the timestamp of the video frame the regions belong to.

public TimeSpan Timestamp { get; }

Property Value

TimeSpan