OCRRouterGet API key

Amazon Textract vs TrOCR

TrOCR is cheaper per page; only Amazon Textract supports tables, forms, bounding boxes, confidence.

Amazon Textractaws/textractTrOCRmicrosoft/trocr
TypeOCR APIOpen source
Price6 credits / page1 credits / page
Per 1,000 pages$6.00$1.00
Typical speed1.2 s / page1.2 s / page
Best forForms and key-value extractionHandwritten text lines
InputsPDF, imagesimages
Languages6 languagesEnglish
Max pages per request3,000100
Tables✓ YesNo
Handwriting✓ Yes✓ Yes
MathNoNo
Bounding boxes✓ YesNo
Confidence✓ YesNo
Forms✓ YesNo
MultilingualNoNo
On OCRRouterAvailableComing soon

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

What each one is

Amazon Textract

AWS OCR with form key-value pairs, tables and per-word confidence scores.

Amazon Textract details

TrOCR

Transformer text recognition model. Reads single text lines, including handwriting.

TrOCR details

Use one, fall back to the other

Request body
{
  "model": "aws/textract",
  "fallbacks": ["microsoft/trocr"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Amazon Textract alternativesTrOCR alternatives