Table of Contents

Class FaceRecognitionDB

Namespace
VisioForge.Core.FaceAI
Assembly
VisioForge.Core.FaceAI.dll

Represents a database for storing known VisioForge.Core.FaceAI.Person objects for face recognition.

[Serializable]
public class FaceRecognitionDB

Inheritance

Inherited Members

Remarks

This class provides methods to serialize and deserialize the list of known persons to and from a file.

Properties

Persons

Gets or sets the list of persons stored in the database.

public List<Person> Persons { get; set; }

Property Value

List<Person>

Methods

Load(string)

Loads a VisioForge.Core.FaceAI.FaceRecognitionDB from a file.

public static FaceRecognitionDB Load(string filename)

Parameters

filename string

The path to the file to load.

Returns

FaceRecognitionDB

A VisioForge.Core.FaceAI.FaceRecognitionDB object containing the loaded data.

Exceptions

Exception

Thrown if the application is not running in x64 mode.

Save(string)

Saves the current database to a file.

public void Save(string filename)

Parameters

filename string

The path to the file where the database will be saved.