VL008 · V1 · FIRST JOB DELIVERED
Double Check
Document digitisation with cross-model verification: legacy scans to editable records, with every uncertain field routed to human review.
Conventional OCR has two limits that make it unsafe for records. It misrecognises characters without knowing it, and its confidence scores cannot be relied on to say where: the engine used here reported 98% on a field it had misread. The only safe fallback is proofreading every field, which removes the point of automating.
Double Check is an intelligent document processing (IDP) pipeline built around that problem. Each page is transcribed by two heterogeneous engines, a conventional OCR model and a vision-language model (VLM), and inter-model disagreement becomes the uncertainty signal that routes a field to human-in-the-loop review. Inference runs entirely on local hardware, so documents carrying personal data never leave the owner's network.
Results so far. On the first live job, a 121-page aviation maintenance logbook delivered the same night, 64 of about 6,450 fields (1%) went to a person; the rest were accepted on two-engine agreement. Agreed fields on that job were not independently audited, so the accuracy evidence is a synthetic set with known ground truth: 432 of 432 fields correct, with 3 escalated to review. Two documents is a small sample; a broader evaluation set across document types is the next piece of work.
Design decisions
Ground-truth evaluation that overruled me
I measured the output against known truth rather than trust it. A synthetic test set exposed a defect in my own consensus logic: one model agreeing with itself across two prompts was counted as corroboration, and it silently “corrected” OPERATONAL three times. The rule was removed and the set kept as a regression test.
Cross-model verification over confidence scores
Model confidence is self-reported; agreement between independent models is evidence. The OCR engine reported 98% on a field it had misread. Fields are accepted on consensus and only disagreements are escalated.
An ensemble with different failure modes
Two engines with the same weakness would agree on the same error. RapidOCR (PP-OCRv4) is character-literal but weak on look-alike glyphs and stray marks. qwen3-vl:8b, an open-weight VLM on an M3 MacBook Pro, reads through noise but normalises spelling.
Local inference, zero data egress
Documents carrying personal data never leave the owner’s network. The pages held names, signatures and licence numbers. Both models run on the owner’s own machines over a private network, and no third-party API processes a customer document.
Transcription fidelity over fluency
A record is transcribed verbatim, typos included. When the engines differ inside a word, the VLM is re-prompted on the isolated field for character-by-character output, which weakens its language prior. A recognition error is corrected; an error in the source is preserved and annotated.
Deterministic validation alongside the models
Some errors are in the source document itself, where neither engine can see them. Cross-field rules run on every entry: date monotonicity, work-order sequence, and the ATA chapter matching its maintenance-manual reference.
also decided
| Template first, behind a rendering gate | The layout is fixed before extraction, and the run is blocked until a test page is verified to fit one sheet, with a tolerance calibrated against real Google Docs conversions. |
| A pipeline that fails loudly | A dropped connection once left eight pages verified by one engine only, silently; a run with any page unverified now ends in an explicit error naming the pages. |
The pipeline
| stage | implementation |
|---|---|
| 01 · Template and layout gate | A sample of pages is extracted and rendered into the customer's own Word template. Margins, title, logo and signature block are parameters; the rendering gate must pass before the batch is allowed to run. |
| 02 · Extraction and verification | Pages are deskewed and oriented, the table structure is detected, and each cell is segmented and transcribed by both engines. Disagreements trigger a close-up re-read, then the character-level re-read. Validation rules run in the same pass. |
| 03 · Human-in-the-loop review | An exception queue, not a proofread. Source and reconstruction sit side by side; each escalated field shows both readings, a character-level diff and a crop of the source. Every field keeps its provenance, and the reviewer can override any of them. |
| 04 · Export | A native, editable Word table, one sheet per source page. Extracted data and presentation are stored separately, so the template can be changed and the document regenerated without touching verified data. |
The build
First version built 20–21.XI.2026 against a live job. Python, FastAPI, OpenCV for deskew and table-structure detection, RapidOCR on ONNX Runtime, qwen3-vl:8b via Ollama, python-docx and Word automation for the rendering gate.