mirror of https://github.com/vladmandic/human
update rotation notes
parent
11e68676b2
commit
aae30ba390
15
Outputs.md
15
Outputs.md
|
@ -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
|
||||
[
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue