Gender and Age Detection
Overview
Gender and Age Detection node estimates gender and age for people or faces provided as rectangular detections and returns an overlay plus enriched detection attributes.
Connect detections from People Detection, Face Detection, or similar upstream detectors. For UniFace age, the node returns the mean age of the detected age group (for example 20-29 → 25).
Input
Input Image
image requiredThe image frame to analyze. Connect this to a camera or upstream image output.
Detected People and Faces
array requiredList of people and faces detected in the frame. Each object must include at least a Bounding Box (bbox: [x, y, width, height]). Label, Confidence, and Extra Data use defaults when missing.
Gender and Age Detection Model
string required advancedModel used for gender and age estimation.
Values:
ONUF_AGE_GENDER— UniFace: Age and GenderONMV_MIVOLOV2_D1(default) — MiVOLO v2 D1
Confidence threshold
number required advancedMinimum confidence score to keep a prediction. See Confidence Threshold for tuning guidance.
Range: 0.0 to 1.0
Default: 0.5
Minimum Person Size
array advancedMinimum [width, height] of a person box for gender and age detection.
Default: [50, 50]
Minimum Face Size
array advancedMinimum [width, height] of a face box for gender and age detection.
Default: [25, 25]
Use TensorRT if available
boolean required advancedEnable TensorRT inference backend when available. Can improve throughput on NVIDIA GPUs.
Default: false
Overlay results
boolean required advancedWhether to draw results on the output frame. See Overlay Results.
Default: true
Output
Overlay Image
imageFrame with gender and age overlays when overlay is enabled.
Detected People
arrayEnriched detections based on the connected people/faces input. Each object includes the original fields plus:
- Age
- Age Group
- Gender —
male,female, orunknown