👤 人脸检测
0.2 IC每次请求(单人脸)/ 0.3 IC(多人脸)
欢迎使用人脸检测 API,这是由艾艾普科技有限公司开发的人工智能产品。我们的 API 旨在高精度、高速度地从图像中检测和提取人脸。该 API 支持单人脸和多人脸检测,并提供灵活的评分选项。
立即试用!
入门指南
-
先决条件
- 艾艾普科技的 API 密钥
- 包含人脸的图片文件
- 支持的格式:JPEG、JPG、PNG
- 最大文件大小:10MB
-
快速入门
- 快速处理时间
- 高精度人脸检测
- 支持多种文件格式
- 灵活的评分选项
-
主要功能
- 单人脸和多人脸检测
- 人脸边界框坐 标
- 检测置信度分数
- 人脸图像提取
- 公司特定的评分选项
-
安全与合规
- 符合 GDPR 和 PDPA
- 处理后不保留数据
如何获取 API 密钥?
请访问 API 密钥管理 页面查看您现有的 API 密钥或申请新密钥。
示例
单人脸检测请求:
图片预览

curl --location --request POST 'https://api.iapp.co.th/v3/store/ekyc/face-detection/single' \
--header 'apikey: {您的 API Key}' \
--form 'file=@"{您的图片文件路径}"'
单人脸检测响应:
{
"bbox": {
"xmax": 320.15,
"xmin": 100.23,
"ymax": 450.78,
"ymin": 150.45
},
"detection_score": 0.9998989105224609,
"face": "/9j/4AAQ...base64_encoded_image",
"message": "success",
"process_time": 0.41
}
多人脸检测请求:
图片预览

curl --location --request POST 'https://api.iapp.co.th/v3/store/ekyc/face-detection/multi' \
--header 'apikey: {您的 API Key}' \
--form 'file=@"{您的图片文件路径}"'
多人脸检测响应:
{
"message": "success",
"process_time": 0.67,
"result": [
{
"bbox": {
"xmax":1317.7054443359375,
"xmin":1075.64013671875,
"ymax":555.1968994140625,
"ymin":243.38815307617188
},
"detection_score": 0.99,
"face": "/9j/4AAQ...base64_encoded_image"
},
{
"bbox": {
"xmax":684.1102294921875,
"xmin":484.45068359375,
"ymax":520.4813842773438,
"ymin":265.50823974609375
},
"detection_score": 0.99,
"face": "/9j/4AAQ...base64_encoded_image"
},
...
]
}
