Class FacialLandmarkDetector

    Definition

    Namespace:
    Tizen.Multimedia.Vision
    Assembly:
    Tizen.Multimedia.Vision.dll

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

    public static class FacialLandmarkDetector
    Inheritance
    object
    FacialLandmarkDetector

    Methods

    View Source

    DetectAsync(MediaVisionSource, InferenceModelConfiguration)

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

    Declaration
    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
    System.Threading.Tasks.Task<TResult><System.Collections.Generic.IEnumerable<T><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.

    Exceptions
    Type Condition
    System.ArgumentNullException

    source or config is null.

    System.InvalidOperationException

    Internal error.

    System.NotSupportedException

    The feature is not supported.

    System.UnauthorizedAccessException

    The caller has no required privilege.

    See Also
    InferenceModelConfiguration
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX