Face Detection
About Google Face Detection
Face Detection is a computer technology being used in a variety of applications that identifies human faces in digital images with different attributes like landmarks, sentiments and physical attire (type of file allowed: jpg, jpeg, png, tiff)
Google Face Detection is Google's default model for Face Detection available on Eden AI for Face Detection, from $1.50 / 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.
Tasks and prices
Google Face Detection 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 Google Face Detection through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Input
- 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 Detection to compare Google Face Detection with its cheapest alternatives.
Call Google Face Detection 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());
"file": "https://example.com/image.jpg"
Questions about Google Face Detection
On Eden AI, Google Face Detection costs $1.50 / 1K files for Face Detection. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Google Face Detection is available for: Face Detection. Input: Image. Output: items.
Yes. Google Face Detection 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 Detection from 3 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Face Detection
Other Face Detection models you can call with the same key, cheapest first.
More from Google
Other Google models on Eden AI, for every task.
