visageSDK
FaceData.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 
6 namespace VisageCSWrapper
7 {
205  public struct FaceData
206  {
210  FaceData();
211 
215  ~FaceData();
216 
217 
225 
226 
231  float FrameRate;
232 
233 
244  long TimeStamp;
245 
246 
273 
274 
295  float[] FaceRotation;
296 
297 
313 
314 
326  float[] GazeDirection;
327 
328 
350 
351 
359  float[] EyeClosure;
360 
361 
369  float[] IrisRadius;
370 
371 
381 
382 
396  float[] ShapeUnits;
397 
398 
410 
411 
424 
425 
439  float[] ActionUnits;
440 
441 
452 
453 
505 
506 
555 
556 
600 
601 
609 
610 
631 
632 
644 
645 
653 
654 
664 
665 
676 
687 
688 
693 
702 
710  float CameraFocus;
711 
712 
722 
723 
728  float GazeQuality;
729  }
730 }
731 
VSRect float CameraFocus
Focal distance of the camera, as configured in the tracker/detector configuration file...
Definition: FaceData.cs:701
ScreenSpaceGazeData GazeData
Structure holding screen space gaze position and quality for current frame.
Definition: FaceData.cs:721
float[] FaceRotation
Rotation of the head.
Definition: FaceData.cs:295
float[] ActionUnits
List of current values for facial Action Units, one value for each Action Unit.
Definition: FaceData.cs:439
float FrameRate
The frame rate of the tracker, in frames per second, measured over last 10 frames.
Definition: FaceData.cs:231
Screen Space Gaze Data is a container structure used to hold the gaze point location, current state of screen space gaze tracking system and gaze tracking estimation quality parameters for the current frame.
float[] FaceModelVerticesProjected
List of projected (image space) vertex coordinates of the 3D face model.
Definition: FaceData.cs:643
VSRect FaceBoundingBox
Face bounding box.
Definition: FaceData.cs:701
float[] IrisRadius
Iris radius values in px.
Definition: FaceData.cs:369
Feature points of a face.
Definition: FDP.cs:102
float[] ShapeUnits
List of current values for facial Shape Units, one value for each shape unit.
Definition: FaceData.cs:396
int[] ActionUnitsUsed
Used facial Action Units.
Definition: FaceData.cs:423
float[] FaceTranslation
Translation of the head from the camera.
Definition: FaceData.cs:272
float[] FaceModelVertices
List of vertex coordinates of the 3D face model.
Definition: FaceData.cs:630
int ShapeUnitCount
Number of facial Shape Units.
Definition: FaceData.cs:380
float[] EyeClosure
Discrete eye closure value.
Definition: FaceData.cs:359
FDP[] FeaturePoints3DRelative
Facial feature points (3D coordinates relative to the face origin, placed at the centre between eyes)...
Definition: FaceData.cs:554
FDP[] FeaturePoints2D
Facial feature points (2D coordinates).
Definition: FaceData.cs:599
int FaceScale
Scale of face bounding box expressed in pixels.
Definition: FaceData.cs:692
int[] FaceModelTriangles
Triangles list for the 3D face model.
Definition: FaceData.cs:663
float[] FaceModelTextureCoords
Texture coordinates for the 3D face model.
Definition: FaceData.cs:675
int FaceModelTriangleCount
Number of triangles in the 3D face model.
Definition: FaceData.cs:652
float[] FaceModelTextureCoordsStatic
Static texture coordinates of the mesh from the configuration file parameter mesh_fitting_model.
Definition: FaceData.cs:686
int ActionUnitCount
Number of facial Action Units.
Definition: FaceData.cs:409
FDP[] FeaturePoints3D
Facial feature points (global 3D coordinates).
Definition: FaceData.cs:504
~FaceData()
Destructor.
String[] ActionUnitsNames
List of facial Action Units names.
Definition: FaceData.cs:451
int FaceModelVertexCount
Number of vertices in the 3D face model.
Definition: FaceData.cs:608
float[] GazeDirection
Gaze direction.
Definition: FaceData.cs:326
FaceData()
Constructor.
Face data structure, used as container for all face tracking and detection results.
Definition: FaceData.cs:205
float[] GazeDirectionGlobal
Global gaze direction, taking into account both head pose and eye rotation.
Definition: FaceData.cs:349
float[] FaceRotationApparent
Rotation of the head from the camera viewpoint.
Definition: FaceData.cs:312
float GazeQuality
The session level gaze tracking quality in online mode.
Definition: FaceData.cs:728
float trackingQuality
Tracking quality level.
Definition: FaceData.cs:224
long TimeStamp
Timestamp of the current video frame.
Definition: FaceData.cs:244