Overview | ALRedBallTracker API | ALFaceTracker API | Trackers Sample
As any module, this module inherits methods from ALModule API. It also has the following specific methods:
Returns the [x, y, z] position of the face in FRAME_TORSO. This is done assuming an average face size, so it might not be very accurate. This invalidates the isNewData field of the tracker. See ALFaceTrackerProxy::isNewData() for more details.
Returns: | An Array containing the face position [x, y, z]. |
---|
Return true if the face Tracker is running.
Returns: | true if the face Tracker is running. |
---|
Return true if a new face was detected since the last getPosition().
Returns: | true if a new face was detected since the last getPosition(). |
---|
if true, the tracking will be through a Whole Body Process.
Parameters: |
|
---|
Start the tracker by Subscribing to Event FaceDetected from ALFaceDetection module. Then Wait Event FaceDetected from ALFaceDetection module. And finally send information to motion for head tracking. Note: Stiffness of Head must be set to 1.0 to move!