When a computer looks at a scene to match faces, it first has to find the faces themselves since it doesn't see the scene as individual objects the way we do. This process is called face detection and this is also used with a modern cell phone when a small square box is drawn around a face on the phone camera screen. Face detection is a mature area and it can be done extremely fast. The basic process is that a computer algorithm is trained in things that are faces and things that are not faces and it learns to distinguish between them.
Once faces are found, the computer turns them into templates - mathematical representations of the face itself. A template is typically much smaller than the original image - anywhere from 1KB to 20KB; it just contains the key information needed to match the face. Interestingly, the region that the computer looks at is much smaller than the region humans look at when recognizing faces. The main reason for this is that this center region doesn't change compared to things like hair and beards. Face matching is also accomplished in gray scale, so the color information is gone by the time the matching starts.
For high-security applications like access control, face matching is rarely used. It suffers from a high failure-to-acquire rate (the sensors don’t capture usable images) because of lighting and pose variations. And when a match is made, it is not as certain as a fingerprint or iris match primarily because of the "fuzziness" of the information used to match compared with those two modalities. Face matches are typically going to have a higher error rate than other modalities because of difficulties in the presentation.