Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Mumbai slum segmentation

More than one billion people live in slums around the world. In some developing countries, slum residents make up for more than half of the population and lack reliable sanitation services, clean water, electricity, other basic services. We wanted to help. We built a deep learning model to map and and monitor slum growth over time. Check out our project site for more information and how you can be a part of this and contribute.

Mumbai Slums

Mumbai is one of the most populous and wealthiest cities in India. However, it is also home to some of the world’s biggest slums -- Dharavi, Mankhurd-Govandi belt, Kurla-Ghatkopar belt, Dindoshi and The Bhandup-Mulund slums. The number of slum-dwellers in Mumbai is estimated to be around 9 million, up from 6 million in 2001 that is, 62% of of Mumbai live in informal slums.



When we spoke to the local slum dwellers, we realised that the situation was worse than we expected. Most of them lack access to clean water, basic sanitation and any form of reliable healthcare.

We wanted to help.

What did we do?

Any intitative on slum rehabitiation and improvement relies heavily on slum mapping and monitoring. When we spoke to the relevant authorities, we found out that they mapped slums manually (human annotators), which takes a substantial amount of time. We realised we could automate this and used a deep learning approach to segment and map individual slums from satellite imagery. In addition, we also wrote code to perform change detection and monitor slum change over time. Slum change detection is an important task and analysing increase/decrease of a slum can provide valuable insights.

How did we go about it?

We curated a dataset containing 3-band (RGB) satellite imagery with 65 cm per pixel resolution collected from Google Earth. Each image has a pixel size of 1280x720. The satellite imagery covers most of Mumbai and we include images from 2002 to 2018, to analyze slum change. We used 513 images for training, and 97 images for testing. (Unfortunately, we cannot redistribute the dataset, due to Google policy.)

For slum segmentation and mapping, we trained a Mask R-CNN on our custom dataset. Check our github readme for our training and testing approaches, and our paper for more details.

kurla result

For slum change detection, we took a pair of satellite images, representing the same location at different points of time. We predicted masks for both these images and then subtracted the masks to obtain a percentage icrease/decrease. The following images (below) show a change of +35.25% between 2018 (top row) and 2005 (bottom row) of the same slum.

change result

Training and Testing

Read this for training and testing, and how to prepare your own satellite dataset.



We would like to thank the Slum Rehabiliation Authority of Mumbai for their data.


We published our work in the NeurIPS (NIPS) 2018 ML4D workshop. If you'd like to use our research, please cite using :

  title={Slum Segmentation and Change Detection: A Deep Learning Approach},
  author={Maiya, Shishira R and Babu, Sudharshan Chandra},
  journal={arXiv preprint arXiv:1811.07896},


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.


Mumbai slum segmentation and change detection on statellite images.






No releases published


No packages published