Skip to content
TrustBrain AIContact
Research project

Layout segmentation for scanned documents: from dataset to model

A labeled dataset and segmentation model that finds page regions before OCR.

Led by Dr. Ahmadhon Kamolov, Founder & Lead AI/ML Architect

Context

A 2021 digitization project for scanned book pages with mixed text, figures and degraded print.

Problem

OCR accuracy collapses when text, images and tables are not separated first, and manual region marking does not scale.

Constraints

  • No existing labeled training data
  • Noisy, skewed and degraded scans
  • Heterogeneous page layouts

Solution

  • Designed the labeling scheme and built the training dataset
  • Trained a segmentation model that outputs page regions for downstream OCR
  • Evaluated robustness on low-quality scans

Stack

PythonPyTorchComputer visionOCR

Our role

Dr. Ahmadhon Kamolov: dataset design, model architecture, training and evaluation.

What we would add in production

  • Extend the region taxonomy to IDs, invoices and bank statements
  • Confidence thresholds that route uncertain pages to human review
  • Versioned datasets and reproducible training pipeline