# Eigenfaces, for Facial Recognition

DevFeed: [Eigenfaces, for Facial Recognition](<https://devfeed.tech/articles/eigenfaces-for-facial-recognition-40232.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2011/07/27/eigenfaces/>)

Published: 2011-07-27T18:41:01Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Facial recognition](<https://devfeed.tech/topics/facial-recognition.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [covariance](<https://devfeed.tech/tags/covariance.md>), [eigenfaces](<https://devfeed.tech/tags/eigenfaces.md>), [facial-recognition](<https://devfeed.tech/tags/facial-recognition.md>), [images](<https://devfeed.tech/tags/images.md>), [inner-product](<https://devfeed.tech/tags/inner-product.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [pixel](<https://devfeed.tech/tags/pixel.md>), [programming](<https://devfeed.tech/tags/programming.md>), [vector](<https://devfeed.tech/tags/vector.md>)

## AI overview

This tutorial introduces eigenfaces for facial recognition. It outlines collecting sample face images, training a recognition algorithm, and classifying new images, then explains how grayscale images can be represented as matrices and vectors in a high-dimensional face space.

## Source excerpt

This post assumes familiarity with the terminology and notation of linear algebra, particularly inner product spaces. Fortunately, we have both a beginner's primer on linear algebra and a follow-up primer on inner products. The Quest We are on a quest to write a program which recognizes images of faces. The general algorithm should be as follows. Get a bunch of sample images of people we want to recognize. Train our recognition algorithm on those samples.