OCRRouterGet API key

Tesseract vs TrOCR

Tesseract is cheaper per page; Tesseract is faster; only Tesseract supports multilingual; only TrOCR supports handwriting.

Tesseracttesseract/tesseractTrOCRmicrosoft/trocr
TypeOpen sourceOpen source
PriceFree1 credit / page
Per 1,000 pages$0.00$1.00
Typical speed0.6 s / page1.2 s / page
Best forClean printed text, freeHandwritten text lines
InputsPDF, imagesimages
Languages100+ languagesEnglish
Max pages per request500100
TablesNoNo
HandwritingNo✓ Yes
MathNoNo
Bounding boxesNoNo
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
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

Tesseract

The classic open-source OCR engine. Plain text from clean printed scans.

Tesseract details

TrOCR

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

TrOCR details

Use one, fall back to the other

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

Questions

More comparisons

Tesseract alternativesTrOCR alternatives