Face Comparison Validator API

Face Comparison Validator API

With this API you will be able to recognize if in 2 pictures the same person appears or not.

API description

About the API:

With Face Comparison API, you can check if the same person appears in 2 different pictures. Our Artificial Intelligence will allow you to compare and determine if those 2 pictures are, indeed, from the same person. 

What your API receives and what your API provides (input/output)?

The API will need you to pass either the publicly accessible image URL, and our AI will handle everything. You will receive an intuitive output: 

  • resultMessage: this object will say either "the two faces belong to different people" (in case of face mismatching) or "the two faces belong to the same person" (in case of face matching)
  • similarPercent: which retrieves the percentage of similarity of the two faces. 

(Note: The pictures that are provided need to be clean. It means that the face of the person to compare needs to be visible and clear for our AI. Blurry images, several people in the same picture, and not recognizable faces could lead to a comparison error.)

What are the most common uses cases of this API?

This API will allow you to compare two faces and determine if they belong to the same person. If you want to implement a face validation checkpoint in your office, you could do it with this API. 
If you want to compare pictures of different ID's, this API will help you. 

Also, if you have a large database of pictures and want to sort them by person, with this API you will be able to accomplish that goal. 

Are there any limitations with your plans?

The only limitation is the number of API calls you can make per month that support each plan. 

API Documentation

Endpoints


This endpoint will receive the image URL and will provide you with the comparison results. You will be able to tell if the two pictures correspond to the same person. 

 



                                                                            
POST https://zylalabs.com/api/30/face+comparison+validator+api/94/compare+image+with+image+url
                                                                            
                                                                        

Compare Image with image URL - Endpoint Features
Object Description
Request Body [Required] Json
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"hasError":true,"statusCode":400,"statusMessage":"There aren't any files in Request."}
                                                                                                                                                                                                                    
                                                                                                    

Compare Image with image URL - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/30/face+comparison+validator+api/94/compare+image+with+image+url' --header 'Authorization: Bearer YOUR_API_KEY' 

    

With the ID retrieved on the "Compare Image with image URL" you will get the analysis. 



                                                                            
GET https://zylalabs.com/api/30/face+comparison+validator+api/2782/get+results
                                                                            
                                                                        

Get Results - Endpoint Features
Object Description
prediction_id [Required] Id retrieved on "Compare Image with image URL" endpoint.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"status":"succeeded","id":"zpbtgvzbsvn4fmd5u6xb6ppwte","input":{"url1":"https:\/\/images.hola.com\/images\/027f-177f5be615a4-df10198c7b91-1000\/horizontal-1200\/brad-pitt.jpg","url2":"https:\/\/www.whitehouse.gov\/wp-content\/uploads\/2021\/04\/P20210303AS-1901-cropped.jpg?w=1536"},"output":{"confidence_score":0,"is_same_person":false,"success":true}}
                                                                                                                                                                                                                    
                                                                                                    

Get Results - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/30/face+comparison+validator+api/2782/get+results?prediction_id=hodsesjboxagdcmfxiszbdxscm' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Face Comparison Validator API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

The Face Comparison API uses Artificial Intelligence to compare two different pictures and determine if they belong to the same person.

The API requires the publicly accessible image URLs of the two pictures you want to compare.

The API provides an intuitive output in the form of a result message and a similarity percentage.

The result message will indicate whether the two faces belong to different people or the same person.

Yes, the input pictures need to be clean, with a visible and clear face of the person to compare. Blurry images, multiple people in the same picture, and unrecognizable faces may lead to comparison errors.

No, the API only accepts publicly accessible image URLs as input.

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected β€” plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
99%
 Response Time
858ms

Useful links:


Category:


Tags:


Related APIs