Passive Liveness Detection
Detect if a face in an image is real or a spoof (photo/screen attack).
POST
/api/v1/face_livenesscURL
curl -X POST "https://faceapi.arsa.technology/api/v1/face_liveness" \ -H "x-key-secret: YOUR_API_KEY" \ -F "face_image=@photo.jpg"
200 OK
{
"status": "success",
"faces": [{
"bbox": {"x1": 0.1, "y1": 0.1, "x2": 0.5, "y2": 0.6},
"is_real_face": true,
"liveness_confidence": 0.97,
"liveness_status": "real"
}],
"latency_ms": 189.23
}