facetracker.FaceTracker

class facetracker.FaceTracker

Bases: object

FaceTracker objects

Attributes

age Age of tracking in frame: -1 no tracking.
clamp [0-4] 1 gives a very loose fit, 4 gives a very tight fit
current_view Current view in frame
frame_skip How often to skip frames.
iterations Number of iterations.
tolerance Matching tolerance.
age

Age of tracking in frame: -1 no tracking.

clamp

[0-4] 1 gives a very loose fit, 4 gives a very tight fit

current_view

Current view in frame

draw()

Draw the face on the image.

frame_skip

How often to skip frames.

get2DShape()

Get the 2D shape and visibility of the face.

get3DShape()

Get the 3D point cloud of the face features.

getOrientation()

Get the orientation of the face.

getPosition()

Get the position of the face.

getScale()

Get the scale of the face.

iterations

Number of iterations. Should be a number in the range: 1-25, 1 is fast and inaccurate, 25 is slow and accurate

load()

Load a new model.

resetFrame()

Force the tracker to reset tracking.

setWindowSizes()

Set the sizes of windows in which to search for the face. Should be an array like object of integers.

tolerance

Matching tolerance. Should be a double in the range: .01-1.

update()

Run the tracking algorithm on an image.

Previous topic

facetracker.LoadTri

Next topic

facetracker.LoadCon

This Page