OCRRouterGet API key

Kraken vs TrOCR

TrOCR is faster; only Kraken supports bounding boxes, multilingual.

Krakenkraken/krakenTrOCRmicrosoft/trocr
TypeOpen sourceOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed1.5 s / page1.2 s / page
Best forHistorical documents and manuscriptsHandwritten text lines
Inputsimagesimages
LanguagesMany scripts, incl. right-to-leftEnglish
Max pages per request500100
TablesNoNo
Handwriting✓ Yes✓ Yes
MathNoNo
Bounding boxes✓ YesNo
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
On OCRRouterComing soonComing soon

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

What each one is

Kraken

OCR engine for historical documents and manuscripts, with trainable models for unusual scripts.

Kraken details

TrOCR

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

TrOCR details

Use one, fall back to the other

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

Questions

More comparisons

Kraken alternativesTrOCR alternatives