Computer vision answers · Construction
What is the best computer vision model for floor plan detection?
One that knows your drawings, not just floor plans in general.
Short answer
For most floor plans, the best model is an instance segmentation model such as RF-DETR Seg, fine-tuned on your own drawings with Roboflow for free. It outlines walls and rooms as shapes rather than boxes, and pairs with an RF-DETR detection model for door and fixture symbols and an OCR model for room names and dimensions. No off-the-shelf model knows your drawing style, so a model fine-tuned on your own plans will usually beat a bigger general model used as it is.
Skip the setup. Describe your images.
Describe your images and what you need to find. The agent sets up labeling, training and deployment with you.
Key facts
- Walls and rooms
- RF-DETR Seg, an instance segmentation model
- Doors and symbols
- RF-DETR object detection, or the same segmentation model
- Room names and sizes
- An OCR model run on each text label
- Labeling help
- SAM 3 pre-labels plans in Roboflow Annotate

How to choose a floor plan model, step by step
Six steps from your own drawings to a model you have tested on them.
Connect Roboflow to your coding agent, ChatGPT or Codex
Match the model type to what you need from the plan
Label your own plans
Fine-tune RF-DETR Seg on your plans
Compare models on plans you have already counted
Pythonimport supervision as sv from collections import Counter from inference import get_model for model_id in ("your-project/1", "your-project/2"): model = get_model(model_id) result = model.infer("test_plan.png", confidence=0.4)[0] detections = sv.Detections.from_inference(result) print(model_id, Counter(detections.data["class_name"])) # your-project/1 Counter({'wall': 21, 'room': 6, 'door': 5}) # your-project/2 Counter({'wall': 24, 'room': 6, 'door': 7})Rather not write code? Ask the Roboflow agent to set this up for you
Add OCR for room names and run every plan
Why 2 million engineers build on Roboflow
Label faster
Auto-label with SAM 3 or your own model, then fix the misses instead of drawing every box.
RF-DETR
Roboflow’s open-source real-time detection model, built for accuracy (opens in a new tab) on small objects.
Logic built in
Counting, zones, tracking and alerts are ready-made Workflow blocks, so there is less code to write.
Your model, your weights
Use your trained weights on every plan, including free, through the open-source Inference package.
Run it anywhere
Self-host on a workstation, Docker, an on-prem GPU or an edge device, or call the cloud API.