update rotation notes

master
Vladimir Mandic 2021-03-28 08:40:10 -04:00
parent 11e68676b2
commit aae30ba390
1 changed files with 9 additions and 6 deletions

@ -22,12 +22,15 @@ result = {
age, // <number> estimated age
gender, // <string> 'male', 'female'
embedding, // <array>[float] vector of 192 values used for face similarity compare
angle: // 3d face rotation values in radians in range of -pi/2 to pi/2 which is -90 to +90 degrees
{
roll, // roll is face lean left/right, value of 0 means center
yaw, // yaw is face turn left/right, value of 0 means center
pitch, // pitch is face move up/down, value of 0 means center
}
rotation: {
angle: // 3d face rotation values in radians in range of -pi/2 to pi/2 which is -90 to +90 degrees
{
roll, // roll is face lean left/right, value of 0 means center
yaw, // yaw is face turn left/right, value of 0 means center
pitch, // pitch is face move up/down, value of 0 means center
}
matrix: [] // flat array of [3,3] that can be directly used for GL matrix rotations such as in Three.js
}
emotion: // <array of emotions> returns multiple possible emotions for a given face, each with probability
[
{