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
1Gemini FlashGeneral vision model with strong handwriting and layout understanding at a low price.
google/gemini-flash3 credits / page2GPTGeneral vision model. Good at messy scans and following extraction instructions.openai/gpt11 credits / page3ClaudeGeneral vision model with careful reading of long, dense documents.anthropic/claude14 credits / page