Question: Eigenfaces As we have broken down temperature data in the previous section, we can use a similar approach to face detection by introducing a concept

Eigenfaces
As we have broken down temperature data in the previous section, we can use a similar approach to face detection by introducing a concept called eigenfaces. We will be using AT&T Laboratories Cambridge's (previously known as Olivetti Research Laboratory) "Database of Faces" in this section. This is a set of grayscaled face images, each normalized to the same resolution and each face taking up the same relative amount of area in each image.
import eigenfaces
(face_shape, faces)= eigenfaces.load_face_dataset()
num_faces = len(faces)
print(f'Loaded {num_faces} faces.')
Loaded 400 faces.
Note that each image has the shape defined in face_shape

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!