Constructors
constructor
- new FaceExpressions(probabilities): FaceExpressions
Parameters
- probabilities: Float32Array | number[]
Properties
disgusted
disgusted: number = 0
fearful
fearful: number = 0
neutral
neutral: number = 0
surprised
surprised: number = 0
Methods
asSortedArray
- asSortedArray(): {
expression:
| "neutral"
| "happy"
| "sad"
| "angry"
| "fearful"
| "disgusted"
| "surprised";
probability: number;
}[] Returns {
expression:
| "neutral"
| "happy"
| "sad"
| "angry"
| "fearful"
| "disgusted"
| "surprised";
probability: number;
}[]