Enterprise

Architectural Plan Analyzer

Automated building code compliance for Turkish regulations

Production-Grade Compliance Engine

Production-grade engine for automated compliance checking of architectural plans against Turkish building codes. Specifically implements regulations for Izmir Province, Urla District, Gulbahce District and Karapinar Location, 1/1.000 Scale Application Development Plan.

Built with FastAPI, PyMuPDF, Shapely, NetworkX, and YOLOv8 for comprehensive PDF ingestion, vector extraction, geometry graph building, rule validation, and report generation.

Code Coverage

Zone Types 8 (GDKY/MKA/GKA/TIC/OTEL+)
Rules 30+ Compliance Checks
Reports JSON/HTML/PDF
DPI 800 (Configurable)

Core Features

PDF Ingestion & Processing

Multi-resolution rendering (default 800 DPI), automatic tiling for large pages, and page-by-page processing with caching.

Vector & Text Extraction

PDF vector path extraction with PyMuPDF and pdfplumber, wall detection from thick lines, text box extraction with positioning, and dimension parsing.

Geometry Graph Builder

Room polygon detection via wall topology, parcel boundary detection, building footprint extraction, setback computation, and egress graph generation with NetworkX.

Vision Detection (Optional)

Door/window symbol detection with YOLOv8, opening snap-to-wall, and room label recognition with OCR.

Rule Engine

30+ codified compliance rules, zone-based applicability, FAR/TAKS/KAKS calculations, setback validation, and floor count & height limits.

Report Generation

JSON, HTML, and PDF format reports with evidence crops, annotations, signed audit trail (SHA-256 hash), and Turkish language output.

Technical Specifications

API Gateway
FastAPI + Pydantic
PDF Processing
PyMuPDF (fitz) + pdfplumber
Geometry
Shapely + rtree
Graph Algorithms
NetworkX
OCR (Optional)
PaddleOCR
Vision (Optional)
YOLOv8
Rule Configuration
YAML
Report Formats
JSON/HTML/PDF

Ready to Automate Compliance?

Deploy production-grade building code compliance checking for Turkish regulations