diff --git a/Outputs.md b/Outputs.md index 8131b0c..db9bfa1 100644 --- a/Outputs.md +++ b/Outputs.md @@ -22,12 +22,15 @@ result = { age, // estimated age gender, // 'male', 'female' embedding, // [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: // returns multiple possible emotions for a given face, each with probability [ {