From 30aee32aa12b52d46e663488d1d0124bfb73f527 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Fri, 28 May 2021 15:54:00 -0400 Subject: [PATCH] added experimental face.rotation.gaze --- Outputs.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Outputs.md b/Outputs.md index 00c7240..8dea633 100644 --- a/Outputs.md +++ b/Outputs.md @@ -40,6 +40,12 @@ result = { 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 + gaze: + { + angle, // direction of gaze in radians + // in range of right=0*pi up=1*pi/2 left=1*pi down=3*pi/2 which is 0 to 360 degrees + strength, // strength of a gaze at a direction of angle + }, } tensor: // if config.face.detector.return is set to true, detector will return // a raw tensor containing cropped image of a face