Overview

Welcome to the Facial Recognition API documentation! This toolkit provides advanced capabilities for face detection and identity verification through AI-driven algorithms. 🧠📸
For a deeper understanding of the IR framework, visit here.

Endpoints

GET /facial_recognition/detect

  • Description: Detect faces in an uploaded image
  • Parameters:
    • image_url (required): URL of the image to analyze
    • threshold (optional): Confidence level for detection (0.0-1.0)
  • Response: Returns face coordinates and bounding boxes
Facial_Recognition_Detection

POST /facial_recognition/verify

  • Description: Verify if two faces belong to the same person
  • Parameters:
    • image1 (required): Base64 encoded image data
    • image2 (required): Base64 encoded image data
    • similarity (optional): Target similarity score (0.0-1.0)
  • Response: Returns a similarity percentage and match status
Facial_Recognition_Verify

Request Examples

GET https://api.example.com/facial_recognition/detect?image_url=https://example.com/photo.jpg&threshold=0.8
POST https://api.example.com/facial_recognition/verify
Content-Type: application/json

{
  "image1": "base64_encoded_string",
  "image2": "base64_encoded_string",
  "similarity": 0.9
}

Security Considerations

  • Always use HTTPS for data transmission
  • Comply with GDPR and other data protection regulations
  • Refer to our Privacy Policy for details

📈 Performance Metrics

  • Accuracy: 98.7% (on standard datasets)
  • Latency: <150ms (with optimized models)
  • Support for: JPEG, PNG, BMP formats

For implementation guides, check the IR Developer Docs.