Vietnamese OCR API
Read Vietnamese with every tone mark in place, from IDs, invoices and scanned books.
Resultat
Dit Markdown eller JSON vises her.
What makes Vietnamese hard for OCR
- Two diacritics stacked on one vowel
- Tone marks lost in low-resolution scans
- Older documents in mixed fonts
Script: Latin with stacked diacritics.
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 Vietnamese text
1Gemini FlashGeneral vision model with strong handwriting and layout understanding at a low price.
google/gemini-flash3 credits / page2Mistral OCRFast document OCR that returns clean Markdown with tables and embedded images.mistral/mistral-ocr6 credits / page3Google Document AIGoogle Cloud OCR with layout parsing and specialised processors.google/document-ai3 credits / page