Spaces:
Sleeping
Sleeping
Download Readme.txt from MrDasOfficial/floorplan-analyzer: direct link, hf CLI and curl.
- Browser
- Download file 1.92 kB
-
https://huggingface.co/spaces/MrDasOfficial/floorplan-analyzer/resolve/main/Readme.txt
- Command line
-
hf download hf://spaces/MrDasOfficial/floorplan-analyzer/Readme.txt
-
curl -L -o Readme.txt https://huggingface.co/spaces/MrDasOfficial/floorplan-analyzer/resolve/main/Readme.txt
1.92 kB
| 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 | |