Introduction #
The Sweet Pepper and Peduncle Segmentation dataset was created as part of a master’s research project. It consisted of using an RGB-D-based sensor to detect peppers and their peduncles and then using depth information to estimate their peduncle’s pose. The data gathered here was obtained by moving the sensor horizontally facing sweet pepper crops in a greenhouse. The sensor had a distance of 0.6 meters from the crops. It used default settings and a resolution of 1280x720 pixels.
Characteristic | Value |
---|---|
Total Images | 620 |
Classes | 2: fruit, peduncle |
Attributes per class | 4: green, red, yellow, orange |
Avg. crop distance | 60 cm |
Total labeling time | 64 hours |
Summary #
Sweet Pepper and Peduncle Segmentation is a dataset for instance segmentation, semantic segmentation, and object detection tasks. Possible applications of the dataset could be in the agricultural industry.
The dataset consists of 620 images with 6422 labeled objects belonging to 8 different classes including green fruit, red fruit, green peduncle, and other: yellow fruit, red peduncle, yellow peduncle, orange fruit, and orange peduncle.
Images in the Sweet Pepper 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. 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 2021.
Here is the visualized example grid with animated annotations:
Explore #
Sweet Pepper dataset has 620 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 Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/K/J/CS/o91G1BK1dv1EiKSB2ExYaOK635KjD8Vv1vaNTJVw5Y0i33oiiuF8eGUlrR84946JeBm3BNAmHUNhWszQMK3eilZhQnBVbS3PQ5hZRDpN3r4g5Xp903axGvQldY8k.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/D/K/Hn/uEW48J3T65FcHABf3H5JEzuKEcUwsrdD43PC1nxEgfxdpgBnCktT9DvsrPFYUCfKGX9K9lSVHV7iNKBpqoAnrA79OT35bHBK9K7ck9sb4tDUG2ALXhnmEWHpao3w.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/S/E/Mg/bbWGBeRcNZXeeMdFBTpvp3IYgZsMNehsRHJStsMYXxzvNRCM5etaG1kRo946I3fYKWTpVeNKa7ar2dJMbGZgzYzmQPyCUbPGyHfCWPoFXVnzdQpp4mZ4DivlycJg.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/d/l/Tr/wyjW6UfssxphB4jfvD0y7Tu16csZIrAWL8HcsEfm8AUnXgo1q6zPgX58ialC8ZnLmyaas6VeA2sJvXKQmpZ3qZvuG30dc9WrXEMnpH6FBhWB5KbxvheK6qV330Cj.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/m/B/97/Poh4Y8fixwbwq8OEC6tze0RdOZjinJW9XAAbwQ8dYrjAxEDYQxkOmrkrO0OJ12Zf2xvTYLvB1ZWljBc3jAYd3Oh6uQQnIydgyHEWCKGilLle568fvwzDXYOaBJa2.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/7/mN/Gox3DMy86yWrXvfPRhAxqqefD8RiZ2FqIKWADvrTShzhlYjnnGLWbtrYApLXUoFYve83eL5VotIx3MBJNo6UmLJmMszcxGhCNCQxpfHgfSCPacz9LDugJCwpu4iG.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/e/u/Pm/jPCj5OkwWsbwt9Yfug7LW7BYFLUOxqp1gBXnb6nKuUtXPRaNJgFEfIPgTc6Uvmoaf5oY34rcfzjrB4naT8RE7Tt8o4LcEtIollTznOESxsANGvsjbWh60BgaTuNm.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/R/R/pw/Au5YYKRmo1JlgciwQ0q0jkdLkanFWbBWOWTdnMucZ7WeuM1CJWpdmaClTs3BDPHy2VTt5YG1DdwhWqEeB7yjy24Srg5KRYsF0brP5A5Wp4ur33QXOtUPGgsRX6aC.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/A/G/pG/rurxGlh0NO1uTbOducEl6vWbGVziaFp8nUYN3D99HS6WtqaF52uaR3I8K7jkJ1M2jAVoowoThNRFgUXUzE4AfTGaxdtbQtlwno3jk29MKa5mMDTZjaCT5X7VOxmo.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/N/c/GX/v4d0qNG45bGhnLmYZaIJttkGYKeAhOOluI9kWv2K7Ya8XNip24BaeHhJg0Iuzgh9PqdEoHPooXWRUgxdC53WHPEVFu9U57BlCgHZfcg9owtnvc77Zd18C7b459zG.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/8/5/wN/FanS75S9D60S2sMrueJNZTAmPKFNmXAUSiJhYBC0X5fFBSuprTVTsyGk4D04sANitERbqAFuLCgxth3J9qbUjs3C9H0Oblq3dVnDuhdX82CUchbVZYid5BEEfPUN.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/D/A/45/TvGEn85iLIHNu9wDUHge0yzTOZucG4rofx1OwKmF6auQfXzwmmwlG41WJFCUaTD5Q0JVWsz1oTP7qtCmt4mw54wbObKcNH1JTBFlndxcN6FuqE7yhTaOZqIKi24V.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/z/H/Ke/Xl2ZGuJiHznUZCee9yuHUigLuQQo1hoJnJNgOQHwYohlNHc90eXWDF0pHR9y3BiocyAM9TjVSXUyL3N93zlI6taTWHcWsYltCvihg1fr9sezPzSpDHqTtYmSjQzZ.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/e/N/QE/Ntcv5t4Bt9AoDN8VopOOyMvXr2raJB8fXqSKD85PNoOGKCp81CooAbCu22eeTZMa1bIITvIGyC4sdrD5UJvKBW4BYvyysCQ94EHqj6xfjKlE90nLn1t9k8IES5dE.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/8/A/y9/lTz5ItamWSyrMPDRTnqg5Tr3hh8pcHHk3QGEhx1w5wArY2hS4kmrO5LNoEnkamK8JD7VpvYnx13KGQIuSPMY2VLOwbEcMrRyRAUBxhjeE23XBh6I2ce0Z1MGJDVb.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/k/J/TJ/pdZX1qUvSZHkxe8VgE081KOTpDrXGEH6JCK2ncap2mXqOR1bbKK79VF7wa57XuyJ7LXtp4AaipV63PQ7D9u0W8LiDRMppzFRSFghHLNOuUelZHohgSmu26bG0u4v.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/0/8/ja/BEeW78VuWnO22KlmuwGG6dWwHV1SGmxf4jeDTwRjGzhzUGN2IGSwlGsuzFqNPu6yeOGCx4muNFSbOsoN5TX1L6zlbApUR5yT1r0bTp3W8StvqBwqazmmuv3v1wsu.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/2/4/oL/ObqPXHRUNHywhw16Z7F1ATPOKZdwt02609j9BuUWPW6Ux5rzn4fgZlnxVCBJIs93RQoubgJsExldyE8oVJOdXnJW2tBE9wpAZibKpiCmJggirLbLCTbmPo49lMoL.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/M/D/K7/Kw5n54aL329RwlNr6ZQkGTVboVKpLlG9jHY84haahNHwqMEXIbyVCdGETPiCvDbGNGlfznGUj9h3LgTgXlJKLoUYSTVoZaZyTuf7XNukvvB9RsQ6ZcOw6UaJPko2.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/2/p/g7/wjpmH9U0Xfw0RoRipQlH2kFfGSMa9r0nbBHxt69E1nWZ9nnzZQfFqtlA7NjDwldA6q7yNHrPJPEhJbJcwox8LRfNY0NLvNczePgvx4DVS6eFV7vdGQfT6SliPHUI.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/H/M/ow/hpRodfS2xA9UByi1iWua84qCU8bUg2XXdAxj8m4k5opdobUBSMXPIy1JPY5FP6gJGVYma38OgTL2fYgpOuDFcxl8vdqjrXRsQseXUfM07KxQRuA2u6Jd4nBYTD6W.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/J/i/5j/cPhhvGyjpq4eAgaqAwRZuFMB1aLR9bBAJIm63oHftRsJxl7kzJ2Z1DkkUeMl5RgbttnPqK8YP5cUolri5INzI8DG2EQ1OaRZF7TwXwKoyFQXYcDjjGMhFjgluhEz.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/N/x/pL/HaRYqmuOZijIDekkxHGWYd2Hs7CE4JrHj6W6YMbbupfpju40xGLcttRwjmZEUMHnjoS14jJEu19zEksr6VyiuAFgN54qztQT4HfRAglI7YFyyYXa7ng8H6A6d0Pz.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Y/n/jg/MwJnrfDk39sH32JtGHGJ6QReAjxHEiuntumGKczmQHwose98adAQ67vTyGNdJkdOqIOHisLMMQnksA3dwkzSyLso2hZceMJDdXbmBz1l7PAld0M4P1s51Qg0Wipb.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/j/F/Hf/PEBVfUNvuO6maXLqzDE3T6moGWdvBa3u2p2KE0IYaBfyCo2YLRECtwSSxhxKR1Jm8UuiYIGa8pOxkRmJtIL065o0fiMTMlxKRpUnRcHka0qvD0XJWulHoa0FsXRL.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/a/c/C0/oxRCmKOmIsS3EYvGivt7WXcznzj9NjsxiEjRGI0JdeH91emi2IHG0NzFaAMuJOtrov8Zs0GbutkjZmeBFtA9RAAeO3rRfhEYxdNVwd4FkC2IGOMjPdQqvNLucObS.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/T/K/v4/zfPfveGmYfHElIm4BdpC8V18w4UTb4L8vBxnasQFOS1B2bsKykzjhwsxru2EXnxzLcyoD1WJErG67aKUS6p53CQ71GZXlTAaHYayU0EtJ5NS8lTTSLb0lCXtaYej.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/u/2/zj/LPUwLjI6NWsibZIxrjO0aYdFkGIpa0YSzgiz3uIWjFaS9Ri4HxaHvcI5eCpfE7ySN24s72J9bMNFS4uJMs4M1KZaG9ByhSELb9qmMiZZenWFwn5NwKQV75wLjoXW.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/v/E/rC/SVyDbDIsu0qHng2ftESZPz9qH841FtX9uk26KbE7s7B5MY3WbBlHuXrIOqVY0evFRLxX4zuFc2se8InPiGB5N6ww0tTNTt4BtjfPm6HDaunSEwIpBv601JDrFufK.png)
![Sample image from Sweet Pepper](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/h/9/ap/l0i3qwz90NTPSpK9YurYCcW8dVoxtlhrn8WK48HBHw1q5DFNP96IGRFQbPZlqUpOx97oA9gBv3HTvH0hclDH6cpCiepq4yMHTgcWVXN3ogv4L0XOwijG6tPT4Ups.png)
Class balance #
There are 8 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 |
---|---|---|---|---|
green fruit➔ polygon | 591 | 2434 | 4.12 | 1.88% |
red fruit➔ polygon | 445 | 2218 | 4.98 | 1.8% |
green peduncle➔ polygon | 373 | 620 | 1.66 | 0.2% |
yellow fruit➔ polygon | 264 | 569 | 2.16 | 0.99% |
red peduncle➔ polygon | 222 | 365 | 1.64 | 0.22% |
yellow peduncle➔ polygon | 95 | 110 | 1.16 | 0.14% |
orange fruit➔ polygon | 86 | 104 | 1.21 | 0.1% |
orange peduncle➔ polygon | 2 | 2 | 1 | 0.03% |
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
green fruit polygon | 2434 | 0.44% | 12.74% | 0.01% | 9px | 1.25% | 405px | 56.25% | 71px | 9.83% | 11px | 0.86% | 421px | 32.89% |
red fruit polygon | 2218 | 0.35% | 5.11% | 0.01% | 9px | 1.25% | 242px | 33.61% | 63px | 8.82% | 7px | 0.55% | 265px | 20.7% |
green peduncle polygon | 620 | 0.12% | 2.09% | 0.01% | 7px | 0.97% | 154px | 21.39% | 41px | 5.64% | 10px | 0.78% | 182px | 14.22% |
yellow fruit polygon | 569 | 0.45% | 2.33% | 0.01% | 8px | 1.11% | 166px | 23.06% | 66px | 9.17% | 9px | 0.7% | 183px | 14.3% |
red peduncle polygon | 365 | 0.13% | 1.62% | 0.01% | 10px | 1.39% | 141px | 19.58% | 42px | 5.79% | 11px | 0.86% | 173px | 13.52% |
yellow peduncle polygon | 110 | 0.12% | 0.39% | 0.01% | 14px | 1.94% | 79px | 10.97% | 43px | 6.03% | 14px | 1.09% | 106px | 8.28% |
orange fruit polygon | 104 | 0.08% | 2.23% | 0.01% | 9px | 1.25% | 175px | 24.31% | 28px | 3.89% | 9px | 0.7% | 149px | 11.64% |
orange peduncle polygon | 2 | 0.02% | 0.04% | 0.01% | 13px | 1.81% | 28px | 3.89% | 20px | 2.85% | 12px | 0.94% | 37px | 2.89% |
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/sweet-pepper/main/stats/classes_heatmaps.png)
Objects #
Table contains all 6422 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➔ | red fruit polygon | _Color_1607626338633.53295898437500.png | 720 x 1280 | 126px | 17.5% | 142px | 11.09% | 1.56% |
2➔ | red fruit polygon | _Color_1607626338633.53295898437500.png | 720 x 1280 | 41px | 5.69% | 38px | 2.97% | 0.08% |
3➔ | red fruit polygon | _Color_1607626338633.53295898437500.png | 720 x 1280 | 90px | 12.5% | 121px | 9.45% | 0.53% |
4➔ | green fruit polygon | _Color_1607626338633.53295898437500.png | 720 x 1280 | 51px | 7.08% | 104px | 8.12% | 0.23% |
5➔ | red fruit polygon | _Color_1607626338633.53295898437500.png | 720 x 1280 | 57px | 7.92% | 61px | 4.77% | 0.26% |
6➔ | red fruit polygon | _Color_1607626338633.53295898437500.png | 720 x 1280 | 54px | 7.5% | 65px | 5.08% | 0.13% |
7➔ | red fruit polygon | _Color_1607626338633.53295898437500.png | 720 x 1280 | 42px | 5.83% | 42px | 3.28% | 0.05% |
8➔ | red fruit polygon | _Color_1607626338633.53295898437500.png | 720 x 1280 | 21px | 2.92% | 38px | 2.97% | 0.05% |
9➔ | red fruit polygon | _Color_1607626338633.53295898437500.png | 720 x 1280 | 14px | 1.94% | 28px | 2.19% | 0.02% |
10➔ | green fruit polygon | _Color_1607626338633.53295898437500.png | 720 x 1280 | 33px | 4.58% | 40px | 3.12% | 0.09% |
License #
Sweet Pepper and Peduncle Segmentation is under CC BY-SA 4.0 license.
Citation #
If you make use of the Sweet Pepper data, please cite the following reference:
@dataset{Sweet Pepper,
authors={Luis Enrique Montoya Caveroand Jesús Escobedo},
title={Sweet Pepper and Peduncle Segmentation},
year={2021},
url={https://www.kaggle.com/datasets/lemontyc/sweet-pepper?resource=download}
}
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-sweet-pepper-dataset,
title = { Visualization Tools for Sweet Pepper Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/sweet-pepper } },
url = { https://datasetninja.com/sweet-pepper },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Dataset Sweet Pepper 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='Sweet Pepper', 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.