OCRRouter获取 API Key

Hindi OCR API

Read Hindi and other Devanagari text, including conjunct characters.

结果

识别出的 Markdown 或 JSON 会显示在这里。

What makes Hindi hard for OCR

  • Conjuncts and the connecting headline
  • Matras above and below the line
  • Hindi mixed with English

Script: Devanagari.

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": "markdown"
  }'

Best models for Hindi text

Questions

Other languages