Skip to content
Complete guide

Automatic floor plan analysis: how AI reads an architectural drawing

Under the hood of a floor plan AI: object detection, segmentation, training datasets โ€” explained without jargon, with the models' real limits.

An architectural drawing is a graphic language: two parallel strokes make a wall, an arc a door, a divided rectangle a window. A trained human reads it in seconds. For a machine, it long remained out of reach โ€” conventions vary from one firm to the next, plans are noisy, annotated, hatched. Modern vision models changed that: trained on thousands of annotated plans, they locate doors, windows, walls and rooms with confidence scores, then derive areas and quantities. This guide explains how these models work, what they train on, and โ€” most importantly โ€” how their results actually hold up on your plans.

Object detection: how AI spots doors and windows

Object detectors (the YOLO family being the best known) learn to frame each element of an image with a box, a class and a confidence score. Applied to floor plans: the model sees tens of thousands of door examples โ€” hinged, sliding, double-leaf, in every drawing style โ€” and learns the visual patterns that distinguish them. At inference, it sweeps the whole plan in one pass and returns every door and window with its exact position. That position, crossed with the plan's scale, is what then allows opening widths to be measured in real meters.

Segmentation: extracting walls and rooms pixel by pixel

A box isn't enough for a wall that crosses the whole plan: you need segmentation โ€” classifying every pixel (load-bearing wall, partition, room interior, exterior). Models rely on public datasets of plans annotated room by room, supplemented with proprietary data to cover local conventions: French plans, with their filled walls and NF dimensioning, look nothing like the American plans most generic models are trained on. From the pixel masks, clean polygons are then reconstructed: room contours, partition axes, building footprint โ€” the geometry that feeds areas, perimeters and DXF exports.

From detections to data: areas, scores and exports

A model's raw output โ€” boxes and masks โ€” only becomes useful after post-processing: detecting the scale from the dimensions, converting polygons to real mยฒ, merging redundant detections, and displaying each element with its confidence score for fast human review. That complete chain is what separates a research demo from a production tool: the model proposes, the validation interface lets you settle ambiguous cases, and the final data ships as Excel, annotated PDF or DXF. The AI reads the plan; you keep the decision.

FloorScan for your profession

Frequently asked questions

What elements can an AI detect on a floor plan?

Production models detect load-bearing walls and partitions, doors (with their swing direction), windows, rooms with their use, and the building footprint. From these they derive areas in mยฒ, perimeters, wall linears and opening counts โ€” all with a per-element confidence score.

Why do generic models fail on French plans?

Because they're trained on mostly North American or Scandinavian corpora: different drawing conventions, wall thicknesses, door symbols and dimensioning habits. A model that performs well on those corpora can collapse on a French building permit plan. The remedy: fine-tuning on annotated local plans.

Can AI analyze a site plan or a facade?

The same techniques apply: on a facade, detection locates openings and their dimensions to prepare a renovation or joinery estimate; on a site plan, it extracts the built footprint. FloorScan already offers facade analysis; site plan analysis is coming.

Can layout quality be scored automatically?

Once the plan is structured into rooms, areas and circulations, objective indicators can be computed: area ratios, room depth, potential natural light, circulation efficiency. It's the logical next step of plan analysis โ€” an automated layout quality score, which FloorScan is actively working on.

Watch the AI read your plan live

Import a plan and watch every wall, door and room appear with its confidence score. Free, no credit card.

Try the demo