Back to Case Studies

Blueprint-to-CAD Conversion

Turning Scanned Drawings into Editable AutoCAD Files

ProductionConstruction & Real EstateJan 2025 – Apr 2025Computer Vision & Document Intelligence
≤ 95%
Less time than redrawing by hand
~0.96
Accuracy of converted lines and text
~17 s
From blueprint image to CAD file
0
Paid OCR or vectorisation services

My Role

Role
Architect & tech lead
Independent consulting
Team
Me + 1 engineer
Stage reached
Deployed for the client
Key decisions
  • Split each drawing into geometry and text layers
  • Ship base converter first, OCR layer second
  • Self-hosted open-source tools, not paid per-image services

Approach at a Glance

Details
  1. 1Evaluating Buy versus Build
  2. 2Separating Geometry from Text
  3. 3Vectorising the Geometry
  4. 4Reading the Text
  5. 5Merging into One CAD File
  6. 6API, Batch Processing and Phased Delivery

Executive Summary

A pipeline that converts scanned and photographed blueprints into editable AutoCAD drawings for a construction and architecture firm. Much of the firm's work starts from existing drawings that exist only on paper or as images. Before they could be changed, someone had to redraw them in CAD by hand, line by line and label by label.

The converter does it automatically. It splits each drawing into what it is made of:

  • geometry: walls, lines, arcs and symbols, vectorised into CAD entities;
  • text: dimensions, room names and notes, detected and read with OCR, then placed back as editable CAD text.

The two layers are merged into one AutoCAD file. A drawing is converted in about 17 seconds, with accuracy stable around 0.96, cutting the time spent per drawing by up to 95% compared with redrawing it by hand. Instead of paying per image for commercial services, the pipeline runs on open-source tools and our own models. I was the architect and tech lead, working with one engineer, from January to April 2025.


Client Profile

The client is a construction and architecture firm. Renovation, extension and refurbishment projects often start from the original plans of a building, and those are frequently old paper drawings or scans. Working with them in modern CAD tools meant redrawing them first: slow, skilled and repetitive work.

Why automating it is hard:

  • Image quality: scans and photos have noise, skew, faded lines and stains, so a line can look broken and a stain can look like a line.
  • Mixed content: geometry and text overlap. Dimension labels sit on top of lines, and text recognised as lines (or lines read as characters) corrupts both.
  • Precision: a drawing is only useful if its lines connect and its dimensions are read correctly.
  • Cost at volume: commercial vectorisation and OCR services charge per image, which adds up across archives of drawings.

Technical Approach

  1. Evaluating Buy versus Build – I started by evaluating commercial services for vectorisation and OCR: they gave a baseline for speed and cost per image. The decision was to build on open-source vectorisation and OCR, combined with our own models, so there is no per-image fee.

  2. Separating Geometry from Text – The key design decision was to treat a blueprint as two layers. Text regions are detected first, so the vectoriser doesn't turn letters and digits into tiny line fragments, and the OCR isn't confused by lines running through the labels. Each layer is processed with the method that suits it best.

  3. Vectorising the Geometry – The cleaned drawing without text is vectorised into CAD entities, such as lines, arcs and polylines, so walls and outlines become real, editable geometry rather than a picture.

  4. Reading the Text – The detected text regions go through OCR, and the recognised dimensions, labels and notes are placed back as text entities at their original positions in the drawing.

  5. Merging into One CAD File – Geometry and text are combined into a single AutoCAD file that an architect can open and edit straight away. Accuracy was stable around 0.96.

  6. API, Batch Processing and Phased Delivery – The converter runs behind an API with a processing pipeline, and batches of drawings are processed in parallel, at about 17 seconds per drawing. We delivered in two phases: first the base converter for geometry with the API, pipeline, tests and deployment, then the OCR layer on top. The client could start using the converter before text recognition was added. The solution was deployed for the client.


Business Outcome

The firm replaced manual redrawing with an automatic converter: a scanned blueprint becomes an editable AutoCAD drawing in about 17 seconds, cutting the time spent per drawing by up to 95%, with accuracy stable around 0.96. Because the pipeline is self-hosted, there is no per-image fee, so converting an entire archive of drawings costs no more in licences than converting one.

The project showed the value of splitting a mixed document into the parts that need different tools. Treating a blueprint as geometry plus text, rather than one image, is what made both layers accurate.

Technologies

Computer VisionImage VectorisationOCRDocument ProcessingAutoCAD (DXF/DWG)REST APIParallel Processing

Planning something similar?

Tell me about it on a short call. New projects can start within 2 weeks