Module: ClmGaze

Constructor for the ClmGaze Object which tracks head and eye positions using the clmtracker.js library
Source:

Members

name

name of the class
Source:

Methods

getEyePatches(imageCanvas, width, height) → {Object}

Isolates the two patches that correspond to the user's eyes
Parameters:
Name Type Description
imageCanvas Canvas canvas corresponding to the webcam stream
width number of imageCanvas
height number of imageCanvas
Source:
Returns:
the two eye-patches, first left, then right eye
Type
Object