Floor-plan document intelligence

A pipeline that turns raster floor plans into five-class segmentation masks, OCR tokens, approximate polygons, and review-aware JSON.

Project notes.

0.577five-class mIoU on held-out data, up from 0.312 for the classical baseline

01OVERVIEW

A pipeline that turns raster floor plans into five-class segmentation masks, OCR tokens, approximate polygons, and review-aware JSON.

Uses SegFormer-B0, Tesseract, conservative spatial links, and a local inspection viewer.

02APPROACH

STEP 01SegmentPredict five classes from a raster floor plan.
STEP 02ReadExtract text tokens with OCR and conservative spatial links.
STEP 03ReviewInspect approximate polygons and JSON before use.

03RESULTS

Five-class mIoU rose from 0.312 for the classical baseline to 0.577 on held-out data.

04LIMITATIONS

Honest about limits

Geometry is approximate pixel-coordinate output, not CAD or BIM reconstruction.

05STACK

  • SegFormer
  • OCR
  • Geometry
  • Evaluation
Code & evaluationView repository

FROM THE REPOSITORY

Floor-plan document intelligence: floor plan with segmentation prediction and reference mask
Example from the project repository; source dataset terms apply.
All projects on the home page