This simple Flask-based API allows you to compare faces from two images using their URLs. Powered by DeepFace, it quickly checks if the faces match.
- Face Comparison: Compare two images using just URLs.
- Powered by DeepFace: Accurate face verification.
- Easy to Use: No base64 encoding required, just provide image URLs.
- Send a POST request with two image URLs (
base_image
andcomparison_image
). - The API compares the faces and returns whether they match (
verified
) and their similarity (distance
).
POST /verify
{
"base_image": "https://example.com/image1.jpg",
"comparison_image": "https://example.com/image2.jpg"
}
{
"verified": true,
"distance": 0.22
}
- Quick and easy face comparison via URLs.
- No need for complex setup or base64 encoding.
- Ideal for security and face recognition projects.
- Clone the repo.
- Install dependencies.
- Run the Flask app and make requests to
/verify
.