
OCR multipage
About OCR multipage Amazon Web Services
L'OCR, ou reconnaissance optique de caractères, est également appelée « reconnaissance de texte » ou « extraction de texte ». Elle permet aux utilisateurs d'extraire des données textuelles à partir de fichiers PDF comportant plusieurs pages.
OCR multipage Amazon Web Services est le modèle par défaut d'Amazon Web Services pour la tâche « OCR multipage », disponible sur Eden AI, à partir de 1,50 $ / 1K pages. Appelez-le avec la même clé API que tous les autres modèles Eden AI, en envoyant sa chaîne de modèle à l'endpoint Universal AI, avec un traitement en Europe.
Tasks and prices
OCR multipage Amazon Web Services is available on Eden AI for 1 tasks. Chaque tâche a sa propre chaîne de modèle et son propre prix : envoyez cette chaîne à l'endpoint Universal AI pour utiliser le modèle sur cette tâche.
Parameters
What you send and what you get back when you call OCR multipage Amazon Web Services through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Entrée
- file (obligatoire) : fichier (PDF, images). Identifiant d'un fichier PDF ou d'une image provenant du répertoire /v3/upload ou URL directe du fichier
Réponse
- raw_text
- pages
- number_of_pages
Estimate your monthly cost
Enter your monthly volume for OCR multipage to compare OCR multipage Amazon Web Services with its cheapest alternatives.
Call OCR multipage Amazon Web Services with Eden AI
Envoyez la chaîne de modèle à l'endpoint Universal AI. Pour utiliser un autre modèle, copiez sa chaîne depuis le tableau ci-dessus.
import requests
response = requests.post(
"https://api.edenai.run/v3/universal-ai",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "ocr/ocr_async/amazon",
"input": {"file": "https://example.com/document.pdf"},
},
)
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": "ocr/ocr_async/amazon", "input": {"file": "https://example.com/document.pdf"}}'
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: "ocr/ocr_async/amazon",
input: {"file": "https://example.com/document.pdf"},
}),
});
console.log(await response.json());
"file": "https://example.com/document.pdf"
Questions about OCR multipage Amazon Web Services
On Eden AI, OCR multipage Amazon Web Services costs 1,50 $ / 1K pages for OCR multipage. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, OCR multipage Amazon Web Services is available for: OCR multipage. Input: PDF, Image. Output: raw_text, pages, number_of_pages.
Eden AI offers OCR multipage from 3 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for OCR multipage
Other OCR multipage 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.

