AI-powered blueprint parsing engine that extracts room layouts and dimensions from residential floor plans, then calculates material quantities and cost estimates.
The Blueprint Intelligence Engine (BIE) is a tool designed to:
- Accept residential floor plan uploads (PDF/image formats)
- Parse blueprints using GPT-4 Vision to identify rooms and dimensions
- Calculate material estimates for flooring, drywall, and paint
- Display results with cost ranges (low/mid/high)
This project has two potential products:
- Consumer App: A web application for homeowners and contractors
- White-Label API: A B2B API product for integration into other platforms
Current Phase: Phase 0 - Setup & Foundation
| Phase | Status | Description |
|---|---|---|
| Phase 0 | 🟡 In Progress | Setup & Foundation |
| Phase 1 | ⚪ Not Started | Proof of Concept |
| Phase 2 | ⚪ Not Started | MVP Development |
| Phase 3 | ⚪ Not Started | Launch & Iterate |
| Phase 4 | ⚪ Not Started | White-Label API |
blueprint-intelligence-engine/
├── data/
│ ├── blueprints/ # Raw blueprint files (PDF, PNG, JPG)
│ ├── processed/ # Pre-processed images
│ └── ground_truth/ # Manual annotations for testing
├── src/
│ ├── preprocessing/ # Image preprocessing modules
│ ├── parsing/ # AI parsing logic
│ ├── calculation/ # Material calculation engine
│ └── api/ # API wrapper (Phase 4)
├── tests/ # Test scripts
├── notebooks/ # Jupyter notebooks for experimentation
├── docs/ # Documentation
├── .env.example # Example environment variables
├── .gitignore
├── requirements.txt
└── README.md
- Python 3.11+
- Tesseract OCR
- Poppler (for PDF processing)
- OpenAI API key
-
Clone the repository:
git clone https://github.com/scruffyjerk/blueprint-intelligence-engine.git cd blueprint-intelligence-engine -
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Install system dependencies:
# Ubuntu/Debian sudo apt-get install tesseract-ocr poppler-utils # macOS brew install tesseract poppler
-
Configure environment variables:
cp .env.example .env # Edit .env and add your OpenAI API key
python src/poc_pipeline.py --input data/blueprints/sample.pdf| Component | Technology |
|---|---|
| AI Model | GPT-4 Vision (gpt-4o / gpt-4.1-mini) |
| OCR | Tesseract |
| Image Processing | OpenCV, Pillow |
| PDF Processing | pdf2image, Poppler |
| Backend (MVP) | FastAPI |
| Frontend (MVP) | React |
| Metric | PoC Target | MVP Target |
|---|---|---|
| Room Detection Accuracy | 70% | 85% |
| Dimension Extraction Accuracy | 50% | 70% |
| Processing Time | < 60s | < 30s |
| Cost Per Blueprint | < $0.15 | < $0.10 |
This is currently a private project in development. Contribution guidelines will be added when the project opens for collaboration.
TBD
Built with assistance from AI tools including Manus, Claude, and GitHub Copilot.