Floorplan Analyzer ------------------------------------------- AI-powered application for analyzing architectural floor plan images. Features: - Door detection and counting - Architectural text search Technologies: - Python - YOLOv8 - EasyOCR - OpenCV - Gradio Project Structure ----------------- project/ ├── app.py ├── requirements.txt ├── models/ │ └── best.pt ├── utils/ │ ├── extractor.py │ ├── preprocessor.py │ └── data_creator.py Setup Instructions 1. Create Virtual Environment ---------------------------- Windows: python -m venv venv_name Activate Environment: venv_name\Scripts\activate 2. Install Requirements -------------------------------- pip install -r requirements.txt Important Note About Torch Installation ---------------------------------------- On some systems, torch installation may fail due to CUDA or platform-specific issues. If installation stops because of torch: - continue normally - run the application - install only missing packages manually =========================================================== Run: python app.py =========================================================== If any package is missing, install it manually. Example: pip install opencv-python The application supports CPU inference. Run Application python app.py After launching, Gradio will provide a local browser URL similar to: http://127.0.0.1:7860 Open it in your browser. Using the Application Door Detection - Upload floor plan image - Select "Count Doors" - Submit Text Search - Upload floor plan image - Select "Search Text" - Enter query text - Submit Notes - Door detection uses tiled inference - OCR uses EasyOCR with fuzzy matching - CPU inference supported Author - Aswin Das