How Far Can You Trust Facial Expression Analysis? 47 Image-Quality and Covered-Face Tests
We fed one clearly smiling face into the photo expression analyzer after lowering its quality, tilting it and covering it with a mask or sunglasses. Here is where it held on to "happy", and where it got the answer wrong with a confident-looking 99.8%.
Last updated: 2026-11-30
Why we tested
The photo expression analyzer gives each face a percentage for seven expressions: happy, sad, angry, surprised, fearful, disgusted and neutral. But how much does "happy 100%" really mean? What happens when the photo is blurry or part of the face is covered? The explanation in What does facial-expression AI actually look at? can't fully answer that, so we changed one condition at a time on the same photo and measured.
Method
- Photo: one front-facing, broadly smiling portrait (a public sample image bundled with the scikit-image library, 512 × 512 pixels, face about 93 pixels wide). Any person would call this expression happy.
- 39 quality variants: resolution, brightness, contrast, tilt, mirroring, JPEG compression, blur, grayscale, noise, cropping and margins
- 8 covered variants: on an enlarged crop of the face (about 280 pixels wide) we drew a face mask, a hand over the mouth (a skin-colored oval), a bar over the eyes, sunglasses and a cover over the forehead, and also kept only the upper part, only the lower part or only the left half of the face.
- Analysis: the same face and expression models as this site, run in both Fast and Accurate mode
Result 1: a clear expression survives poor image quality
Of the 39 quality variants, a face was found in 37 in Fast mode and 37 in Accurate mode, and all but one came out "happy 100%" (rounded). That held when brightness was cut to 40%, JPEG quality dropped to 8, the photo turned grayscale or the head tilted by 20°.
The exception was the photo shrunk to 64 × 64, leaving a face only about 12 pixels wide. Fast mode read it as happy 72.9% and neutral 20.2%, the first time another expression crept in. Accurate mode could not find a face in that photo at all.
Running the same photo in the same mode several times gave identical numbers every time. If your result changed, the photo or the mode changed.
Result 2: what covering the face does
The covered-face tests were a different story. These are the Accurate mode results:
- Forehead covered: happy 100%
- Bar over the eyes: happy 100%
- Sunglasses: happy 100%
- Only the lower face (below the nose) kept: happy 100%
- Only the left half kept: happy 98.3%
- Hand over the mouth: happy 100%
- Face mask: surprised 99.8%
- Only the upper face (above the nose) kept: surprised 88.4%
With the eyes or forehead covered, the smile was still read correctly as long as the mouth was visible. Once the mouth was gone entirely, the model picked "surprised" for a smiling photo, with a number as high as 99.8%.
Fast mode was weaker. It found no face at all with the eye bar, sunglasses, mask, or the upper-only, lower-only and half-face crops, and it read the hand-over-mouth photo as "fearful 80.2%, happy 18.8%". Accurate mode read that same photo as happy 100%, so the two modes gave nearly opposite answers.
A high percentage does not mean "certain"
The most important result here is the mask photo's "surprised 99.8%". The expression model always splits 100% across the seven expressions, so a percentage is not the probability of being right; it is a share of which expression the face looks closest to. Even when covering the mouth removes the evidence, the model can't say "I don't know", so it piles its answer onto one category.
The mask being read as "surprised" likely has the same explanation. A large shape sits where the mouth should be, which probably resembles the wide-open mouth of a surprised face. The model did not recognize a mask as a mask; it picked the most similar shape among the expressions it learned.
Photos where no face was found
- A face smaller than about 6% of the photo's width: Fast mode failed; Accurate mode still found faces down to about 4%
- Strong blur: the strongest blur defeated both modes
- Covered eyes or mouth: Fast mode mostly failed; Accurate mode found every one
If you see a message that no face was found, switch to Accurate mode or crop the photo so the face is larger. Group shots shrink every face, so Accurate mode helps most there.
How to get results you can trust
- Use photos where both the mouth and eyes are visible. What flipped results in this test was a covered mouth, not image quality.
- Crop to enlarge a small face. Once the face was a few dozen pixels wide, a clear expression survived even poor quality.
- Cross-check with the other mode. If Fast and Accurate mode disagree sharply, the model finds that photo hard to judge.
- Look at the gap between first and second place. A clear expression wins by a wide margin; the more ambiguous the face, the more the share is split.
- Don't read the result as someone's feelings. The tool only compares the shape of a face with expression photos it learned from; it can't know how someone actually feels.
To watch expressions live, the camera-based live expression analyzer uses the same model. We ran the same face through the animal face test in Does changing the photo change your animal face result?.