Classifier for house photos

I am a professional photographer and I take photos of the interior of houses being listed for sale. The number of photos can range from 40 to 100 depending on the size of the house. After taking the photos I need to label them before delivery to my customers.

A sample is below


Virtual tour which needs labelling

Labeling photos is a tedious task. So I decided to build a classifier to do it.

Even before I finished Lessons 1 and 2, I could build and deploy such a classifier. I used downloaded images from Google and the classifier can classify images into 7 classes - bedrooms, bathrooms, front views, backyards, living rooms, kitchen and dining rooms.

The notebook is at

I have not implemented the code to label the photo with the predicted category or created an application out of it. I plan to do it in the future.

I learnt the following

  1. It is easier to use a Chrome plugin to download photos from Google than the script suggested by Jeremy.
  2. The best accuracy I could get is around 83%. I had not cleaned the photos before training. I am sure that cleaning up the junk photos will improve the accuracy.
  3. Sometimes photos of rooms do not have furniture in them. It is harder or impossible to distinguish between a living room and a bedroom, if they both don’t have furniture. This uncertainty is reflected in the low accuracy.

I hope this was useful.

1 Like

I think that the place places to train these classifiers are shops like this It will be way moreeffective