template tracking of face functional