📄 General Thai Document OCR
🧾 ระบบอ่านจดหมายราชการ รายงาน เอกสารไทยทั่วไป
Welcome to Thai Document OCR API, version 2.0, an AI product developed by iApp Technology Co., Ltd. Our API automatically converts printed Thai documents into editable text formats with high accuracy. The API supports images (PNG, JPEG, JPG) and PDF files, processing them into three different output formats.
Try Demo
Visit our API Portal to test the General Thai Document OCR API with your own images.
Getting Started
-
Prerequisites
- An API key from iApp Technology
- Thai document images or PDFs
- Supported formats: PNG, JPEG, JPG, PDF
- Maximum file size: 30MB
-
Quick Start
- Fast processing time
- High accuracy text extraction
- Multiple output format options
-
Key Features
- Three output formats:
- Editable Text (.txt)
- Structured JSON (.json)
- Microsoft Word file (.docx)
- Automatic document component recognition
- Support for both Thai and English text
- Three output formats:
-
Security & Compliance
- GDPR and PDPA compliant
- URL file paths valid for 10 minutes only
How to get API Key?
Please visit iApp AI Portal to view your existing API key or request a new one.
Features & Capabilities
Core Features
- Text extraction from documents
- Document structure analysis
- Multiple output formats
- Support for Thai and English text
- PDF file support
Supported Fields
- Page boundary detection
- Title recognition
- Paragraph detection
- Image detection
- Table recognition
- Thai character recognition
- English character recognition
- Special character support
Example
Perform OCR and Return Raw Text
- Sample Request
curl --location 'https://api.iapp.co.th/document-ocr/ocr' \
--header 'apikey: {YOUR API KEY}' \
--form 'file=@"{YOUR UPLOADED FILE}"'
- Sample Response
{
"text": ["ด่วนที่สุด\nที่ มท ๐๔๐๒.๖ มั่นคงและชุมชนพึ่งตนเองได้\nภายในปี ๒๕๖๕ ..."],
"time": 1.1443967819213867,
"iapp": { "page": 0, "char": 1376 }
}
Perform Document Structure Analysis, OCR and return JSON formatted bounding box and raw text
- Sample Request
curl --location 'https://api.iapp.co.th/document-ocr/layout' \
--header 'apikey: {YOUR API KEY}' \
--form 'file=@"{YOUR UPLOADED FILE}"'
- Sample Response
{
"pages": [
{
"page": 1,
"components": [
{
"text": "