Face Averaging Made Simple
Face averaging, also called face blending, is a popular method of combining a group of faces to create a single image. When we blend together a set of faces from a time, place, or a group, interesting patterns may emerge that spark conversation.
There are software tools designed specifically for this purpose (e.g., faceresearch.org), but it turns out, it is very easy to create your own face averages. All you will need is:
- A collection of faces
- Photoshop, Sketch, GIMP Image Editor, Acorn… any image editing software that allows you create multiple layers and adjust their opacity.
- An eye for detail
Prepping your images
The more images you have, the better! Just like a survey, having more people involved will give you a more accurate outcome. Outliers will be muted by the averaging effect of the others in your group. Your finished product will look best if all the faces have the same pose and orientation. In my photos above, all the faces are straight-on looking directly into the camera.
Your first step is to bring all the faces into the graphic software of your choice. One by one, you will modify each image’s size, nudge their position, and rotate them to match up the eyes. This is a little bit painstaking, but it gives you a final output with much stronger fidelity. Avoid doing this, and you may get a blurry finished product. Two methods to try:
Guidelines. Use guidelines to align the eyes, mouth, and the vertical center of the face.
Using a face as a guide. Select a face that’s the perfect example of what you want, place it at the top of your stack, dim the opacity, and lock it in place. Adjust all the images in your stack to match this top image.
By the time you’re done, you’ll be able to flip through your layers and see the eyes are all in the same position.
Blend Images by Dropping the Opacity
This part is really more of an art than empiricism. Select all the image layers, and reduce their opacity together. Start very low — 3% to 6% — but work up and down the opacity scale until you believe you have your strongest image.
The images in the foreground have the advantage. Make the opacity too high, and your “average” will actually skew to favor the faces in the foreground while blocking out those in the back.
Reshuffle to ensure even blending. In order to test if you have evenly blended layers together, re-sort the layer order randomly. Does your output image change? If the output face changes significantly, consider dropping opacity even further. Optimally, the output should not change very much no matter how you shuffle the images. This is a sign of an even averaging of faces.
Final Thoughts
- Use a collection of face images that match each other as much as possible.
- Take the time to adjust all the faces so the eyes match up. You can skip this step, but your output will be blurrier and less impressive.
- Ensure an even blending of faces by using a sufficiently low opacity and shuffling images into a random order.
Extra: FramerJS Face Blending Prototype
I tested some of my theories here by creating a prototype in FramerJS that allowed me to randomly sort the order of my images much more quickly than any graphic design software. Here’s a link to my face blending prototype. Note: this prototype runs a looping animation of sixty faces and may take a while to load!