Class FacialLandmarkDetector

Definition

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

Provides the ability to detect facial landmarks on image source using inference engine.

C#
Copy
public static class FacialLandmarkDetector : object
Inheritance
FacialLandmarkDetector

Methods

View Source

DetectAsync(MediaVisionSource, InferenceModelConfiguration)

Detects facial landmarks on the source image using inference engine set in config.

Declaration
C#
Copy
public static Task<IEnumerable<Point>> DetectAsync(MediaVisionSource source, InferenceModelConfiguration config)
Parameters
Type Name Description
MediaVisionSource source

The source of the media where faces will be detected.

InferenceModelConfiguration config

The engine's configuration that will be used for detecting.

Returns
Type Description
Task<IEnumerable<Point>>

A task that represents the asynchronous detect operation.
If there's no detected facial landmark, empty collection will be returned.

Remarks

To set region-of-interest area in source image, please set Roi. If not set, full image area will be used to detect facial landmark.

API Level: 6
Feature: http://tizen.org/feature/vision.inferencehttp://tizen.org/feature/vision.inference.face