Document AI and OCR engineering

Christine Straub · Lead Machine Learning Engineer

I build systems that turn scanned and digital documents into structured data. At Unstructured I owned the open-source hi_res PDF and image partitioning path used for RAG ingestion: YOLOX layout detection, embedded-text merging and OCR only where text is missing. It cut peak memory on large PDFs from 12.9 GB+ to a flat 848 MB. I'm one of the maintainers of Unstructured's open-source repositories (15K+ stars).

At Medici Land Governance I was technical lead on legal-record extraction: a Gemini pipeline that escalates from Flash/Lite to Pro, Qwen3-VL 32B self-hosted on vLLM, and an evaluation service that gates every model release. A column-detection pipeline cut manual review by 40% on millions of 1850s-era court dockets.

flat peak memory on large PDFs, down from 12.9 GB+
848 MB
OCR accuracy from Tesseract and PaddleOCR tuning
+15%
less manual review on historical court records
40%
GitHub stars on the open-source parser
15K+

Case study

Document AI: OCR, layout models and vision-language extraction

Medici Land Governance · Unstructured

Extraction of structured fields from land records (deeds, liens, mortgages, court dockets) at Medici Land Governance, and the open-source hi_res PDF and image parser at Unstructured. Both turn scanned and digital documents into structured data for downstream systems.

Document AI: OCR, layout models and vision-language extraction
  1. Scanned & digital PDFs
  2. Layout detection
  3. Targeted OCR
  4. Vision-language extraction
  5. Schema-validated fields
flat peak memory, was 12.9 GB+
848 MB
recall on difficult documents
48% → 90%
less manual review on court records
40%
Illustrative preview · Source: Christine Straub's project records
  • Qwen3-VL
  • vLLM
  • Gemini
  • Claude
  • Instructor
  • Pydantic
  • YOLOX
  • Tesseract
  • PaddleOCR

Outcomes

  • Designed and productionized a Gemini (Vertex AI) extraction pipeline for land records, escalating from Flash/Lite to Pro to balance throughput and cost
  • Self-hosted Qwen3-VL on vLLM and tuned batching and memory use for throughput
  • Nearly doubled recall on difficult documents (48% to 90%) in evaluation by adding a readability-routing stage
  • Main contributor to the production document AI platform, including its evaluation service, and wrote its architecture decision records
  • At Unstructured: cut hi_res peak memory on large PDFs from 12.9 GB+ (process killed) to a flat 848 MB

Projects

Semantic type detection for personal data
  1. Unlabeled column
  2. Embedding features
  3. Neural classifier
  4. Semantic type
accuracy per column type
90%+
Illustrative preview · Source: Christine Straub's project records
Document AI & Data Quality

Semantic type detection for personal data

DQLabs

A deep learning model (Sherlock and Sato approaches, GloVe and BERT/SBERT features) that classifies each column's semantic type from its values, extendable with new training samples.

Key achievement

Finds personal data such as names, Social Security numbers and phone numbers in unlabeled columns.

  • SBERT
  • GloVe
  • Keras
  • PyTorch
  • NLTK
  • PySpark
Building-defect document assistant
  1. Uploaded documents
  2. OCR
  3. NER & embeddings
  4. Document classifier
Illustrative preview · Source: Christine Straub's project records
Document AI & Data Quality

Building-defect document assistant

AI Customer Assistance

OCR text extraction from uploaded documents, then named entity recognition, word embeddings and context matching to classify each question.

Key achievement

Trained a document classifier on large building-defect specification PDFs so owners and clients reach the right part of the reference library.

  • Python
  • OCR
  • named entity recognition
  • word embeddings
RFP proposal generator
  1. Template choice
  2. Template library
  3. Document generation
  4. Emailed RFP
Illustrative preview · Source: Christine Straub's project records
Document AI & Data Quality

RFP proposal generator

Perceptyx

A Django application over a MySQL library of RFP templates, with Python handling Word, Excel and PDF files.

Key achievement

Builds a finished RFP from the chosen template in PDF, Word or Excel and emails it to the user.

  • Python
  • Django
  • Mezzanine
  • MySQL
Open-source hi_res PDF parser for RAG ingestion
  1. PDF or image
  2. Layout detection
  3. Text merge
  4. Targeted OCR
  5. Structured elements
flat peak memory, was 12.9 GB+
848 MB
layout accuracy
+10%
OCR accuracy
+15%
GitHub stars
15K+
Illustrative preview · Source: Christine Straub's project records
Document AI & Data Quality

Open-source hi_res PDF parser for RAG ingestion

Unstructured (open source)

Owned the hi_res PDF and image partitioning path: YOLOX layout detection, embedded pdfminer text merged with model-inferred layout, OCR only on regions with no text, XY-cut reading order, and image and table extraction exposed through the library and API.

