OCRRouterAPIキーを取得

Newspaper OCR API

Read newspaper pages and archives into separate articles with headlines, bylines and body text in the right order.

結果

変換されたMarkdownやJSONがここに表示されます。

What makes newspapers hard to read

  • Many columns and articles that jump between pages
  • Faded microfilm and old print
  • Ads mixed in with editorial text

What you can pull out

newspaper fields
{
  "publication": "The Evening Courier",
  "date": "1962-03-14",
  "page": "3",
  "articles[]": "headline, byline, body",
  "ads_present": "true"
}

Best models for newspapers

Call it from your code

curl https://api.ocrrouter.ai/v1/ocr \
  -H "Authorization: Bearer $OCRROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-flash",
    "file_url": "https://example.com/invoice.pdf",
    "format": "json"
  }'

Questions

Other documents