mirror of https://github.com/vladmandic/human
added experimental face.rotation.gaze
parent
e7c276c0f5
commit
30aee32aa1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue