Introduction #
The authors of the Indian Roads dataset have created it for delivery robots with knee-height delivery robots. Sidewalk delivery robots can also use this dataset as it consists of side road data as well. The dataset consists of a semantic segmentation dataset of Indian roads for roads, potholes, footpaths, shallow paths, and backgrounds. The authors of the dataset have tested it using MobileNetv3 and ESPNetv2.
Summary #
Semantic Segmentation Dataset of Indian Roads is a dataset for instance segmentation, semantic segmentation, and object detection tasks. Possible applications of the dataset could be in the automotive industry.
The dataset consists of 3227 images with 8129 labeled objects belonging to 4 different classes including road, footpath, shallow, and other: pothole.
Images in the Indian Roads dataset have pixel-level instance segmentation annotations. Due to the nature of the instance segmentation task, it can be automatically transformed into a semantic segmentation (only one mask for every class) or object detection (bounding boxes for every object) tasks. All images are labeled (i.e. with annotations). There are 2 splits in the dataset: train (2475 images) and val (752 images). The dataset was released in 2021 by the e-Yantra, IIT Bombay, India.
![Dataset Poster](https://cdn.datasetninja.com/github/dataset-ninja/indian-roads-semantic-segmentation/main/visualizations/poster.png?width=1200)
Explore #
Indian Roads dataset has 3227 images. Click on one of the examples below or open "Explore" tool anytime you need to view dataset images with annotations. This tool has extended visualization capabilities like zoom, translation, objects table, custom filters and more. Hover the mouse over the images to hide or show annotations.
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/9/8/Pc/mMqNE87bpJR0Z6cWFNr0ka3JMQnMjUfEiCpUT8VL5zNcXvYtbrhmqPzpvNDgBommGeqU4q6TAz0Yrd2W6EAaQ69QNWuyBZm7Dtzs4OAQwOpyX7B6E7UCY82KKJvz.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/I/f/dk/9wuxhMn0cbYJ9OnjPQi14DyEhEA6GOISNOpF9jwkL6zhhwNlOek1CCV2i6UcVeTtYghH2J7TDx6hzXFSF48CuI7eFeBnSTO40kanKx726MTFtP88atyzmSl5FI5Q.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/V/3/i5/0BhOAZDrhGK6wMBJPwW90JcqFPQWaWB6LX9yLsuaSgCKNCBiv8paHp1HWhXyqtNeI6axorBERGwDzolQV6j861Ft4hzoWJ8EHk1nZAycTysg7JFa44WdSADR3zjV.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/b/x/QG/iHeVPxsgCaoim23LZHe9yzxJYeAJ11WDyqiIUeKCpEkfBxyUUvp4UwG7gCZU8Pzg3Z2LjQNlYce68F2TGviKaRYVjqyYQHCsMuRIyLGDoWXl0eMSOCFQt2s6vNBZ.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/5/S/Wr/66cgN2XUzxjQQL2yWDlT80MiGNatgTX89CWV2ENNNkvBfSwBmVifXrck4xKgyXJOFUoKb1ToZrZZmZ115zllkh7bJaEDbonZOsueCo7oR79WiqOj5YjO5XYg6Z1u.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/C/f/to/zvmordQzrcGFjHSwWiK79T2F1ScvIw8OwYmtOTWejasl0m2KpGLBYGPvFMNcSYiJzHWU5OgZOFhFwUhCjtIWSUmOaTHFvSQlevLMhD1XoHejvVkdkBUZCzYOfPEO.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Y/t/vN/2Yjo8cGi52cxDGKoFTohuw03DMj804QPONx3KeaNUFYBC0Mf1RxZ6euzNAeyysR5dQ4tS5tfwsTOIdQ8Wn8ZvFYJrLzImfLPJVTFKhQwsO2dYnGEULNbKxLZQCZU.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/X/V/Sr/LjAuqJfMkSXQ5tyuzvn43b9sJ5HqymW2zu4bkSSkZESPNpwda2nhV8r7BpzXdwCtkUDymqAZJvb1aAkQnx597MIDUR8kW5xImHWFnSWj99ooJYO8WzRReycRyPcl.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/0/u/BL/QiGR7PTIRewZQ4ZbcAurKQvWa1cXhUkk2clZaIIwQXJiiXNjueCONBaUuxc9WohxSJhqWXV3LaeJcn7mFRnUrOyx93bV9wBDPc2BQtmF8PYrQvhXVDbJBNQbktJ5.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/m/y/lG/LIaEg0g1gQO1J6szdiw4GtbH7MZMSm6ECGaYMmr8Ip7ZoVWksZgYEoByZVQoFDjyusEb3k4pVMyMiB1qLVPl38OCSxTesB4BLMyWQRVCpQNGr3yVvY9oLWpCOLHE.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/m/N/kX/4ssvEKekqA7dsLuGvTiPjwzE9VAYVjGyVX5cnCYIujdWuLKPd4CjBTJqJCb7MpXJyYs1UDPCeGz3yBKBiyQeS0RtBzPASvLe6TzABAycyGjfTnj3eFtuH6cTy4QE.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/c/Z/Ps/EgZo6seaCbS3nDUHnfh5iBzQkzFoHsJvMUGDg84HK4v0xE0KTLYmOsJq5RiOpH9q0mCCTd9DNrmknqLABFslbK5wOw6jm1O3DrM5JHbSxoCUeRCOQCmjHDtwCozy.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/2/7/00/pknUm5a0bKewQpCSzaeUNtBfVOkzkZT21C0ai7ubkRqEtdHH5oA2MrlJ1xfDWGqdTv9si1JP9m5IApxIQRkD8lOsfwN6sF3Su4TSeURpeOu1Oohq5jiozQPFEyQc.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Y/4/gk/ySd0rIGtBpLlmQG7OOBTdBxGYs1YSrX6ybYUxLV59LunLmZann58PQfpVTbcXi6fIzN19kldbxC35iRZMp7tOtItRJh4wJqAubbhsXtOlHTw4m8X4xRzZlHQu387.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/9/r/jV/HsxOWUUYRRRFhaIbOWnRRMy3XoneQLyAoUEPn6hW5VE8Z3Y5UFyQjmyOwR2JnnTo7LVkoCtNeZbXBjSvImsnJe0nfd74WElTsERXB1FwXH3u68VirhqGowuDMNlm.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Z/S/BU/U8ZpVdSlf9L9JijQPoXjdVOEnzrYWTevY8Mpo9r22FsgwLXXAr1vhAwKGVXSRqJvs9NkaGk7jWnlWpYn0WJrzY2dOfPg3MuPo1562Fy7HxZQcgN150mRQtSQXWUX.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/u/s/xJ/x0k6Ljh2s5oojNdPgPBz8anNOJyo0KktyYW0nG1U4ydxPYhqjrUa2rkSne08hOiy24UpnXKjIiHoJka8GwAna2KE2tGr513CjqxhFg4tpmKCw90L41mFZDGTiNTu.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/l/D/oV/QMeMyiE6wbHuV2avTMFzKdXVHCAD6aB6Hbisn0carEj32mMLOgR0Tq6UKjbn43x8yd26OT0vSZPu98QIgNN7R7VV5Kq0886bdvwUndBJikZVJE6s2l0sGoYZVFx3.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/X/P/5W/8wYFsLqK1yL3J8kagF5gB5KtS8W9JTs1bXorEij1hxHD8k2me3qi2LuE5G9rcPB0AEN7gw1uKpQE8FsEHn0Y6Sup0nK4DpOpnobU9J2a0c9LPXhU449CXHLCl4vC.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/D/X/6J/FQJdA9fBmBhx8gPKlaV3APUIcqHbLA0pS7TwAbiEbJ63qj3vlfm5h7iiVy0OFbq5WDqkyH0Qjii2DnSa35uYPH8vpnTyZdasfgj4aROkuoZJZokZGqvN5MORdKbl.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/o/G/Ls/ho2zgBc1nSvagL3mD380uceerqwvKb0wrDXoif8ySFkgc1YJM5RP9J4XxVgFDrnJ1ixRaqBEn3GHjXmPrSc9oe08QcFkFRkjsZTuxF33aH4h62mwbOhWrYJpCcmq.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/O/p/3L/ErkA163ekFDv1kAoEsG78zgoF1C4KpkyuNO8Z0ti6RV6qN4MvbrlijGELqlODGqz7TDJaGNf9LTkDIKLVOtXXv6QYrZF2K1GVFGCBTGLQ6ZX1iFqjRurUgMLoQHM.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/z/z/Lm/A4C7H4b1aNHDHxwDdSumHIE9sl0XoNrSbgxpa4Mts0SLQvUr471Zl41BDxDSBX5Q94Fv5sJqwxIuMnqShHefw7R8BHeQCqHEGUq44dHtEhIQY2gCkU38ArlVCXGG.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Y/u/Ye/E1QZOffFRT2MVQt2q4m1OMlrqjsFAoRddMv9t80kSdU5CP6h81WqCr6NOEvQrPcbAeTOVHBGSAKwZ0i8uMVfuAMGKVPTsLyfRtOW3BTdCWZwQpphbIqzwq7HM99D.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/A/u/9l/LKtTdUDwXvL5HTMU3k5WfjVqWwmoEwLko1KntUXinAk98IRsQOby10M926kV0xIDQK74L7buAX13IT67DNvU6wus2eUEbZjPAuCuRfUTrpbG9iQRnLZakgf9yXCV.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/v/t/i0/67FjhEiVXPNrMyd56FIIpfdheU3wy8dLvQ3n8fQ3qBys2tMWbcTtDsll9otLC40comhtF4s8HZktEScUOnWcDM56mIVDsMJIL6EB4W9pJANesbxbRWxHMgTQOEkh.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/i/k/F7/vPiLVvLDwas0lOB3AAFCFcTY12pCtO4VySS4vHPGBvmAGuA2lXSp2DKfMgYCWGIse0frIWIrjGZNtnVoXE0LuGn9nrDhUXk6ivFtWDznBzQAy8b2rcwYYHBMXwgE.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/l/9/eR/EHaMoJJ90KXFOyvufrFNwccEfPsVsrJAJ3oyuZoTFq8carvuMfoAveOaq8146VNYfdCqTZG6k4vt8TpnLr28jyKqjLpEVoPUopCxGNmlLWDAhZZbMxitNC5KdWdQ.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/o/c/c6/DxsKcuNtXL0hATiYD7Cy2X1ykNhsrgKWj4VOZBg1CF5PNdiKDlnbUcaUl4JET7ncY9O01uCWS68SeVirMLtbqqmlO6j09StXrkyppuoLGlpMwelNRXmt4dMujWf4.jpg)
![Sample image from Indian Roads](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/N/o/iR/L9hIPJ5laQO87biiyzffGR5ATYfwhfrYyIWpc7KnoHqjOjPkTsO7znr4NVV1f7bi11Ct9ryz4hbyKopE6iUVcXPxbrwjJP1fLps8wCOdrqAWYbYlSGxVtA08XHt6.jpg)
Class balance #
There are 4 annotation classes in the dataset. Find the general statistics and balances for every class in the table below. Click any row to preview images that have labels of the selected class. Sort by column to find the most rare or prevalent classes.
Class ã…¤ | Images ã…¤ | Objects ã…¤ | Count on image average | Area on image average |
---|---|---|---|---|
roadâž” polygon | 3224 | 3438 | 1.07 | 62.32% |
footpathâž” polygon | 2060 | 2905 | 1.41 | 9.49% |
shallowâž” polygon | 645 | 1516 | 2.35 | 6.32% |
potholeâž” polygon | 230 | 270 | 1.17 | 2.88% |
Co-occurrence matrix #
Co-occurrence matrix is an extremely valuable tool that shows you the images for every pair of classes: how many images have objects of both classes at the same time. If you click any cell, you will see those images. We added the tooltip with an explanation for every cell for your convenience, just hover the mouse over a cell to preview the description.
Images #
Explore every single image in the dataset with respect to the number of annotations of each class it has. Click a row to preview selected image. Sort by any column to find anomalies and edge cases. Use horizontal scroll if the table has many columns for a large number of classes in the dataset.
Object distribution #
Interactive heatmap chart for every class with object distribution shows how many images are in the dataset with a certain number of objects of a specific class. Users can click cell and see the list of all corresponding images.
Class sizes #
The table below gives various size properties of objects for every class. Click a row to see the image with annotations of the selected class. Sort columns to find classes with the smallest or largest objects or understand the size differences between classes.
Class | Object count | Avg area | Max area | Min area | Min height | Min height | Max height | Max height | Avg height | Avg height | Min width | Min width | Max width | Max width |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
road polygon | 3438 | 58.29% | 94.99% | 0.01% | 9px | 1.25% | 720px | 100% | 585px | 81.2% | 23px | 1.8% | 1280px | 100% |
footpath polygon | 2905 | 6.67% | 69.84% | 0.01% | 8px | 1.11% | 720px | 100% | 333px | 46.18% | 15px | 1.17% | 1280px | 100% |
shallow polygon | 1516 | 2.66% | 71.24% | 0.05% | 10px | 1.39% | 681px | 94.58% | 106px | 14.77% | 25px | 1.95% | 1279px | 99.92% |
pothole polygon | 270 | 2.42% | 64.12% | 0.05% | 23px | 3.19% | 672px | 93.33% | 241px | 33.46% | 40px | 3.12% | 1280px | 100% |
Spatial Heatmap #
The heatmaps below give the spatial distributions of all objects for every class. These visualizations provide insights into the most probable and rare object locations on the image. It helps analyze objects' placements in a dataset.
![Spatial Heatmap](https://cdn.datasetninja.com/github/dataset-ninja/indian-roads-semantic-segmentation/main/stats/classes_heatmaps.png)
Objects #
Table contains all 8129 objects. Click a row to preview an image with annotations, and use search or pagination to navigate. Sort columns to find outliers in the dataset.
Object ID ã…¤ | Class ã…¤ | Image name click row to open | Image size height x width | Height ã…¤ | Height ã…¤ | Width ã…¤ | Width ã…¤ | Area ã…¤ |
---|---|---|---|---|---|---|---|---|
1âž” | road polygon | 2_006_frame0406_leftImg8bit.jpg | 720 x 1280 | 719px | 99.86% | 1087px | 84.92% | 67.94% |
2âž” | footpath polygon | 2_006_frame0406_leftImg8bit.jpg | 720 x 1280 | 717px | 99.58% | 525px | 41.02% | 25.64% |
3âž” | footpath polygon | 2_006_frame0406_leftImg8bit.jpg | 720 x 1280 | 144px | 20% | 358px | 27.97% | 1.59% |
4âž” | pothole polygon | 2_006_frame0406_leftImg8bit.jpg | 720 x 1280 | 34px | 4.72% | 76px | 5.94% | 0.22% |
5âž” | road polygon | 1_017_frame1029_leftImg8bit.jpg | 720 x 1280 | 663px | 92.08% | 1280px | 100% | 71.76% |
6âž” | road polygon | 1_017_frame0217_leftImg8bit.jpg | 720 x 1280 | 688px | 95.56% | 1279px | 99.92% | 71.65% |
7âž” | road polygon | 2_006_frame1715_leftImg8bit.jpg | 720 x 1280 | 694px | 96.39% | 1268px | 99.06% | 81.63% |
8âž” | road polygon | 1_007_frame0420_leftImg8bit.jpg | 720 x 1280 | 561px | 77.92% | 1263px | 98.67% | 51.12% |
9âž” | footpath polygon | 1_007_frame0420_leftImg8bit.jpg | 720 x 1280 | 244px | 33.89% | 571px | 44.61% | 3.97% |
10âž” | shallow polygon | 1_007_frame0420_leftImg8bit.jpg | 720 x 1280 | 76px | 10.56% | 186px | 14.53% | 1.21% |
License #
Semantic Segmentation Dataset of Indian Roads is under GNU GPL 2.0 license.
Citation #
If you make use of the Indian Roads data, please cite the following reference:
@dataset{Indian Roads,
author={Simranjeet Singh and Soofiyan Atar and Aditya Panwar and Amit Kumar and Srijan Agrawal and Sravya G and Ravikumar Chaurasia and Shreyas Sule and Kavi Arya},
title={Semantic Segmentation Dataset of Indian Roads},
year={2021},
url={https://www.kaggle.com/datasets/eyantraiit/semantic-segmentation-datasets-of-indian-roads}
}
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-indian-roads-semantic-segmentation-dataset,
title = { Visualization Tools for Indian Roads Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/indian-roads-semantic-segmentation } },
url = { https://datasetninja.com/indian-roads-semantic-segmentation },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Dataset Indian Roads can be downloaded in Supervisely format:
As an alternative, it can be downloaded with dataset-tools package:
pip install --upgrade dataset-tools
… using following python code:
import dataset_tools as dtools
dtools.download(dataset='Indian Roads', dst_dir='~/dataset-ninja/')
Make sure not to overlook the python code example available on the Supervisely Developer Portal. It will give you a clear idea of how to effortlessly work with the downloaded dataset.
The data in original format can be downloaded here.
Disclaimer #
Our gal from the legal dep told us we need to post this:
Dataset Ninja provides visualizations and statistics for some datasets that can be found online and can be downloaded by general audience. Dataset Ninja is not a dataset hosting platform and can only be used for informational purposes. The platform does not claim any rights for the original content, including images, videos, annotations and descriptions. Joint publishing is prohibited.
You take full responsibility when you use datasets presented at Dataset Ninja, as well as other information, including visualizations and statistics we provide. You are in charge of compliance with any dataset license and all other permissions. You are required to navigate datasets homepage and make sure that you can use it. In case of any questions, get in touch with us at hello@datasetninja.com.