Class: FaceTracker

FaceTracker()

Provides tracking results obtained by visage|SDK. To enable this module pass the appropriate license to the SDKProvider.

Constructor

new FaceTracker()

Source:

Classes

FaceTracker

Methods

Reset()

Resets the internal state of the face tracker.
Source:

StartAnalysis(FaceTrackerCallback)

Initiates face tracking. When a frame has been analyzed a call to the FaceTrackerCallback function is issued, with the analysis results passed as an argument.
Parameters:
Name Type Description
FaceTrackerCallback FaceTrackerCallback callback which will be called every time a new frame is analyzed
Source:
Example
StartAnalysis(faceData => {
	//look at data
	faceData.delete();
})

StopAnalysis()

Stops the face tracker and stops issuing calls to the callback given as an argument to the StartAnalysis function.
Source: