# Laboro Tomato

Greenhouse tomatoes by size and ripeness: 9,777 instance polygons in 6 classes.

## Overview

- Type: public computer vision dataset
- Images: 804
- Classes: 6
- Annotation types: polygon
- Tasks: Segmentation (https://pictograph.io/explore/task/segmentation)
- Owner: Pictograph Research
- License: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/)
- Source: Laboro Tomato (https://github.com/laboroai/LaboroTomato), created by Laboro.AI Inc. (2020). Credit the original authors when you use this data.
- Stars: 2
- Page: https://pictograph.io/datasets/pictograph-research/laboro-tomato
- Hugging Face: https://huggingface.co/datasets/pictograph/laboro-tomato
- Export formats: Pictograph JSON, Darwin V7, COCO, YOLO, YOLO-OBB, YOLO-Pose, DOTA, Pascal VOC, CVAT, Datumaro, LabelMe, CSV

## Get this dataset

Import a copy into your Pictograph organization, then export it in any format above. Its 804 images fit the Free plan's 10,000. They count toward your organization's images and storage. Every step: https://pictograph.io/docs/guides/public-datasets

```python
from pictograph import Client

client = Client()  # reads PICTOGRAPH_API_KEY
copy = client.datasets.import_public(ref="pictograph-research/laboro-tomato")
print(copy.dataset_name, copy.image_count)
```

```bash
pictograph datasets import-public pictograph-research/laboro-tomato
```

Or download its Hugging Face copy, no Pictograph account needed: the images, with each one's labels in `metadata.jsonl` (none of the formats above): https://huggingface.co/datasets/pictograph/laboro-tomato

## Classes

- b_fully_ripened
- b_half_ripened
- b_green
- l_fully_ripened
- l_half_ripened
- l_green

## About

# Laboro Tomato

> A public instance-segmentation dataset of 804 greenhouse photos with 9,777 tomatoes outlined, each labeled by its size (normal or cherry) and its ripeness (green, half ripened or fully ripened).

**[Pictograph Research](/org/pictograph-research)** · [CC-BY-NC-SA-4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) · Public · Updated 2026-11-28

## Overview

Laboro Tomato is Laboro.AI's dataset of tomatoes growing on the vine, photographed at a farm with two cameras and outlined one by one. Every tomato is labeled by its size and its stage of ripening, so a model learns to tell a tomato ready to pick from one that needs more time. Laboro built it for harvest forecasting by maturity, robots that harvest only ripe tomatoes, thinning, spraying at a chosen stage, and greenhouse climate control.

Here every tomato is one polygon in one of six classes, the photos keep Laboro's train and test splits, and every photo stands upright.

## At a glance

| Metric | Value |
| :--- | ---: |
| Images | 804 |
| Tomatoes (polygons) | 9,777 |
| Classes | 6 (polygon) |
| Splits | train 643, test 161 |
| Image sizes (px) | 3120 x 4160 (484), 3024 x 4032 (305), 4160 x 3120 (15) |
| Annotation types | polygon |
| Visibility | Public |

## Classes

The prefix is the size: `b_` a normal-size tomato, `l_` a cherry tomato. The ripeness follows Laboro's guide, by the approximate share of the fruit that is red.

| Class | Size | Ripeness | Red | Train | Test | Total |
| :--- | :--- | :--- | :--- | ---: | ---: | ---: |
| b_fully_ripened | normal | fully ripened | 90% or more | 348 | 72 | 420 |
| b_half_ripened | normal | half ripened | 30 to 89% | 520 | 116 | 636 |
| b_green | normal | green | under 30% | 1,467 | 387 | 1,854 |
| l_fully_ripened | cherry | fully ripened | 90% or more | 982 | 269 | 1,251 |
| l_half_ripened | cherry | half ripened | 30 to 89% | 797 | 223 | 1,020 |
| l_green | cherry | green | under 30% | 3,667 | 929 | 4,596 |
| **Total** | | | | **7,781** | **1,996** | **9,777** |

Every count equals the one Laboro publishes for its release.

## Annotations

Laboro's own polygons, one per tomato, exactly as its COCO release draws them: no holes, nothing simplified. A model that needs boxes gets them from the polygons.

## Images

The photos come from two cameras: 3024 x 4032 and 3120 x 4160, with 15 taken in landscape. 305 of them were saved by their camera sideways with an EXIF rotation; here they are turned upright, losslessly (no re-encoding), so their pixels match their polygons in any tool, and their EXIF, the camera's location included, is removed. Every other photo is Laboro's file byte for byte.

## Splits

Laboro's own: `train` holds 643 images and `test` 161, in the folders `/train` and `/test`. There is no validation split.

## Use this dataset

```python
from pictograph import Client, Export, PublicDatasetImport

client = Client()  # reads PICTOGRAPH_API_KEY
copy: PublicDatasetImport = client.datasets.import_public(ref="pictograph-research/laboro-tomato")
for image in client.images.iter(dataset=copy.dataset_name, max_total=5):
    print(image.filename, image.annotation_count)
export: Export = client.exports.create(
    dataset=copy.dataset_name, name="laboro-tomato-coco", format="coco",
    include_images=True, timeout=3600,
)
client.exports.download(
    dataset=copy.dataset_name, export=export.name, output_path="laboro-tomato-coco.zip",
)
```

- Import it into your own workspace with one click from its page.
- Pull it with the [Pictograph SDK](https://pictograph.io/docs/api-reference/datasets) (shown above) or the CLI.
- [Export](https://pictograph.io/docs/export-conversion) to COCO, YOLO, Darwin V7, Pascal VOC, and more.

## License

Released under [CC-BY-NC-SA-4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) (Creative Commons Attribution-NonCommercial-ShareAlike 4.0):

- **Attribution**: credit Laboro.AI Inc. and link its release.
- **NonCommercial**: no commercial use. For commercial use, [contact Laboro.AI](https://laboro.ai/contact/other/).
- **ShareAlike**: share what you build on it, these polygons included, under the same license.

## Source

The images and annotations come from [Laboro Tomato](https://github.com/laboroai/LaboroTomato), created by Laboro.AI Inc. (2020) and released under [CC-BY-NC-SA-4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/). Changed here: the 305 sideways photos turned upright losslessly with their EXIF removed; the folders and splits follow Laboro's. Please credit Laboro.AI when you use this data.


---

Free to view. Sign in (free) to import this dataset, re-annotate it with SAM3, or export it; this link opens it in the app afterwards: https://app.pictograph.io/signup?next=%2Fexplore%2Fdatasets%2Fpictograph-research%2Flaboro-tomato
