EstimAge - technical details
This page describes how the webcam age test on this site works: the software it uses, the steps it follows, the data it records and its measured accuracy. The test is a demonstration of age estimation by facial analysis. It is not an age verification and it proves nothing about your real age.
Architecture: everything runs in your browser
All the computing happens locally, in your browser, on your device. The site only sends your browser the test page, the analysis software and three small model files (about 2 MB in total), all hosted on this site - no third-party service, no content delivery network. The video from your camera never leaves your device: it is analysed frame by frame by the software running in the page, and no image is uploaded, stored or shared. You can check this yourself in your browser: open the Network tab of the developer tools during the test - no request carries an image.
The three models
The test uses the open-source library face-api.js (version 1.7.14, MIT licence) with three neural network models. 1) Tiny Face Detector (193 KB): finds the face in each video frame and draws a box around it. 2) Face Landmark 68 Tiny (77 KB): places 68 reference points on the face (jaw, eyebrows, eyes, nose, mouth); these points are what the explanation screens zoom on. 3) Age and Gender (430 KB): estimates the age from the face image. The age model is a black box: it was trained on thousands of labelled faces and outputs a single number, the most likely age. The site does not use the gender output.
How the test runs
1) Consent first: the camera stays off until you accept. 2) Detection loop: every 150 ms, the detector analyses a video frame (input size 320 pixels, confidence threshold 0.5). 3) The age is estimated on 5 consecutive detections and the median of the 5 values is kept, which smooths out one-off errors. 4) As soon as 5 samples are collected, the green "Photo successful" indicator appears and the camera switches off automatically - there is no stop button. If no face is found for 4 seconds, a message asks you to move closer and light your face. 5) The last frame is frozen in your browser memory only, and 7 explanation screens show, with zooms, the box, the 68 points, the eyes, the nose and mouth, the outline and the skin texture. 6) Only then is the result shown: the estimated age and the estimated bracket. The frozen image is never sent anywhere and disappears when you leave the page.
Data and privacy
Exactly one thing can be recorded, and only if you vote after the test: whether you judge the estimate right or wrong, together with the age bracket estimated by the machine (8 brackets: under 13, 13-15, 16-17, 18-24, 25-34, 35-49, 50-64, 65+). These are simple counters stored on the site. No image, no exact age, no name, no account, no tracking cookie. Two safeguards: one vote per test (a random token generated in your browser, kept 2 minutes as a fingerprint only) and a rate limit of one vote per 30 seconds per ephemeral fingerprint of your address, which is hashed and never stored in plain form. The site administrator can see the counters and reset them; nobody can link a vote to a person.
The vote and the charts
After the result, you can say whether the estimate seems right or wrong. Your answer is added to the counter of the bracket the machine estimated - never to your real age, which the site never asks. The charts then show, per estimated bracket, how many visitors judged the estimate right or wrong. A bracket needs at least 5 votes before its bars are shown. These statistics measure how convincing the estimates feel to visitors; they are not a scientific accuracy study.
Measured accuracy (3 December 2026)
Before launch, the exact same processing chain was run on 39 rights-free photos (Pexels) in 4 groups. Children (about 3-10 years): estimated 8.0 to 10.4 years, average 9.4. Teenagers (about 13-17): 12.8 to 25.8, average 18.0. Adults (about 25-45): 18.8 to 39.8, average 27.0. Seniors (65 and over): 57.5 to 82.1, average 73.3. No face was detected in 5 of the 39 photos. In short: the model is roughly right for children and seniors, overestimates teenagers somewhat and underestimates young adults. Errors of several years are normal.
Limits
This test estimates an age from appearance; it does not verify anything. A child in front of a parent's camera, or a photo held up to the camera, would be estimated like a real face - the test has no liveness detection. Lighting, make-up, glasses, facial hair, camera quality and angle can all shift the estimate. Face models can also be less accurate for some groups of people than others, depending on the faces they were trained on. This is why the result is always presented as an estimate with a bracket, and why regulators such as Ofcom require much stronger methods for real age verification.
Components and licence
face-api.js 1.7.14 by Vladimir Mandic, MIT licence, bundled with TensorFlow.js 4.21. The three models are the standard face-api.js model files, hosted on this site. The test page, its texts in 11 languages and the vote counters are part of the SocialAge WordPress theme; all visible texts can be edited by the site administrator.
How can AI run in the browser?
Because a trained AI model is just mathematics: tables of numbers (the weights) and multiplications. Training, the heavy step, was done once by the model's creators; the result fits in three small weight files (193 KB, 77 KB and 430 KB) that your browser downloads like any other file. Inference - applying the model to your photo - then happens on the spot: TensorFlow.js runs the calculations in JavaScript, using the graphics card through WebGL. The model is a cookbook downloaded once; the cooking happens in your kitchen, not at the restaurant. That is why no image leaves the device during the test. A large language model, with billions of parameters, could not run this way; for a precise task like detecting a face and estimating an age, a small model is enough.