dometria

How accurately plans are read

Only real measurements are listed here — each with a date, the number of plans checked and the method. The numbers are not typed in by hand: they come from comparing the plan as read against a known truth.

Last measurement:

1. Three kinds of check

They check different things and should not be mixed up.

  • The automated tests check the code: the geometry, the scale, the 3D model, the furnishing, the lighting, the catalogue and the site. They need no internet — Gemini is replaced with a recorded answer. They show that the code gives the same result for the same input, but they do not measure how accurately a new drawing is read.
  • Synthetic drawings check the reading: a drawing is rendered from a known plan, Gemini reads it, and the areas are compared with those in the known plan.
  • Real drawings — photos and scans of actual plans: the areas from the reading are compared with the ones written on the drawing itself.

Separately there is a geometry check with no reading at all: the calculated net floor area of a hand-entered plan against the areas written in it.

2. The measurements

  • Measurements: 4
  • Plans: 4
  • Rooms: 17
DateTypePlansRooms recognisedMean errorLargest
Oct 18, 2026Synthetic drawingModel: gemini-3.7-flashgemini-3.5-flash was overloaded (503) — the same as the server's fallback model14 of 41.73%2.28%
Oct 18, 2026Synthetic drawingModel: gemini-3.5-flash2 of 6 dimensions rejected as inconsistent — the scale is ~8% too large; every room is 12–19% larger17 of 716.02%18.69%
Oct 18, 2026Synthetic drawingModel: gemini-3.5-flash12 of 20.08%0.1%
Oct 18, 2026Geometry (no reading)no reading — only the net area calculation14 of 40.14%0.18%
  • Synthetic drawing — known plan → drawing (tools/render_plan) → Gemini → the areas against the known plan
  • Geometry (no reading) — hand-entered plan → the calculated net area against the area written in the plan
Areas room by room

Oct 18, 2026 · Synthetic drawing · samples/demo/plan.json

RoomTrue areaCalculated areaFailed
Living room18.37 m²17.95 m²-2.28%
Kitchen15.75 m²15.50 m²-1.54%
Entrance hall5.11 m²5.03 m²-1.56%
Bathroom5.11 m²5.03 m²-1.56%

Oct 18, 2026 · Synthetic drawing · samples/demo_apartment/plan.json

RoomTrue areaCalculated areaFailed
Bedroom17.95 m²21.04 m²17.23%
Living room24.59 m²28.18 m²14.61%
Kitchen9.81 m²11.14 m²13.52%
Bathroom11.20 m²13.25 m²18.34%
Entrance hall8.72 m²10.25 m²17.47%
Storage room4.04 m²4.80 m²18.69%
Balcony5.17 m²5.81 m²12.29%

Oct 18, 2026 · Synthetic drawing · tests/fixtures/spalnya.json

RoomTrue areaCalculated areaFailed
Bedroom12.78 m²12.77 m²-0.06%
Entrance hall6.08 m²6.09 m²0.1%

Oct 18, 2026 · Geometry (no reading) · samples/demo/plan.json

RoomTrue areaCalculated areaFailed
Living room18.40 m²18.37 m²-0.17%
Kitchen15.75 m²15.75 m²-0.02%
Entrance hall5.10 m²5.11 m²0.18%
Bathroom5.10 m²5.11 m²0.18%

The raw files of every reading — the drawing, Gemini's answer and the plan as read — are kept together with the project's code (docs/tochnost/).

3. How the error is calculated

For every room recognised by name:

error = (calculated area − true area) ÷ true area × 100%

  • Calculated area — the room's net floor area as Dometria calculates it: the area between the walls, without their thickness.
  • True area — for a synthetic drawing, the area of the same room in the known plan; for a real one, the area written on the drawing.
  • Mean error — the average of the errors without their sign. Largest — the largest of them.
  • A room that was not recognised is left out of the mean — the count is shown separately ("6 of 7 rooms").

4. What they show and what they don't

As of Oct 18, 2026. Across the three synthetic drawings (13 rooms) every room was recognised. For two of them the error is below 2.3%. In the third (7 rooms) every room comes out 12–19% larger: two of the six dimensions read were rejected as inconsistent and the scale stayed about 8% too large. This is exactly the kind of error that the plan check fixes — see "If the reading is wrong".

Three drawings are not statistics. They are clean renderings — with no shadows, tilt, noise or handwriting. For photos and scans of real plans the error may be larger.

5. Real drawings

No measurement on a real drawing has been recorded yet. That is why there is no figure here for photos and scans of actual plans — it will appear in the table once it has been measured.

Every such measurement is made the same way: the areas written on the drawing are copied down, the drawing is read, and the two are compared room by room. The result goes into the table above as "Real drawing".

6. If the reading is wrong

AI can make mistakes — miss a wall, mistake a door for a window or misread a dimension. That is why the 3D model is not built straight after the reading: in the dashboard you see the walls, doors, windows and rooms over your drawing and can correct them.

  • move, delete and add walls, doors, windows and rooms;
  • rename a room and enter its area from the drawing — the difference is shown next to it;
  • "Fit the scale to these areas" corrects the scale if every room comes out larger or smaller;
  • the model is built only once you confirm. The uploaded drawing and the first reading are kept unchanged.

7. The automated tests

They run with pytest and none of them needs the internet. This version has 1165. Among them: areas worked out by hand; a round trip — the plan is turned into pixels and back, and the areas come back to within 0.01 m²; cutting the doors and windows out of the 3D walls; the scale calibration, which rejects a misread dimension; the plan check by a person; and the client report.

The tests say the code does what it should. How accurately a new drawing is read is shown only by the measurements above.