The tracker described in the previous section gives a list of AAM parameters corresponding to faces positions during a sequence. In order to model this list of parameters vectors, Johnson and Hogg [39] proposes an algorithm that cluster the set of vectors into prototype vectors. This algorithm has not been used yet in our framework, but it will be potentially used in order to compare the approach of Johnson and Hogg with our future approach.
The algorithm also known as vector quantization (VQ) [49] is an unsupervised learning mechanism closely related to the well known -mean algorithm. It is a classical method in signal processing. Each vector in the set can be approximated by one of the prototype vectors, usually referred to as codebook vectors.
Let be the epoch number and
the number of iterations. The algorithm is derived as follow :
The factor is a learning parameter and is often referred as cooling schedule. It tells the algorithm how vigorously it has to learn the current vector. If
is close to
, the vector is learned and all the previous vector are forgotten. As
decreases, the vector the learning of new vectors is weaker and weaker, but the prototypes encodes more and more history of the previously learned vectors.
This approach is a potential candidate for clustering a trajectory into vectors, but -means clustering can be chosen as wel.