Class FrameEmbeddingEventArgs
- Namespace
- VisioForge.Core.Types.Events
- Assembly
- VisioForge.Core.dll
Event data raised by the video embedding block for each sampled frame, carrying the frame's presentation timestamp and its L2-normalized CLIP embedding vector.
public class FrameEmbeddingEventArgs : EventArgsInheritance
Inherited Members
Constructors
FrameEmbeddingEventArgs(TimeSpan, float[])
Initializes a new instance of the VisioForge.Core.Types.Events.FrameEmbeddingEventArgs class.
public FrameEmbeddingEventArgs(TimeSpan timestamp, float[] embedding)Parameters
timestampTimeSpan-
The presentation timestamp of the sampled frame.
embeddingfloat[]-
The L2-normalized frame embedding vector.
Properties
Embedding
Gets the L2-normalized embedding vector for the frame. Its length equals the CLIP model output dimension.
public float[] Embedding { get; }Property Value
- float[]
Timestamp
Gets the presentation timestamp of the sampled frame.
public TimeSpan Timestamp { get; }