AidText

Age and gender of faces

Code the gender and age group of every face in a set of photos, compare groups, and get the tables, tests and methods paragraph for your paper.

Age and gender of faces in photos, for research

What is estimated

The number of people in each photo, an age group and a gender for each face, and who is wearing glasses, sunglasses or a mask. Every face gets the likeliest age group and gender.

What the report shows

Women and men and the nine age groups with 95% intervals, side by side for every group of photos you upload, with effect sizes and tests that take account of several faces in one photo. The tables, the results and methods paragraphs and the data of every face can be downloaded.

What it is meant for

Figures about a set of photos: who visits a place, who appears in a newspaper's pictures, how a crowd is made up. Age group and gender are estimated from appearance alone. They are not a person's real age or the gender they identify with, and they should not be used to judge one person. Sunglasses and masks make the estimates less reliable, and the report counts the faces that wear them.

Checked by hand

The report draws a random sample of faces for you to code without seeing the automatic codes, and gives the agreement, Krippendorff's alpha, the confusion matrix and the shares corrected for the errors found. It also says when the faces are too small for the figures to be reported.

The variables you get
VariableWhat it isUnit
GenderWoman or man, the likelier of the two as the face appears, with its probabilityFace
Age group0–2, 3–9, 10–19, 20–29, 30–39, 40–49, 50–59, 60–69, or 70 and over, the likeliest, with its probabilityFace
Glasses, sunglasses, maskYes or no for eachFace
People in the photoNumber of faces foundPhoto

How it is measured

Faces are detected in each photo. For each face a neural network gives the probability of two gender categories and nine age groups, judged by appearance alone, and the likeliest of each is recorded. Faces whose shorter side is under 32 pixels are counted and not coded.

References

Women in the portraits of Congress, and how well software counts them: 500 official portraits coded for gender and checked against the record: 97.4% right, and every error a woman taken for a man.

Gender coding fails on painted portraits: 180 painted portraits whose titles name the sitter: more than half of the women were coded as men, often with high confidence.

How to report automated image coding in a paper: Six things a methods section has to say, a paragraph to adapt, which agreement to give, and what not to claim.

How many images to check by hand: What a hand-coded sample of 30, 50, 100 or 400 can show, how to draw it, and how it corrects a biased share.

What reviewers ask about automated face coding: Accuracy on your material, bias, face size, age, ethics and replication: the questions and how to answer them, with test results.

Measure pictures

All tools · Privacy