LabFree · no sign-up

Guess age and gender from a face, live.

Age & Gender Detection. Estimate age and gender from a face, in images or webcam.

View the code ↗
Source on GitHub ↗
age-gender-detection
AGD
Why it exists

01PROBLEM

Demographic estimation from images is a common CV task with a lot of setup.

02SOLUTION

OpenCV's deep-learning face detector plus age and gender models, working on photos or a live webcam.

03VALUE

A compact, runnable example of multi-model computer-vision inference.

Screenshots

The story

How to use it

  1. Install OpenCV.
  2. Run the script on an image or your webcam.
  3. See the detected face with its estimated age and gender.

How it's built

OpenCV's deep-neural-network module runs a face detector plus separate age and gender models.

Why it matters for businesses

It shows multi-model inference on a single frame, a pattern used in analytics and retail kiosks (with consent).

In real life

A demo kiosk greets visitors with an age-appropriate message.

Under the hood

How it's built.

// age-gender-detection · Lab
export const ageGenderDetection = {
stack: ["Python", "OpenCV DNN"],
audience: ["CV learners"],
status: "lab", price: 0
}
Shape what's next

Feature requests.

No requests for Age & Gender Detection yet. Be the first!

Chat with Bala