Spaces:
Build error
Build error
A newer version of the Gradio SDK is available:
6.2.0
metadata
title: Subdivision Plan Analyzer
emoji: π
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.32.1
app_file: app.py
pinned: false
license: mit
π Subdivision Plan Analyzer
An AI-powered tool to extract lot information from subdivision plans using OCR and computer vision.
Features
- Automatic Lot Detection: Uses computer vision to identify lot boundaries
- OCR Text Extraction: Extracts lot numbers, dimensions, and areas
- Smart Association: Matches text to corresponding lot boundaries
- Visual Annotation: Shows detected lots with colored overlays
- Data Export: Download results as CSV file
- Summary Statistics: Provides lot count, total area, and averages
How to Use
- Upload Image: Upload a subdivision plan in PNG or JPG format
- Adjust Settings:
- Scale: Set the plan scale (default 1:1000)
- Confidence: Adjust OCR confidence threshold (0.5-0.95)
- Process: Click "Extract Lots" to analyze the plan
- Review Results: Check the extracted data in the table
- Export: Download the results as a CSV file
What Gets Extracted
- Lot Numbers: 3-4 digit identifiers (100-9999)
- Dimensions: Frontage and depth measurements in meters
- Areas: Lot areas in square meters (mΒ²)
- Lot Types: Classification as Standard, Corner, or Small lots
Tips for Best Results
- Use high-resolution images with clear text
- Ensure lot numbers and measurements are legible
- Plans with consistent formatting work best
- Adjust confidence threshold if too many/few items detected
Technical Details
- OCR Engine: EasyOCR with English language model
- Image Processing: OpenCV for boundary detection
- Pattern Matching: Regular expressions for data extraction
- UI Framework: Gradio for web interface
Note
First run may take a few minutes as the OCR models download (approximately 64MB).
Made with β€οΈ using Gradio and EasyOCR