Introduction #
In their study, the authors of the tomatOD: Tomato Fruit Localization and Ripening Classification dataset focus on selective cropping and treatment tasks where learning algorithms can enhance crop growth and disease prediction, species recognition, and fruit detection. They introduce a specialized dataset for tomato fruit object detection and classification. This dataset consists of 277 images with 2418 annotated tomatoes and contains information about the ripening stage (unripe, semi-ripe, and fully ripe) of each tomato fruit along with its corresponding bounding box. Its purpose is to encourage the development of task-specific object detection algorithms for production-ready applications and to serve as a baseline for common state-of-the-art object detection algorithms.
The tomatOD dataset is a novel collection created to simulate the scenario of a robotic arm navigating a soilless tomato cultivation greenhouse, mapping locations and estimating the ripening stages of each tomato fruit. The authors conducted data acquisition in a controlled environment, capturing images of tomato plants with varying ripening stages. The annotations were made manually by expert agriculturists, ensuring the accuracy of the training data for detection algorithms. The dataset’s statistical analysis reveals insights into the dataset’s content, including the relative size distribution (%) of bounding boxes, the number of labelled instances per image, and the number of categories in images.
Additionally, the authors propose an official 80%/20% train-test split for the dataset, ensuring that algorithms evaluated on it can provide easily comparable results. This split was determined using a semi-random approach, taking into account the dataset’s characteristics.
Overall, the TomatOD dataset serves as a valuable resource for developing and testing object detection algorithms tailored for tomato fruit detection and classification in the context of precision farming.
Summary #
tomatOD: Tomato Fruit Localization and Ripening Classification is a dataset for an object detection task. It is used in the agricultural industry.
The dataset consists of 277 images with 2797 labeled objects belonging to 3 different classes including unripe, fully-ripe, and semi-ripe.
Images in the tomatOD dataset have bounding box annotations. All images are labeled (i.e. with annotations). There are 2 splits in the dataset: train (222 images) and test (55 images). The dataset was released in 2020 by the up2metric, Greece.
![Dataset Poster](https://cdn.datasetninja.com/github/dataset-ninja/tomatOD/main/visualizations/poster.png?width=1200)
Explore #
tomatOD dataset has 277 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 tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/q/t/Im/SY2zIuybeZ1UcqB7BpW4DmSWySUj4O5V8yOTORe3MIrMS5Ty29rCSVQsGLARvHpVAfdp4RY0evJZ9iuQqiQf25rBjyAGEbkO1J3nJffOY7tf8Oz4aZJuibKNWEGD.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/F/2/fa/sefE0LIeUfA7f1vf1Ri4F63bdiibKHYJA5qpmeitxtux3YSrfkNlSVT7Up76P9qOWHkZi0NP2Fcax6lg2he3FaIcGkkcjxDGWoWMsa7vasfJMjwjUgTv0Cf8rJNc.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/a/y/U3/nNSDSBf2GbHvzdtwBi2b4elKjbgJrKfzh6Kw3PsV6z7syzKYz0Pb6enfdBqnog9sLIkIfmWTbRvvhyigmhHbp791a61qVFU1mmnG7B2UYIqeviZ0UzJtWE82ajpu.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/L/w/Hk/amCQ8Ro7fQGvza7JepfGLFNtZSuTWpGYNao6a6yOMMGGZCUM7xktczzd9GABd2usP2n8sqzcDL9B1lRt2mOegveGT9hDLQZkZ349MSzzNz4v0zuCEFI7nO7SHbYu.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/2/o/ky/sjlExXUkbS4xXtzCh9nPQTZT9j1aEljeYUjUomu6t3LHuA8bP4uNPN7OKxed8mCcykdo2SOmHWIM8FeZ59VfLwZwFRSa7pXOa4pb4CANtXpnYXDExaUPrv5UeyyJ.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/2/V/tv/vdC1kWLDhfnR25Y4xWEh6aWwOBk1b3ceyNSqVuasN0wwDznB8Wr3BUZ9Tk0iPHQ50K3vQCAqyHYrsUrY73HdGzxxv47mVTtAqXUe0BFyviJudD18ghyF5p5eqcaO.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/K/D/7z/tzNzNvx3fUj2ZmUIGwTc2cplAPbgAdVDRMoChld6AxwvxUi5BrHQHjgr5jvm8qH3sxyMQD4KdE9GEcjSGYu7tiXLwIjSrVecZIZMNTbXFHVGU9Wk2QqtDYCwlRJK.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/S/n/lf/SUYF6FHZNVYivofgmc26b1Hex9kIxna254KoB5LdZWCHHe2NjQ0X0eAMmPbszIuBMYkiHRMenq6VMgXXbFUHxamhKs16o5gKG2MIYeZ7kSpM6KrfLeJ1zP54YZU3.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/K/O/mo/06RNeagzSmofNeAsl2jdjxAdHfdHiFIWaUy7nfGeyOLHTgkZljW0keMKEyOZK6dosKKqDVduQkKttlTDT7vBZV0ndeuVZhUMhP9KgCbPrVYHVDi3XrwpnacxWdPU.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/n/r/7L/l8136iU8ygzbctID08AOSGdocGbgUv4vP9vH8HDrKaelVghePX20zlUIJga7rf8iE9fDwjA1KAHG07dCfVmxn4BdBHD3dd1DvK3MLGlCXVgAH0KN2pQZe4iigMhA.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/y/C/pJ/hG4lO8hNiO8GnjZXCQBm4nRX4BJZweuYjYlSbXeBOPLXkWRchKGgRAoknhtRZyEtkzp62wgCfscowar483zDbTZ8GYdqXRvo7Jf9bIzYfSReBLBR4XkptbydRxdT.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/h/b/lX/BsSHTgPdNkJnA0kY98Lex7yJHK1DJ3n3KisRVxI8U94fyNhgCn2YBrc2WOqeDuzw7lTBbHqnUVGbPNOihim0AfKnyhlQFK0wjJ2i6wPBbqXnZTsdOBubIV9pB4qi.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/S/b/GT/n2VpHSjFMkr4iqFVVyQYhrJ98zfSxvxGXALtkHhyU4EMAhJxXy1hdZJiE9pgWb3BzaPa4TtUDcYPOWnU7QIPgK8RCVLal2rCH1A9sqCFi8fSKxo4dY5dcnbIlOB6.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/c/y/hc/gCJKKaH3P85Xei8NxcuhFFKzkt1y7tkD8KgqUtEZPvClRNFAMHEeWLJhYrIoYCGokq2xRxoCJSUdPbOV2ZM4QQInsJIFLvZapIsB3fGXpyeZAfULPvdDmFygfoYA.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/v/F/Lh/XdF9z61KcoLAZ5H9v3CJ3TtUS59GEORshw8XzAMqutpPzvkUAIIOiqjELx3ycRei8xNFqEub9Y14k5NJb388r4ITDgzkHVK6phfx1wZTJ0CQmi3nB8I0OKGj1Lzh.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/F/T/Nm/FTiGihkDTXS6Q5YYYtD7652hczfttlVFd7DJXAxKfS1GAhjYooIhBbXFNfwTQnSlDQl2wrt9Vh0FI7XUFYj9877PBx4ZoNYVClgEbJzogpXyZJYxPDGYkbTBPY4T.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/4/8/OJ/2NpNWaJI0yUGBvaZIVE4PmWdTpCc6b8YxqiEPXir1mLwDfu40vbGAO0zKPGiciPblRiwSapHHW14DCfh2vgKxaCDvMYg9OYEwNWWzy1BtqUrwkGeMuWPGR8BJ970.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/S/U/ws/kIPI0x0EwtWbj7l8zZCcK00sPz8fOqWwChKlmJNM2tkdVveQIahrYL3IvYf9FmmZgRcEdN20B11WflPfuurYsW9RBx28BV4MFI1aENt6Vr4TMz9aoHNYSwJygQ8q.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/z/s/IK/cwCJsas2FoGKkiD2XTreDUId0dEZqrOJTJa7zuvb92IUcM3aOKcFmdsfH7ffQLTPUNkC7iIcfLyOZLubcOlWlyvDdOvtBtBFqIr3ZHBpS2j7rNdAZ47gOAHny2YV.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/w/I/6G/oHhM9dWfBzmFTD8Zs3a9ynXLG6FLU5EPP2HrQeq9VMyfoEGS51frcBa3iHZEG27XbtsxxkO9JAOX5QsWvu9sig3bQ5QZ47RuhPtYdbHdMkxCm54Y51HM04d8gZPq.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/9/q/Rk/pbBD0CnhK3ipyayTLHelYsrmV8oQBRYAllxMXNxFMFePH514OYc3eE48egdQ4hmh8TEnOGGD77ywUlgDxW7g35WljwswBaX7Gypdz3FFqY4xqkYae2Ni8IFbK7Je.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/d/k/Nf/3mTfO4MxsWLzJcZLHFrpAYCIKIph0IRLND5och61XVFWpHqaYLCloWzwMFsPrypubOh1UTtRk0FtJZ3HrisYLt6ZvVwriyfTbE3xoWzXzJv0SQ75Mtk3drkPpRo5.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/5/JK/ShVgV5269d5OVGgSO3wPYHxUWfAPBuqQsEO4KWGy4y6gRonNBUFx2GZPf7gJUjlsPm3utscmsltGm1X5f0jFWxEqXeWCnGcaTMtLnajA4LmhXMljERJTaeOskFmQ.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/b/Z/IU/V3rNmnvPWsd0rRo9Wi98lDhOf2MTYP5TXpOSVN8Wk7vzriLER7yf97kgpcohWSWsr4h6ftkTxGgFkSYYXINzYmolpWROX2LBQqpmNyh6RMX0203Ri3YUlooTllRE.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Y/N/f1/uNfm9IuecWN65h37ef2JyvirpFxAvtS5voPMZqfUhzVbWQSzl9ksCMCno75maLhPwdh5z2VbwY6RNyXkIC0v0N0PoTqQUdsK11cBotGQ5rjkJGqoeDWpBN7ES0x4.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/R/g/Tl/BAxABlAPFd85ipizbdZ4GNkYvzGHXXmefQDWiv6lihOs4xjN5gPl9xlcSMIeYkJzpIt9beKLaSw7P0Q2aFJzPIp6tvIAEh8WyyRbQLcHn6VtzVPvDFdqqun2ig41.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/q/n/e2/c4VosPFytolG0g4oR3P4tHOr4yMvKQdcnuFFGuhE17bv3DV48WH7PUddWtOdsh8H9a10rvoStpVh7Sc9dwFeLzu3chgkuJ5f2VPAQVbd6vMUQmIo648s3EKQuyNN.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/9/V/UM/FiABlcAmDOALEtaK1jxCtpdEsnIwJFGcBYlDXfs7BXtpgdIXNrBI0uej4NJuVfYTNsrvJtlSIyDqf5l6cJ3KDC8vzw8tBkzZeEFl9jlCLLdXbkZHH19fMPgipHxH.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/F/K/Z1/DePVqngCunsv3ptGw9HvsASOWfdD0UcxzAtuFW6I9JEZ7lU4WSvHaRsUxlLuVpet9rOzDWuv50xByntZSQi3X3vO68IOKjahfRJeXEN3uwzJchicfYJpFZTaM6CP.jpg)
![Sample image from tomatOD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/A/A/eb/hg92bAU4x46M3DWPhp5v12W7AHlJJrLpZBaBmSNkGmvVHyG6mAI6YMI4vhkis1mlgqTeT95dTGSBXYJBfaZYMYbiEQCyI5Jic0Ysy0FTnlHKs4YN25TKFQNbWbyc.jpg)
Class balance #
There are 3 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 |
---|---|---|---|---|
unripeâž” rectangle | 275 | 1871 | 6.8 | 2.08% |
fully-ripeâž” rectangle | 227 | 489 | 2.15 | 0.65% |
semi-ripeâž” rectangle | 198 | 437 | 2.21 | 0.84% |
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
unripe rectangle | 1871 | 0.32% | 2.18% | 0.02% | 31px | 1.55% | 295px | 14.75% | 106px | 5.33% | 31px | 1.55% | 295px | 14.75% |
fully-ripe rectangle | 489 | 0.3% | 5.13% | 0.03% | 35px | 1.75% | 453px | 22.65% | 103px | 5.19% | 35px | 1.75% | 453px | 22.65% |
semi-ripe rectangle | 437 | 0.39% | 1.89% | 0.03% | 33px | 1.75% | 275px | 13.75% | 117px | 5.92% | 33px | 1.75% | 275px | 13.75% |
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/tomatOD/main/stats/classes_heatmaps.png)
Objects #
Table contains all 2797 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âž” | semi-ripe rectangle | stereo20190406_065607_p0_snap_094.jpg | 2000 x 2000 | 93px | 4.65% | 93px | 4.65% | 0.22% |
2âž” | fully-ripe rectangle | stereo20190406_065607_p0_snap_094.jpg | 2000 x 2000 | 93px | 4.65% | 93px | 4.65% | 0.22% |
3âž” | unripe rectangle | stereo20190406_065607_p0_snap_094.jpg | 2000 x 2000 | 193px | 9.65% | 193px | 9.65% | 0.93% |
4âž” | unripe rectangle | stereo20190406_065607_p0_snap_094.jpg | 2000 x 2000 | 119px | 5.95% | 119px | 5.95% | 0.35% |
5âž” | unripe rectangle | stereo20190406_065607_p0_snap_094.jpg | 2000 x 2000 | 119px | 5.95% | 119px | 5.95% | 0.35% |
6âž” | unripe rectangle | stereo20190406_065607_p0_snap_094.jpg | 2000 x 2000 | 207px | 10.35% | 207px | 10.35% | 1.07% |
7âž” | unripe rectangle | stereo20190405_133623_p2_snap_177.jpg | 2000 x 2000 | 125px | 6.25% | 125px | 6.25% | 0.39% |
8âž” | unripe rectangle | stereo20190405_133623_p2_snap_177.jpg | 2000 x 2000 | 75px | 3.75% | 75px | 3.75% | 0.14% |
9âž” | unripe rectangle | stereo20190405_133623_p2_snap_177.jpg | 2000 x 2000 | 127px | 6.35% | 127px | 6.35% | 0.4% |
10âž” | unripe rectangle | stereo20190405_133623_p2_snap_177.jpg | 2000 x 2000 | 65px | 3.25% | 65px | 3.25% | 0.11% |
License #
tomatOD: Tomato Fruit Localization and Ripening Classification is under CC BY-NC-SA 4.0 license.
Citation #
If you make use of the TomatOD data, please cite the following reference:
Tsironis V., Bourou S., Stentoumis C. (2020). tomatOD: Evaluation of object detection algorithms on a new real-world tomato dataset. In ISPRS - International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences. Available from https://github.com/up2metric/tomatOD
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-tomatod-dataset,
title = { Visualization Tools for tomatOD Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/tomatod } },
url = { https://datasetninja.com/tomatod },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Dataset tomatOD 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='tomatOD', 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.