.NET SDK Documentation

    Show / Hide Table of Contents

    Class Face

    A single face that Vector has detected.

    May represent a face that has previously been enrolled, in which case name will hold the name that it was enrolled with.

    Each Face instance has a FaceId integer - This may change if Vector later gets an improved view and makes a different prediction about which face he is looking at.

    Inheritance
    Object
    RobotObject
    ObservableObject
    Face
    Implements
    INotifyPropertyChanged
    Inherited Members
    ObservableObject.IsVisible
    ObservableObject.LastImageRect
    ObservableObject.LastObservedTime
    ObservableObject.LastObservedTimestamp
    ObservableObject.Pose
    ObservableObject.LastEventTime
    RobotObject.PropertyChanged
    Namespace: Anki.Vector.Objects
    Assembly: Anki.Vector.dll
    Syntax
    public class Face : ObservableObject, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    Expression

    Gets the facial expression Vector has recognized on the face.

    public FacialExpression Expression { get; }
    Property Type
    FacialExpression
    | Improve this Doc View Source

    ExpressionValues

    Gets individual expression values histogram, sums to 100

    public IReadOnlyList<uint> ExpressionValues { get; }
    Property Type
    IReadOnlyList<UInt32>
    | Improve this Doc View Source

    FaceId

    Gets the internal ID assigned to the face.

    public int FaceId { get; }
    Property Type
    Int32
    | Improve this Doc View Source

    LeftEye

    Gets points representing the outline of the left eye.

    public IReadOnlyList<Point> LeftEye { get; }
    Property Type
    IReadOnlyList<Point>
    | Improve this Doc View Source

    Mouth

    Gets points representing the outline of the mouth

    public IReadOnlyList<Point> Mouth { get; }
    Property Type
    IReadOnlyList<Point>
    | Improve this Doc View Source

    Name

    Gets the name Vector has associated with the face. Empty if face is not recognized or enrolled

    public string Name { get; }
    Property Type
    String
    | Improve this Doc View Source

    Nose

    Gets points representing the outline of the nose.

    public IReadOnlyList<Point> Nose { get; }
    Property Type
    IReadOnlyList<Point>
    | Improve this Doc View Source

    ObjectTypeName

    Gets the name of the object type.

    public override string ObjectTypeName { get; }
    Property Type
    String
    Overrides
    ObservableObject.ObjectTypeName
    | Improve this Doc View Source

    RightEye

    Gets points representing the outline of the right eye.

    public IReadOnlyList<Point> RightEye { get; }
    Property Type
    IReadOnlyList<Point>

    Methods

    | Improve this Doc View Source

    ToString()

    Converts to string.

    public override string ToString()
    Returns
    Type Description
    String

    A String that represents this instance.

    Overrides
    Object.ToString()

    Implements

    System.ComponentModel.INotifyPropertyChanged

    See Also

    ObservableObject
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Expression
      • ExpressionValues
      • FaceId
      • LeftEye
      • Mouth
      • Name
      • Nose
      • ObjectTypeName
      • RightEye
    • Methods
      • ToString()
    • Implements
    • See Also
    Back to top Copyright (c) 2019 by Wayne Venables