age-detection
收藏RapidAPI2026-03-02 更新2024-05-11 收录
下载链接:
https://rapidapi.com/aivisionapps/api/age-detection2
下载链接
链接失效反馈官方服务:
资源简介:
This API allows users to predict the age of a person in an image.
创建时间:
2026-03-02
原始信息汇总
数据集概述:age-detection
基本信息
- 数据集名称:age-detection
- 提供方:aivisionapps
- 类别:Video, Images
- API版本:1.0.0 (current)
- API地址:https://age-detection2.p.rapidapi.com/age
- 请求方法:POST
- 功能:通过图像预测人的年龄
性能与评级
- 流行度:9.8
- 服务等级:100%
- 延迟:2872ms
- 测试状态:N/A
- 用户评分:(3)
订阅计划
- BASIC:$0.00 / 月
- PRO:$9.99 / 月
功能描述
- 基于图像快速、准确地预测人的年龄。
- 可选择将提取的人脸作为base64编码图像返回。
- 图像无需保存或共享,安全可靠。
使用要求
- 建议上传前将图像缩放至最大宽度和高度为800像素以提高性能。
- 为获得准确结果,要求人脸占据照片的较大部分且人物正面朝向。
请求示例(Python)
python import requests
url = "https://age-detection2.p.rapidapi.com/age"
image = "https://attractivenesstest.com/static/images/examples/a.jpg"
或使用base64编码图像
payload = {"image": image, "return_face": False} headers = { "X-RapidAPI-Key": "<REPLACE_WITH_YOUR_API_KEY>", "X-RapidAPI-Host": "age-detection2.p.rapidapi.com", "Content-Type": "application/json" }
response = requests.request("POST", url, json=payload, headers=headers)
print(response.status_code) print(response.json())
响应示例
json { "age": 26.03, "region": [120, 140, 180, 180] // x, y, width, height }
提供方信息
- 订阅者数量:240
- 资源:Product Website
搜集汇总
数据集介绍

背景与挑战
背景概述
该数据集提供基于图像预测人物年龄的API功能,主要用于人脸年龄识别场景。
以上内容由遇见数据集搜集并总结生成



