Research Article
More Adaptive and Updatable: An Online Sparse Learning Method for Face Recognition
Algorithm 2
Gallery set update strategy.
ā | Initialization: | (1) | Obtain gallery set , testing set , and its label . | (2) | Set the initial value for (the maximal number of the pictures of each person in the gallery set). | ā | Update gallery set: | (3) | In gallery set , find the class that the testing sample belongs to using . | (4) | Obtain the number of the pictures in this class and suppose it is . | (5) | If , remove the picture in the second place from the class and put in the last place. If , put in the last place directly. |
|