Introduction #
The Plastic Bottles dataset is designed to introduce a model prototype for identifying plastic objects in rivers. Importantly, this model is optimized for deployment on resource-constrained devices that operate without an internet connection. The authors mention that the role of rivers in transporting plastic waste, a crucial aspect of global plastic pollution, has not received sufficient attention in research.
Current estimates of plastic emissions from rivers primarily rely on mathematical models that take into account factors like the size and development level of cities located near the river. However, these estimates lack granularity, offering only a monthly assessment for entire rivers or cities. This limited granularity often leads to a lack of actionable insights because the most environmentally harmful rivers are frequently lengthy, making it challenging to pinpoint precise intervention areas. Additionally, this data is often statistically inferred rather than directly measured in the real world, representing what is assumed to be realistic rather than what truly exists.
The instructions for the photographers were:
- Always point the camera at a 90-degree angle relative to the river
- Try to photograph a little bit from above
- Do not use the zoom of their camera
- Take a lot of pictures in different places (at least 50x pictures in each place, wait at least 5 seconds between two pictures).
- In general, donβt wait for the perfect shot, but take many (hundreds).
- Try to take pictures at different times in the same location (e.g.: after sunset, around noon, afternoon etc.)
During the data gathering, the photographers were given examples of good and bad images from the pool they sent in and edge cases were discussed. The data-gathering / picture-taking process took roughly two months of work. Pictures were mostly taken from the side of a river. This means, for example, that the dataset may be less suitable for e.g. aerial surveillance.
No images were taken during nighttime or during bad weather conditions. While some variance in the time of day naturally occurred, all images were taken during daylight. Camera zoom was intentionally not used in order to cover a large variety of distances. This means, that there are a significant number of images where the plastic bottle is very far away and may only be visible upon a close look and/or using zoom. The author of the dataset hopes to increase the odds that a machine learning system can detect these as well, enabling surveillance of larger rivers. He estimates the bottles farthest away in the dataset have a distance of about 50-60 meters from the camera. At this point, even with zoom, a human has problems classifying the object in the picture β it is still clearly distinct from the water surface, but not easily separable e.g. from a bird. The variety of their dataset means there is also a lot of variance in the number of bottles represented in an image.
There are images of bottles swimming freely as well as bottles that are relatively stationary. All bottles are photographed either on river water or on other pollution objects, including more bottles. No bottles have been photographed on land. The images were taken with different devices, both mobile phones and cameras. Due to this, the images generally have different resolutions. No tripod has been used for any pictures and the height from which the pictures were taken may vary slightly as well as the angle of the camera.
Attribute | Value |
---|---|
Total images: | 989 (some duplicate images were removed) |
Avg. bottles per image: | 5.6 |
Image format | JPG |
Total image file size: | 2.6 GB |
Photographed in: | 34 Sessions |
Countries of rivers: | Bangladesh, Bosnia, India, Indonesia, Nepal, Pakistan, Sudan |
Camera perspective: | Side of the river (mostly) |
Labeling format: | Pascal |
License: | Public Domain |
Summary #
Plastic Bottles in Rivers is a dataset for an object detection task. Possible applications of the dataset could be in the environmental domain.
The dataset consists of 989 images with 5534 labeled objects belonging to 1 single class (plastic bottle).
Images in the Plastic Bottles dataset have bounding box annotations. There is 1 unlabeled image (i.e. without annotations). There are no pre-defined train/val/test splits in the dataset. The dataset was released in 2020.
![Dataset Poster](https://cdn.datasetninja.com/github/dataset-ninja/plastic-bottles/main/visualizations/poster.png?width=1200)
Explore #
Plastic Bottles dataset has 989 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 Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/8/Q/BB/MPfjFNlTE9iKtF0Lw36ejJKttM6p6lYBLPkPvyO3chzdlYLSwsRLByhBBpbtzmdf9nLNzTatEwmlu5HmdAoEEaDz0BxgQubBky5YmsQfcaxR7RGgFdHwpsywkBBM.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/U/n/Nz/TcszWQ6oVxTiBeOIIyGyOD4isNmeEYybgrDgPGJDqzIrNqSoRVLatW0WuVKpc4vgZ8lkJALVbUDvoPJjESWU3qRaFb0wqpYlwEuYsYzVCuODYRLVPVZjowsuHNYB.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/b/o/Eu/rBzRw3bsMvlKhBd2tdJ7h4LVkYxxhgwwjtDVmcbOxewC8DZWIPP5002IIrMEtpyHjGIoF5QNcRqW7nKFdZlHNm3ID5vFWmRYGi9QHKztkpWWdA98GFlyMfzc3tvk.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/y/Z/gK/T8ThjdDRbFZHkJWSXMOok0IbvReD23OelyKoVhb4VZIkRc2xgthXvZLpWCfgo4Snoo8xygRS7VgYaDdQmj5qqxijlforq9WNRYdhRdjof374JN9cvjbPnX4NnnDF.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Z/4/PK/jJeYaQHorhBEjFCyIbQnRQMQLXpksbhgbW1zYRr4bluqsDZStFXUcDsLuH7guUZFamzEW60KO1fhmsc0aer2FjImvRJwJU477PEVObbHuShuVk2Zan09HixM5Npr.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/R/G/LS/KazlDT8AifybHDf5IMGermVy0FIjCCxBQ3dkBrMmHUuYnEDo2wAFswaqASbGie0hlMm16PRimQxSuJtxx8WirRvQTCb3fi37W4LmrHBduE3iLUnebz4pIHJIIOhu.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/D/u/vD/prYtvFJrXQvknyLlCt50L4do1fQWXUrDOmZpnnpN9F9DPOizXe2gCzITobrnXuGPCjBltWkIB4hcofkr4kEGS0Jjdf72OaypcoEuJxUgbJs1mKeDNue0QRQaJpOS.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/A/q/ph/a50gajuMNSMdZszDTrs7kHahw08zplp1o4WDjY4JQnejSDBO9efLB4CaCrOQqo3vY3hwivuZWqFzbgBlWTllo80Z3zZwYhzgV9ls1zcXbBpqAONzJUmbpg6SrKnM.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/r/B/TW/s1j4G3qnE2UkEKPRQSqFIKRwz7ZycPFLyayChZvck3v6JDFI2uLo5f5G3LpUrCDEEf9ok3kF3AAGmXdRWnhDBilM2NLqytxTeAn0zwDVbPRA7oGVlTvcNCCS8VqK.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/D/v/BC/mo94B3Xs4Ode5YtoLpoQcv2KfdSxUVXSosG0LTu5woh0fxbpMcYccO515XtvxFLYsNf8x9sa2jK1tZ0mGl0BvpaTTTKaIkemyr6BreFOtpGqtPimyVrPD7CFXVa7.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/L/G/JB/7deuxdsN3427xWbNsgygbgYKnVIMIiTdB5EsAWt6NJD6Z0ZqqXtj9tnkw7uWVBHLbr0Mj7axhn1Vgog3KZz5XyHOt2PfywCAhUcouQhPqc5m0VYtg9BA7f4TYiL3.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/C/X/6I/gHY8m42S9tG6OgRUevw7itXk5uCmMqolii1HZHCR6LpbxkBRtaqYItw3IkObrrvdS6VUOFV1OAo6iEMRsIN67Xzrr8J8KTDNWZRATv8jhNbEBqRDSwi3VE1WVBDl.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/C/L/H9/o688IhK7z3w7TE4WwVx7KNHtxEApHF9Kjbv9w0lipYeV7NWCcB7U5JvlxYSOwyEtAe3RHUxefanwOHW62Km5s8ijxblLF5LFzlOq4eNRKOivdMYNJT1uBH1XiA0H.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/h/k/l3/tLP3c1SgHSe9Yuf6CPvJWNG0Ef3Rup3bDG53CYQ4HxoaRIKFm5lk9bZPUFT9Y82RwDmsrxV36GghEPxQWq4jOEMIR2uFZvbN0YsIpYlEJ95hyM7tUHn8zHDCmXWo.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/V/9/Wc/qqf6clWEuFxX2TNRcjjZQaCQbslUYYTMegQmmYPLYyzTpcYehwoLHBe7ivEQ67pIHumW5f1VElkj3g7WMk9sYYKqnhq7WVmCErCkIXsa0tBjIS0A1jxGVgROlvRY.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/U/X/Pz/GPZdZcIqsbrvL89IkciZJY5PHzjtLWs8fYR8vwbLrl00NBJOrgu15owvQuPbWRiPgjMlpT4KVNlCIx8Xp4EN7M9bj54PadHK9qz571QiAsrLeGx2YtgCNY6U5JCL.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/C/B/bH/mHC3ptZ09sN4mO2VKlZeaMYuFwRm8VoS7TEmEOzpgaqJA8gPFSnZ7L2Q8kUkaINE6LbwUc00PvOGawMyLJynPYb6xsGCVMuKpZFr60wC6gvDorahHyoVzrp1gEjM.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/e/A/Bc/VCrEoDhsj3sWWGxO3ZTOm4G3tP5jjn3FRB7hKTeB2kr7K98iLdBqmsjXdBaavFqEf7V8Ek1JZzP0J5D6KNSf4XWUKJgiSQq8o95FmRaWF558dTqxWJDgeA27JETf.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/2/L/nZ/EG2hBJVNkmQEFgL0CLLfFao702Q9dxVghZdAR6C9ZEhtdPXS0wEEZMvZJ0BpdfI54UyzkuUTE5MyJZZZjsK1jyxWpERJhj1mHpfmx0Ep1FpmJnHDNIJDWi1YYqZj.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/c/F/Rx/L7j4Hr6WwjwGLbDUikUXaDLK2JUWxOwO0Nnj1uJLXx6ydXiXJEJ9hHhVR23wPrbM390XkKy72t0paqzcu2jyTVMe0PWa2PFa8k1OcJznMVxPZTnVG9BG3Ag4BYzB.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/3/g/Ik/XPV2YaMKiJXqHuRBiXcull7cX5ReahaBRTYlIeayqYki1o5Etrj14H1ZdYQrVXq2LvOtUVvrq6e3BLYimd9ySEx9vwoYd9CuIpdYhijew2bCtpKnVxJv9zk7ZAvc.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/m/u/Y0/VORT8KdtSVSjtJRJTqlMLamfj9Krz6784nbVhXIAz4ihWTeOzN52AZRwymHTPK4zeJnoMgPrPBnrhLc9mtb45Bo2g2gJnMSlYWPEhSvM4O4acYCHudtkWO7lI8gH.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/S/U/t9/lQF1ATJAY7Tt5v9AmoI9WlEsfLevjAz0BAcBRFuXUIplOG1wJ5KgcA36hYHl4mcdQkxXS6aLrarB17hfkmZH3nvnUBOioBeHZOI8V4ZFRXjy1s9oRGDZzl00pt6W.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/0/z/wj/ojTYc7TeS9BiuXvI10i4GkPPD392zn5EDXFNfdwtrfvg6GH90WJpmFgdmJN7gYPtcbLjcl8MVMp2G4pknvWub28CzJG3Ze0FFCsO2MkESDhRRCSzvq2ivpq5TJoo.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/N/8/Fn/7Hmki7zo0a9ZHrORh2xUMIaK6WXG1R4rRzQiplSVHDI7O4KPrSxHF2N9L9kDWXtuk9Sjrscri5Ry3M73Al7scTHLtnKmfLU6tIlVPujfLP5lthJDvK2eb502tfrx.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/K/e/Ie/LsmutNgRQdJXDDFaGoYoZkfFSUspR6NEVYFANy1vyYddG6bOJRPsvE7GWesaMtrlLFAfMbL8tplq7qxR7ygHIQzcC2c4i7IomIVUqY8RYFUAS3Rt7GRrMhgX2UO7.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/r/i/mg/BDtumTYrUYSBvSwVltaH4YlFlal9ivMdVHWJGn8zYaR68kQYtLwM44ZKQGtIhebkXLwHw94CrMeZWiHvGvlVsdBxn7mWX1Yf2kTNcKnfTz8Zwm6zgK4jvyBi2Htg.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/r/0/cV/FYg16Mxr0UpkCIaR7tlhTLPmJM6VxY6Px6gLN69Xpue2lvvP5WjctwAKThr34lIXktSuAPf7y79hdIwdarkcaWQG7nOPrSaY8qTBqUgJsdbOpEkt91FTioJUBb6U.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/J/G/wq/TVaXr5DEsyHxOXsnT8soRP2uoncaRNP75Sqkbm4e3vJkiXxdLchRyYCWUrYX2nIt7ILgkd7KcKiOa7OPEGVXyGDxMWZ9tjvYTnLeNexP5okXFxKoL07yhRGM6MwM.jpg)
![Sample image from Plastic Bottles](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/K/8R/EihVIBDzYlchbIYvzO7MEKBZY7FCvUa4PxswyG2oyCaSCw6nZmBYu29W95YVR2rbtdpSBRgkzDhC2xxsxzlpU0EKJ80TRieMNy2fuxWv7gfYcWaKs1MROeCiAyhk.jpg)
Class balance #
There are 1 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 |
---|---|---|---|---|
plastic bottleβ rectangle | 988 | 5534 | 5.6 | 0.68% |
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.
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
plastic bottle rectangle | 5534 | 0.13% | 9.83% | 0% | 3px | 0.07% | 933px | 38.61% | 63px | 2.24% | 3px | 0.1% | 1264px | 42.13% |
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/plastic-bottles/main/stats/classes_heatmaps.png)
Objects #
Table contains all 5534 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β | plastic bottle rectangle | IMG_20200307_140536.jpg | 2248 x 4000 | 4px | 0.18% | 14px | 0.35% | 0% |
2β | plastic bottle rectangle | IMG_20200307_140536.jpg | 2248 x 4000 | 9px | 0.4% | 19px | 0.47% | 0% |
3β | plastic bottle rectangle | IMG_20200307_140536.jpg | 2248 x 4000 | 21px | 0.93% | 22px | 0.55% | 0.01% |
4β | plastic bottle rectangle | IMG_20200307_140536.jpg | 2248 x 4000 | 15px | 0.67% | 25px | 0.62% | 0% |
5β | plastic bottle rectangle | IMG_20200307_140536.jpg | 2248 x 4000 | 8px | 0.36% | 13px | 0.33% | 0% |
6β | plastic bottle rectangle | IMG_20200307_140536.jpg | 2248 x 4000 | 7px | 0.31% | 8px | 0.2% | 0% |
7β | plastic bottle rectangle | IMG_20200307_140536.jpg | 2248 x 4000 | 7px | 0.31% | 7px | 0.17% | 0% |
8β | plastic bottle rectangle | IMG_20200307_140536.jpg | 2248 x 4000 | 7px | 0.31% | 10px | 0.25% | 0% |
9β | plastic bottle rectangle | IMG_20200223_132743.jpg | 2248 x 4000 | 233px | 10.36% | 82px | 2.05% | 0.21% |
10β | plastic bottle rectangle | IMG_20200223_132743.jpg | 2248 x 4000 | 272px | 12.1% | 336px | 8.4% | 1.02% |
License #
Citation #
If you make use of the Plastic Bottles data, please cite the following reference:
@dataset{Plastic Bottles,
author={m0-n},
title={5592 Plastic Bottles in Rivers Dataset},
year={2020},
url={https://github.com/m0-n/Plastic-Bottles-Dataset}
}
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-plastic-bottles-dataset,
title = { Visualization Tools for Plastic Bottles Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/plastic-bottles } },
url = { https://datasetninja.com/plastic-bottles },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-07 },
}
Download #
Dataset Plastic Bottles 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='Plastic Bottles', 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.