didit-age-estimation
bởi rosasalberto
Image & Video GenerationTóm tắt
Integrate Didit Age Estimation standalone API to estimate a person's age from a facial image.
Mô tả
Kỹ năng này làm gì
Estimates a person's age from a facial image using Didit's deep learning API. Returns an age estimate, liveness confidence score, and a pass/fail status in a single call. Supports configurable thresholds, per-country age restrictions, and an adaptive mode that falls back to ID verification for borderline cases.
Passive liveness detection runs in the same API call as age estimation, so spoofing checks require no separate verification step.
Khi nào nên dùng
- Age-gating access to alcohol or adult content websites
- Verifying buyer age at checkout for restricted products
- Enforcing minimum age on gambling or gaming platforms
- Blocking minors from signing up for age-restricted apps
- Per-country age restriction compliance with automatic ID fallback
Quy trình ví dụ
User asks: add an age gate to my web app that blocks users under 18
- 1
Capture a selfie from the user via webcam or file upload
- 2
POST the image to the /v3/age-estimation/ endpoint with the x-api-key header set
- 3
Read liveness.status from the response to get Approved, Declined, or In Review
- 4
If Approved and age_estimation >= 18, grant access; if Declined, check warnings for AGE_BELOW_MINIMUM
- 5
If In Review, trigger ID verification fallback or route to manual review
User either gains access or is blocked, with age_estimation and liveness score available for compliance logging
Yêu cầu
- DIDIT_API_KEY environment variable
- Didit Business Console account at business.didit.me
Cài đặt
clawhub install rosasalberto/didit-age-estimationChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.