
Face Recognition
About Amazon Web Services Face Recognition
Recognizing a face in an image is a more advanced feature than just detecting the face in the image. It allows the user to search for the detected face from a database of existing images and extract the faces that are most similar to the face displayed in the query image.
Amazon Web Services Face Recognition is Amazon Web Services's default model for Face Recognition available on Eden AI for Face Recognition, from $1 / 1K files. Call it with the same API key as every other Eden AI model by sending its model string to the Universal AI endpoint, with processing in Europe.
Tasks and prices
Amazon Web Services Face Recognition is available on Eden AI for 1 tasks. Each task has its own model string and price: send that string to the Universal AI endpoint to use the model for that task.
Parameters
What you send and what you get back when you call Amazon Web Services Face Recognition through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Input
- collection_id (required): uuid. Collection id from POST /v3/universal-ai/collections. The provider in the model string must match the collection's provider.
- file (required): file (images). Image file ID from /v3/upload or direct file URL
Response
- items
Estimate your monthly cost
Enter your monthly volume for Face Recognition to compare Amazon Web Services Face Recognition with its cheapest alternatives.
Call Amazon Web Services Face Recognition with Eden AI
Send the model string to the Universal AI endpoint. To use another model, copy its string from the table above.
import requests
response = requests.post(
"https://api.edenai.run/v3/universal-ai",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "",
"input": {},
},
)
print(response.json())
curl https://api.edenai.run/v3/universal-ai \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "", "input": {}}'
const response = await fetch("https://api.edenai.run/v3/universal-ai", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "",
input: {},
}),
});
console.log(await response.json());
"collection_id": "...", "file": "https://example.com/image.jpg"
Questions about Amazon Web Services Face Recognition
On Eden AI, Amazon Web Services Face Recognition costs $1 / 1K files for Face Recognition. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Amazon Web Services Face Recognition is available for: Face Recognition. Input: Image. Output: items.
Yes. Amazon Web Services Face Recognition is processed in Europe for at least one task: see the Regions column in the Tasks and prices table.
Asynchronous: you start a job, then get the result by polling it or through a webhook. This suits long files such as audio, video or multipage documents.
Eden AI offers Face Recognition from 1 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Face Recognition
Other Face Recognition models you can call with the same key, cheapest first.
More from Amazon Web Services
Other Amazon Web Services models on Eden AI, for every task.