Myanmar OCR Pipeline - MVP 8

Upload image → OCR → Unicode Normalization → AI Clean → Validation → Metadata

📋 Integrated Pipeline — One Click
Upload a document, click Start Processing, and the full pipeline runs automatically:
🔄 OCR: Ingestion → OCR (Tesseract) → Validation → Font → Unicode → AI Clean (Ollama) → Final Validation
🏷️ Metadata: Local LLM (Ollama) extracts title, summary, keywords, topic, region → validates → saves to database
📊 Dataset: Generates Knowledge, Instruction, Summary, Classification → exports as JSONL
🧠 RAG: Chunking (1000 chars, 200 overlap) → all-minilm embedding (384d) → pgvector storage
All progress is displayed in real-time below. Use the Chat interface for Q&A after processing.
🔗 ✓ Copied
📥 Ingest
Validates file format, size, and type
🔍 OCR
Tesseract OCR text extraction (mya+eng)
✅ Valid
Confidence score quality check
🔤 Font
Detects Unicode vs Zawgyi encoding
🌐 Unicode
Converts to standard Unicode
🧹 LLM
Local LLM (Qwen2.5:7b) error correction
🏁 Final
Overall quality assessment & pass/fail
📄 Upload Document
Select a Myanmar document image (PNG, JPG, TIFF) or PDF. Supported formats: PNG, JPG, JPEG, TIFF, TIF, PDF. Max file size: 50MB.
📤
Drop file here or browse
PDF · PNG · JPG · TIFF
Preview
After uploading, click "Start Processing" to run the full integrated pipeline: OCR (7 agents) → Metadata → Dataset → RAG (chunking + embedding). All progress is displayed in real-time. Total pipeline takes ~2-5 minutes.
⚡ OpenClaw Pipeline Monitor ?
7 agents run sequentially. Each dot shows current status. Duration per agent displayed in the table below.
Agent Duration Status / Error
📊 Validation Metrics ?
Overall quality assessment of the OCR output. Higher scores = better recognition quality.
OCR Confidence ?
Validation Score ?
Encoding ?
Status ?
📝 Extracted Text ?
View the text at each stage of processing. Switch between tabs to compare raw OCR, normalized Unicode, and LLM-cleaned output.
Waiting for OCR result...
Waiting for normalization...
Waiting for LLM cleaning...
🔄 Process Another
⬇️ Export JSONL for Fine-Tuning ? ↻ Refresh
Select datasets to export as JSONL. Combine all selected datasets into a single file for training, or download individually. Compatible with ChatML format for fine-tuning.
Loading datasets...
⚠️ Danger Zone
Permanently delete all documents, metadata, datasets, RAG chunks, chat history, and uploaded files. This action cannot be undone.
🔍 Search Documents ?
Search through previously processed documents. Use filters to narrow results by topic, document type, or region. Results show metadata including title, type, and confidence score.
Enter a query and click Search.
📋 History Log ? ↻ Refresh
Shows recent documents. Status indicators: completed ✅, processing ⏳, failed ❌. Click any row to view full OCR results and metadata.
No documents uploaded yet.
y>