Class DeepLearningFaceRecognizer

Definition

Namespace:
Tizen.Multimedia.Vision
Assembly:
Tizen.Multimedia.Vision.dll
API Level:
10

Provides the ability to recognize face based on previously registered face data.

C#
Copy
public class DeepLearningFaceRecognizer : IDisposable
Inheritance
DeepLearningFaceRecognizer

Constructors

View Source

DeepLearningFaceRecognizer()

Initializes a new instance of the DeepLearningFaceRecognizer class.

Declaration
C#
Copy
public DeepLearningFaceRecognizer()
Remarks

This class is different from FaceRecognizer in aspect of using internal machine learning algorithm.

API Level: 10
Feature: http://tizen.org/feature/vision.face_recognition

Methods

View Source

Dispose()

Releases all resources used by the DeepLearningFaceRecognizer.

Declaration
C#
Copy
public void Dispose()
API Level: 10
View Source

Dispose(Boolean)

Releases the unmanaged resources used by the DeepLearningFaceRecognizer.

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing

true to release both managed and unmanaged resources; false to release only unmanaged resources.

API Level: 10
View Source

Finalize()

Finalizes an instance of the DeepLearningFaceRecognizer class.

Declaration
C#
Copy
protected void Finalize()
View Source

Recognize(MediaVisionSource)

Recognizes a face in by finding the closest match among the registered faces and returns the label of the found face.

Declaration
C#
Copy
public DeepLearningFaceRecognitionResult Recognize(MediaVisionSource source)
Parameters
Type Name Description
MediaVisionSource source

The face data to recognize.

Returns
Type Description
DeepLearningFaceRecognitionResult

A label of recognized face.

Remarks

If there's no recognized face, Label will be .

API Level: 10
View Source

RegisterFace(MediaVisionSource, String)

Registers face data to internal database.

Declaration
C#
Copy
public void RegisterFace(MediaVisionSource source, string label)
Parameters
Type Name Description
MediaVisionSource source

The face data to register.

String label

The name of face data.

API Level: 10
View Source

UnregisterFace(String)

Unregisters face data from internal database.

Declaration
C#
Copy
public void UnregisterFace(string label)
Parameters
Type Name Description
String label

The name of face data.

API Level: 10

Extension Methods