OCRRouterAPIキーを取得

Khmer OCR API

Read Khmer text with stacked subscript consonants and vowels around the base letter.

結果

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

What makes Khmer hard for OCR

  • Subscript consonants stacked below the line
  • No spaces between words
  • Few OCR engines support Khmer well, so test before you rely on it

Script: Khmer script.

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 Khmer text

Questions

Other languages