Case study

Room-Type Classification for Real Estate Listing Photos

PropTexx needed every listing photo tagged with its room type, because staging, descriptions, search filters and compliance checks all depend on knowing which room a photo shows.
  • Client: PropTexx
  • Industry: Real Estate & PropTech
  • AI capability: Computer Vision
Visit PropTexx (opens in a new tab)
Confusion matrix of the production room-type model across 33 room classes, from amusement room to wine cellar, with most predictions on the diagonal
Accuracy across 33 room types (production v3)
83.1%
Room types classified
33
Precision on PropTexx's evaluation set
84.2%
F1 on PropTexx's evaluation set
82.5%

The challenge

Every listing feature depends on knowing which room a photo shows

Listings arrive as unlabelled sets of photos, and many PropTexx features need to know which room each photo shows. The first brief listed nine room types: kitchen, living room, bedroom, bathroom, gym, garage, cellar, garden and office. PropTexx wanted a bespoke model that classifies photos reliably across the wide variety of real listing images, runs as an API, and grows to more room types over time without starting again.

What we built

From a Places365 classifier to zero-shot CLIP

New room types are added by writing prompts, not by re-labelling data.

  1. Stage 1

    Data and classes

    We started from the client's nine room types and the Places365 scene dataset, then expanded the label set as PropTexx added rooms such as bar, cinema room, wine cellar and pantry.
  2. Stage 2

    First model

    A classifier trained on Places365 returned up to two predicted room labels per photo, for example 'Garden, Terrace'.
  3. Stage 3

    CLIP-based rebuild

    We moved to a CLIP ViT-L/14 model with engineered text prompts per room type, so new classes can be added by writing prompts instead of re-labelling data.
  4. Stage 4

    Evaluation

    Each version was scored on a held-out set with per-class accuracy and confusion matrices, and confusing classes were merged or re-prompted.
  5. Stage 5

    Deployment

    The model was packaged with Docker and FastAPI, with SageMaker and Lambda deployment files, and served on PropTexx API v2.

The impact

PropTexx's production room-type service

  • 33 room types
  • 83.1% accuracy in production
  • Served on PropTexx API v2

The production model (v3) classifies 33 room types at 83.1% accuracy, 84.2% precision and 82.5% F1 on PropTexx's evaluation set. Accuracy rose with each version, from 75.5% (v1) to 80.2% (v2) to 83.1% (v3). It runs as the room-type classification endpoint on PropTexx API v2, returning two labels with confidence scores for each photo.

Keep exploring

All case studies

Book a strategy session

Talk to an AI engineer about your project

Tell us what you want to automate. The first call is a 30-minute working session with an engineer, not a sales pitch.

  • Send the form, it takes 2 minutes
  • We reply within 1 business day, under NDA if you need it
  • A 30-minute call to scope feasibility and next steps

Tell us about your project

By submitting, you agree to our Privacy Policy. We never share your details.