Detector24
Minor Detection
ImageFace / People Related

Minor Detection

Age group and minor detection

Accuracy
91.3%
Avg. Speed
110ms
Per Request
$0.0240
API Name
minor-detection

API Reference

Version
2601
Jan 3, 2026
Avg. Processing
110ms
Per Request
$0.024
Required Plan
trial

Input Parameters

Estimates age and sex from facial images (handles multiple faces)

image_urlstringRequired

URL of image containing face(s) for demographic estimation

Example:
https://example.com/face.jpg

Response Fields

Demographic analysis for all detected faces

num_facesinteger

Number of faces detected in image

Example:
2
facesarray

Array of face analysis results

Array Item Properties:
agefloat

Estimated age in years

25.3
from_agefloat

Age range lower bound

23
to_agefloat

Age range upper bound

27.5
is_minorboolean

True if age < 18 (minor)

false
challenge_25boolean

True if age < 25 (Challenge 25 policy)

true
sexstring

Estimated sex

female
sex_codeinteger

Sex code (0=male, 1=female)

1
confidencefloat

Detection confidence

0.95
uncertaintyfloat

Age estimation uncertainty

1.2
bboxobject

Face bounding box

{"x1":100,"y1":150,"x2":300,"y2":400}
image_sizeobject

Original image dimensions

Example:
{ "width": 1920, "height": 1080 }

Complete Example

Request

{
  "model": "minor-detection",
  "image_url": "https://example.com/face.jpg"
}

Response

{
  "success": true,
  "data": {
    "num_faces": 1,
    "faces": [
      {
        "age": 25.3,
        "from_age": 23,
        "to_age": 27.5,
        "is_minor": false,
        "challenge_25": true,
        "sex": "female",
        "sex_code": 1,
        "bbox": {
          "x1": 100,
          "y1": 150,
          "x2": 300,
          "y2": 400
        },
        "confidence": 0.95,
        "uncertainty": 1.2
      }
    ],
    "image_size": {
      "width": 1920,
      "height": 1080
    }
  }
}

Additional Information

Rate Limiting
If we throttle your request, you will receive a 429 HTTP error code along with an error message. You should then retry with an exponential back-off strategy, meaning that you should retry after 4 seconds, then 8 seconds, then 16 seconds, etc.
Supported Formats
gif, jpeg, jpg, png, webp
Maximum File Size
20MB
Tags:ageminorchildrensafety

Ready to get started?

Integrate Minor Detection into your application today with our easy-to-use API.