This project provides tools to efficiently parse Centris real estate listings for the purpose of calculating the price per square foot of a property. Leveraging OCR (Optical Character Recognition) technology, the tool automates the extraction and analysis of room dimensions from property listings. This enables users to gain quick insights into property value based on area.
- Automated Room Dimension Parsing: Process screenshots of property listings, extracting room dimensions using advanced OCR techniques.
- Area Calculation: Automatically calculate the total area of each room and the entire property.
- Price Per Square Foot Analysis: Evaluate and display the price per square foot, offering a clear measure of the property's value.
- Capture Property Data: Take a screenshot of the room dimensions from a Centris property listing.
- Data Preparation: Copy the screenshot image into the
data/
folder. - Automated Processing: The tool processes the image, calculates the total area of the rooms, and computes the price per square foot.
Follow these steps to set up the project environment:
- Clone the Repository:
git clone https://github.com/simonprudhomme/centris-habitable-area.git
- Create virtual environments and install dependancies:
python -m venv venv source venv/bin/activate pip install -r requirements.txt
- Create .env and add OPENAI_API_KEY:
touch .env # Add the following to .env: # OPENAI_API_KEY=<your api key>