Skip to content
OCRUpdated 8 min read

Floor Plan OCR: Rotated Tags, Dimensions and Title Blocks

By Floor Plan Analyzer, an AxcelerateAI practice

The hard part of drawing OCR is turning a readable string into a traceable field. A correctly read number has little value if the receiving application assigns it to the wrong door or revision.

Fictional drawing fragment showing an oriented door tag, dimension evidence and title-block fields
Original educational schematic. The fields are fictional, not measured OCR output.

At a glance

Floor plan OCR extracts text from drawing regions and preserves its location. Use native text where it agrees with the image, rectify rotated crops when needed, and validate field meaning and associations before export. A correctly read string can still describe the wrong element.

Choose native text or OCR by region

Check selectable text against the rendered sheet before routing a page. A searchable PDF may still be a scan with a misaligned text layer. A vector export may contain outlined letters that are visible but not extractable as text. Keep the native candidate when its content and position agree with the image; route uncertain regions to OCR.

Record the sheet, revision, page index and crop. Compare the two evidence sources rather than concatenating them. For example, if the native layer reads D-01 and a rendered crop reads D-07 at the same position, retain the conflict for review. It should not become two door records.

Orient the crop without losing its source location

Treat page rotation and text rotation separately. A landscape sheet can contain upright notes and vertical room names. Detect candidate regions, estimate a baseline, rectify each crop for recognition, and map its corners back to the original page. For native text, PyMuPDF documents recovery of oriented quadrilaterals from line direction and span data.

Store the transform used to rectify a crop. A reviewer needs the original quadrilateral, not the rectangle in the upright recognizer input. Verify both directions on a known rotated region; text can be correct while its source link is wrong. For short or nearly symmetric tags, test competing orientations and retain ambiguity when they yield different plausible marks.

References: PyMuPDF: recovering oriented text quadrilaterals

Route tags, dimensions, notes and title blocks differently

The same recognizer can propose strings for different fields, but acceptance rules should reflect the field. A plausible number is not necessarily a dimension. A note that contains a door mark is not necessarily the label attached to a door.

Route tags, dimensions, notes and title blocks differently
FieldRetainReview when
Door or window tagRaw mark, source region, candidate hostNearby symbols compete or characters are ambiguous
DimensionRaw string, unit evidence, witness-line endpointsUnit or measured span is unclear
NoteLine breaks, callout reference and scopeLeader or continuation is missing
Title blockLabel-value pair, source region and revision evidenceMultiple issue records or conflicting sheet identifiers

Normalize dimensions only after resolving their meaning

A fictional dimension reads 3 feet 6 inches. That is 42 inches, or 1,066.8 mm using NIST’s exact factor of 25.4 mm per inch. A separate printed value of 1067 mm is consistent with rounding to the nearest millimetre. The arithmetic does not establish that the two strings refer to the same opening.

Keep raw text alongside parsed value, unit and precision. Check that witness lines refer to the same endpoints before comparing a segment to its overall dimension. A string of 1067 without a confirmed unit remains unresolved. If the result will feed a clear-opening field, require evidence that the drawing actually names a clear opening.

References: NIST: exact inch-to-millimetre conversion

Bind marks and notes to what they describe

Use leader endpoints, containment and local geometry as candidate evidence. Nearest-neighbor matching alone can attach a tag to the wrong door when two swings share a small vestibule. Keep competing candidates, and resolve the mark against the appropriate schedule and revision only when the evidence supports it.

Preserve the distinction between printed text and inferred interpretation. For example, a note reading VERIFY ON SITE is an observed string. Treating it as an approval to proceed would reverse its meaning. Retain the source note and attach it to the receiving record only when its scope is established.

Extract title-block fields with an explicit issue policy

Locate the block, read field labels and values, and separate the current sheet revision from historical rows. Autodesk’s authoring guide describes extracting sheet numbers and configured attributes for review. In your own workflow, decide whether the title block, issue register or another agreed source controls document identity when they disagree.

Hold duplicates across buildings or disciplines until scope is known. Do not pick the highest-looking revision token across different numbering systems. Keep issue date, revision label and drawing number as distinct fields; changing a date alone should not overwrite a reviewed drawing record.

References: Autodesk: drawing extraction authoring guide

Evaluate recognition and association separately

Build a small reference set covering tiny tags, diagonal labels, mixed native and scanned content, revision tables and unsupported units. For each field, record the expected text, region, host and whether it should be accepted or held. Compare exact mark matches and numeric results separately from host matching.

Check what arrives in the receiving worksheet: can a reviewer reopen the original region, see why a value was held and retain their correction across re-extraction? Count unresolved candidates and missed regions as well as accepted strings. Agree thresholds with the downstream owner; a generic OCR score cannot establish fitness for takeoff or coordination.

Start with a drawing family and a receiving field

Bring a representative sheet and identify the field whose errors matter most, such as rotated door tags for schedule reconciliation or revision labels for sheet indexing. We fine-tune our models on your drawing conventions and engineer the evidence and review handoff. This guide does not claim every scan or mark can be read.

Frequently asked questions

Should I OCR every PDF page?

First compare native text with the rendered sheet. Use targeted OCR for missing or unreliable regions and reconcile duplicate candidates.

Does a recognized dimension give a verified opening width?

Only after confirming its unit, endpoints and field meaning. Preserve unresolved values for review.

References and illustration notes

Sources support the terminology and interpretation notes cited above. Worked examples and diagrams are our own educational material, not client drawings or measured project results.

Start here

Try it on a drawing of your own

Reading about this is one thing. Send one sheet and we will run it through our models and send back what they find, with an overlay you can hold against the original.
  • One sheet is enough — PDF, DXF or a scan
  • Back in about 2 business days, with an annotated overlay
  • No call required, NDA on request

Send us one sheet

We run it through our floor plan models and send back the extracted data with an annotated overlay, so you can see what comes off your own drawings before anyone books a call.

  • Back in about 2 business days
  • PDF, DXF or a scan
  • NDA on request

After your enquiry is sent, you’ll go to Calendly to choose a discovery-call time. Booking is optional.

This is our base model, before any tuning for you. On a paid project we train it further on your own drawings, which is where the rest of the accuracy comes from. So this shows you the starting point, not the best we can do.

By submitting, you agree to our Privacy Policy. We never share your details.

Get in touch

Tell us what is on your drawings

Describe the sheets you get and what you need off them. We will tell you what our models already handle, what needs fine-tuning on your drawings, and what is not worth automating at all.

Reply time
Within 1 business day

Would rather show than tell? Send one sheet for a free analysis

After your enquiry is sent, you’ll go to Calendly to choose a discovery-call time. Booking is optional.

We reply within 1 business day.

By submitting, you agree to our Privacy Policy. We never share your details.

Drawing intelligence

Let’s start with your drawing.

Where should we send the next step?