
Table Extraction
About Google Cloud Table Extraction
OCR Table (Optical Character Recognition for tabular documents) allows users to analyze documents containing tables and returns a structured representation of the detected tables in the form of a Json object that can be converted to a CSV.
Google Cloud Table Extraction is Google Cloud's default model for Table Extraction available on Eden AI for Table Extraction, from $65 / 1K pages. 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
Google Cloud Table Extraction 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 Cloud Table Extraction 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 (PDF, images). PDF or image file ID from /v3/upload or direct file URL
Response
- pages
- num_pages
Estimate your monthly cost
Enter your monthly volume for Table Extraction to compare Google Cloud Table Extraction with its cheapest alternatives.
Call Google Cloud Table Extraction 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": "ocr/ocr_tables_async/google",
"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_tables_async/google", "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_tables_async/google",
input: {"file": "https://example.com/document.pdf"},
}),
});
console.log(await response.json());
"file": "https://example.com/document.pdf"
Questions about Google Cloud Table Extraction
On Eden AI, Google Cloud Table Extraction costs $65 / 1K pages for Table Extraction. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Google Cloud Table Extraction is available for: Table Extraction. Input: PDF, Image. Output: pages, num_pages.
Eden AI offers Table Extraction from 3 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Table Extraction
Other Table Extraction models you can call with the same key, cheapest first.
More from Google Cloud
Other Google Cloud models on Eden AI, for every task.

