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.
Implements
Inherited Members
Namespace: Anki.Vector.Objects
Assembly: Anki.Vector.dll
Syntax
public class Face : ObservableObject, INotifyPropertyChanged
Properties
| Improve this Doc View SourceExpression
Gets the facial expression Vector has recognized on the face.
public FacialExpression Expression { get; }
Property Type
FacialExpression |
ExpressionValues
Gets individual expression values histogram, sums to 100
public IReadOnlyList<uint> ExpressionValues { get; }
Property Type
IReadOnlyList<UInt32> |
FaceId
Gets the internal ID assigned to the face.
public int FaceId { get; }
Property Type
Int32 |
LeftEye
Gets points representing the outline of the left eye.
public IReadOnlyList<Point> LeftEye { get; }
Property Type
IReadOnlyList<Point> |
Mouth
Gets points representing the outline of the mouth
public IReadOnlyList<Point> Mouth { get; }
Property Type
IReadOnlyList<Point> |
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 |
Nose
Gets points representing the outline of the nose.
public IReadOnlyList<Point> Nose { get; }
Property Type
IReadOnlyList<Point> |
ObjectTypeName
Gets the name of the object type.
public override string ObjectTypeName { get; }
Property Type
String |
Overrides
| Improve this Doc View SourceRightEye
Gets points representing the outline of the right eye.
public IReadOnlyList<Point> RightEye { get; }
Property Type
IReadOnlyList<Point> |
Methods
| Improve this Doc View SourceToString()
Converts to string.
public override string ToString()
Returns
Type | Description |
---|---|
String | A String that represents this instance. |