Key achievement

Cut peak memory on large PDFs from 12.9 GB+ (process killed) to a flat 848 MB by processing pages from disk, as one of the maintainers of the open-source repositories.

  • YOLOX
  • Detectron2
  • Tesseract
  • PaddleOCR
  • pdfminer
  • Docker
Legal document extraction at scale
  1. Scanned records
  2. Column detection
  3. Gemini extraction
  4. Schema validation
  5. Structured fields
less manual review
40%
of historical court dockets
Millions
Illustrative preview · Source: Christine Straub's project records
Document AI & Data Quality

Legal document extraction at scale

Medici Land Governance

An end-to-end Gemini (Vertex AI batch and realtime) pipeline that extracts structured fields from deeds, liens, mortgages and court dockets, escalating from Flash/Lite to Pro to balance throughput and cost.

Key achievement

A deep-learning column-detection pipeline cut manual review by 40% across millions of 1850s-era court dockets.

  • Gemini (Vertex AI)
  • Google Document AI
  • Instructor
  • Pydantic
  • BigQuery

Products

TractWise

MVP

Source-cited review packets for oil and gas land and acquisitions diligence: leases, assignments, title opinions, run sheets and well files.

  • Next.js 14
  • SQLite
  • Clerk
  • pdf.js
  • PDFKit
  • Playwright

Alia Health

Prototype

Referral intake and admission-readiness workspace for skilled nursing facilities that receive referral packets by fax and email.

  • React 19
  • Hono
  • tRPC
  • Drizzle
  • MySQL
  • Playwright

More projects

  • hi_res PDF and image partitioning

    Unstructured

    Owned the path that turns scanned and digital PDFs into ordered elements for RAG. Split layout detection (YOLOX) from text handling so embedded pdfminer text merges first and OCR runs only on missing regions, then added XY-cut ordering for multi-column pages. OCR accuracy rose 15%.

    • Python
    • YOLOX
    • Tesseract
    • PaddleOCR
    • pdfminer
    • Docker
  • Legal document extraction with difficulty-aware routing

    Medici Land Governance

    Extracts structured fields from deeds, liens, mortgages and court dockets with a Gemini pipeline that escalates from Flash/Lite to Pro to balance throughput and cost, alongside Qwen3-VL self-hosted on vLLM.

    • Qwen3-VL
    • vLLM
    • Gemini
    • Claude
    • Pydantic
  • Building-defect OCR and NLP

    AI Customer Assistance

    Document AI for residential building defects: OCR pulls text from uploaded specification PDFs, then named entity recognition, word embeddings and context matching route each owner or client question to the right part of a reference library. The document classifier was trained on large defect-specification PDFs.

    • Python
    • OCR
    • named entity recognition
    • word embeddings
    • document classification

Skills

Document AI & OCR

  • intelligent document processing (IDP)
  • OCR
  • layout detection
  • table-structure recognition
  • reading order (XY-cut)
  • key information extraction
  • vision-language extraction
  • schema validation
  • human-in-the-loop review
  • Tesseract
  • PaddleOCR
  • Google Document AI
  • Unstructured (open source)

Model Serving & GPU Optimization

  • vLLM
  • SGLang
  • TensorRT-LLM
  • TensorRT
  • ONNX Runtime
  • Triton Inference Server
  • Ray Serve
  • quantization (AWQ, GGUF)
  • continuous batching
  • KV-cache tuning
  • A100 / H100 GPU inference
  • CUDA C++
  • custom GPU kernels (GEMM, attention)
  • Nsight Compute / Nsight Systems
  • latency & throughput benchmarking

Frequently asked questions

What document AI systems has Christine Straub built?

Christine Straub owned the hi_res PDF and image partitioning path in Unstructured's open-source library, which feeds retrieval-augmented generation (RAG) and LLM ingestion. At Medici Land Governance, Christine led extraction from deeds, liens, mortgages and court dockets, with Gemini on Vertex AI and Qwen3-VL served on vLLM.

Which OCR and layout models does Christine Straub use?

Christine Straub uses Tesseract and PaddleOCR for OCR, and raised OCR accuracy 15% at Unstructured. Layout detection runs on YOLOX, YOLO-NAS and Detectron2, with XY-cut sorting for multi-column reading order. Vision-language models such as Qwen3-VL and Gemini handle field extraction, with schema-validated outputs.

How does Christine Straub evaluate document extraction?

Every model or prompt change is compared against a hand-labeled gold set before it ships, and the evaluation service gates releases against a measured noise floor. Adding a readability-routing stage nearly doubled recall on difficult documents in evaluation, from 48% to 90%.

Other expertise