mirror of
https://mgit.msbls.de/mAi/house-design.git
synced 2026-04-09 07:52:02 +00:00
New FloorplanImporter module that accepts floor plan images (architect drawings, realtor photos, hand sketches) and uses Claude or OpenAI vision APIs to convert them into the project's house JSON format for immediate 3D viewing. Features: - Drag-and-drop image upload with preview - Multi-provider support (Claude Sonnet, GPT-4o) - Canvas preprocessing (resize to 2048px max) - Structured prompt engineering for accurate room extraction - JSON validation and auto-repair of common LLM output issues - Result preview showing rooms, doors, windows counts - Inline JSON editor for manual corrections - API key persistence in localStorage - Integrated into sidebar File section as "Import Floor Plan" button