Skip to content

jemmec/metaface-utilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metaface Utilities

A small Unity packaged for more-easily utilizing the face tracking and eye gaze systems within the Meta Quest Pro headset.

This package assumses you have the Meta Movement package installed: https://github.com/oculus-samples/Unity-Movement.git

Package Contents

EmotionHelper

Under development

Helper class for easily implementing controls using user emotions.

EyeGazeHelper

Under development

BlinkHelper

Requirements:

  • Facial Tracking Support

Helper class for blinking events.

Blink Parameters

BlinkParameters are list of face expressions (OVRFaceExpression.FaceExpressions) and threshold objects that define what is considered to be a blink. By default the BlinkParameters are set to Left eye closed and Right eye closed both with a default threshold of 0.5. A combination of different FaceExpressions and threshold values can be used to complicate what the system deems to be a blink.

Events

OnBlink Event

Invoked when the uses successfully performs a 'blink' under the constraints of the maxEyesClosedTime and blinkParameters. Passes a BlinkEventArgs object that currently only contains a EyesClosedTime property.

OnEyeClosed Event

Invoked when the user closes their eyes under the constraints of the blinkParameters.

OnEyeOpen Event

Invoked when the user opens their eyes under the constraints of the blinkParameters.

Blink Calibration

Not implemented

Debugging Interfaces

This pacakge comes with a handful of debugging interfaces that can be used to quickly debug or test the aforementioned helper utilities.

@/Prefabs/BlinkDebugger

BlinkLogs

@/Prefabs/FaceExpressionDebugger

com DefaultCompany opartmr-20230308-173221

@/Prefabs/EyeGazeDebugger

com DefaultCompany opartmr-20230308-173159