Class PersonRecognizer

Definition

Namespace:
Tizen.Multimedia.Vision
Assembly:
Tizen.Multimedia.Vision.dll
API Level:
4
Feature:
http://tizen.org/feature/vision.face_recognitionhttp://tizen.org/feature/vision.image_recognition

Provides the ability to recognize person on image sources.

C#
Copy
public class PersonRecognizer : SurveillanceEngine, IDisposable
Inheritance
PersonRecognizer
Implements
System.IDisposable

Constructors

View Source

PersonRecognizer()

Initializes a new instance of the PersonRecognizer class.

Declaration
C#
Copy
public PersonRecognizer()
Exceptions
Type Condition
System.NotSupportedException

The required features are not supported.

API Level: 4

Methods

View Source

AddSource(SurveillanceSource, PersonRecognitionConfiguration)

Adds SurveillanceSource with the provided PersonRecognitionConfiguration.

Declaration
C#
Copy
public void AddSource(SurveillanceSource source, PersonRecognitionConfiguration config)
Parameters
Type Name Description
SurveillanceSource source

The source used for recognition.

PersonRecognitionConfiguration config

The config for the source.

Exceptions
Type Condition
ArgumentNullException

source is null.
-or-
config is null.

ObjectDisposedException

The PersonRecognizer has already been disposed of.
-or-
config has already been disposed of.

System.ArgumentException

FaceRecognitionModelPath of config does not exists.

UnauthorizedAccessException

No permission to access to the FaceRecognitionModelPath.

System.NotSupportedException

The model file is not supported format or file.

API Level: 4

Events

View Source

Recognized

Occurs when a person recognized.

Declaration
C#
Copy
public event EventHandler<PersonRecognizedEventArgs> Recognized
Event Type
Type Description
System.EventHandler<PersonRecognizedEventArgs>
Remarks

The event handler will be executed on an internal thread.

API Level: 4

Implements

System.IDisposable

See Also