Table of Contents

Class FaceRecognitionResult

Namespace
VisioForge.Core.Types.VideoProcessing
Assembly
VisioForge.Core.dll

A single recognized face: the matched identity (if any), the detection geometry, the five facial landmarks, and the L2-normalized face embedding. Coordinates are in source-frame pixels.

public class FaceRecognitionResult

Inheritance

Inherited Members

Properties

BoundingBox

Gets or sets the axis-aligned bounding box enclosing the face, in source-frame pixels.

public Rect BoundingBox { get; set; }

Property Value

Rect

DetectionScore

Gets or sets the face detection score in the 0..1 range.

public float DetectionScore { get; set; }

Property Value

float

Embedding

Gets or sets the L2-normalized face embedding vector. Its length depends on the embedding model (for example 128 for SFace, 512 for ArcFace).

public float[] Embedding { get; set; }

Property Value

float[]

Identity

Gets or sets the matched identity name, or null when the face did not match any gallery entry above the configured threshold (an unknown face).

public string Identity { get; set; }

Property Value

string

Landmarks

Gets or sets the five facial landmarks (right eye, left eye, nose, right mouth corner, left mouth corner), in source-frame pixels.

public OcrPoint[] Landmarks { get; set; }

Property Value

OcrPoint[]

Polygon

Gets or sets the bounding-box corner vertices (top-left, top-right, bottom-right, bottom-left), in source-frame pixels.

public OcrPoint[] Polygon { get; set; }

Property Value

OcrPoint[]

Similarity

Gets or sets the cosine similarity (typically 0..1) of the best gallery match. Zero when unknown or when no gallery was configured.

public float Similarity { get; set; }

Property Value

float

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.