Data cleaning: crop out individual 50 by 50 image of each face, and then turn them into grayscale.
Usage: user select one of the faces, and it will be turned into a collage of all input faces.
- compute the average brightness of each input face
- replace each pixel of the selected face by one of the input faces that has the most similar brightness
Source code: download