Skip to content
beginnerscience

TPC-268 Plant Counting by Points and Exemplar Boxes

Count plants with landmark points and three exemplar boxes per image using image_annotation. Images are CC0 sunflower photographs from Wikimedia Commons.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/science/agriculture/tpc268-plant-counting
potato start config.yaml

About this dataset

TPC-268 is a plant counting dataset built by Xu, Hu, Hu, Zhou, Cao, Zhang, and Lu and published in the CVPR 2026 proceedings. Each image shows many instances of one plant organ from a named species, and the dataset links the counts to plant taxonomy.

The annotation protocol asks for a point at the structural center of each instance and bounding boxes for three instances per image. Partly hidden instances follow a visible-shape dominance principle, so only visible structures are marked. About 80% of the images were annotated from scratch by a professional team over three months, and all labels went through a 3-round human check.

This design reproduces the point and exemplar-box step with one image_annotation scheme that offers the landmark and bbox tools. The counting target is shown with each item and is not annotated, and the taxonomy vectors of the release are left out. The eight images are real CC0 photographs of a sunflower field in Karnataka, India, from Wikimedia Commons. They are not TPC-268 images, because the dataset license is non-commercial and the sources disagree on share-alike terms. No model_training block is included, because no registered Potato trainer learns from landmark counts.

Exemplar boxes per image
3
Images annotated from scratch by the professional team
about 80%
Human check rounds
3
Items in this design
8 (real CC0 sunflower photographs)

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# TPC-268: taxonomic plant counting by points and exemplar boxes (CVPR 2026)
#
# Paper:   Xu et al., "Plant Taxonomy Meets Plant Counting: A Fine-Grained, Taxonomic Dataset for
#          Counting Hundreds of Plant Species", CVPR 2026 (proceedings, pages 167-177).
#          Open access page: https://openaccess.thecvf.com/content/CVPR2026/html/Xu_Plant_Taxonomy_Meets_Plant_Counting_A_Fine-Grained_Taxonomic_Dataset_for_CVPR_2026_paper.html
#          arXiv: https://arxiv.org/abs/2603.21229 (DOI 10.48550/arXiv.2603.21229)
# Data:    https://github.com/tiny-smart/TPC-268 and https://huggingface.co/datasets/jinyu-xu/TPC-268
#          (the README text and LICENSE say CC BY-NC 4.0, academic research only; the README badge and
#          the Hugging Face tag say CC BY-NC-SA 4.0, so the sources disagree). No TPC-268 image is
#          redistributed here.
# Protocol (arXiv paper, section 3.3, Annotation Protocols and Annotation Pipeline): "providing point
#          annotations at the structural center of each instance and bounding boxes for three instances
#          per image". Partial occlusion follows a "visible-shape dominance principle, annotating only
#          visible structures". Exemplars are chosen to cover varied appearance, scale and morphological
#          or environmental conditions. Species names were identified with Pl@ntNet, and "all labels
#          underwent a 3-round human check". About 80% of the images were annotated from scratch by a
#          professional team over three months, and the rest were converted from sourced boxes.
# Adaptations: the counting target (species and organ) is given with each item and is not annotated.
#          The taxonomy vectors in the release are derived from the species name and are not annotated
#          here. The eight photographs are real, CC0 pictures of a sunflower field (see
#          media/LICENSE-media.txt), so every item has the same species. They are not TPC-268 images.

annotation_task_name: "TPC-268 plant counting"

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: image_url

task_dir: .
output_annotation_dir: annotation_output
export_annotation_format: jsonl
media_directory: media

user_config:
  allow_all_users: true

instance_display:
  fields:
    - key: target
      type: text
      label: "Count this target"
    - key: image_url
      type: image
      label: "Image"

annotation_schemes:
  - annotation_type: image_annotation
    name: count_points
    description: "Click the structural center of every instance of the target, then draw a box around three varied instances as exemplars."
    source_field: image_url
    tools:
      - landmark
      - bbox
    labels:
      - name: instance
        color: "#27AE60"
      - name: exemplar
        color: "#E67E22"
    zoom_enabled: true
    pan_enabled: true

annotation_instructions: |
  Put one point at the structural center of each instance of the target named above. Where an
  instance is partly hidden, mark it only if its visible shape is clear. Draw exactly three
  exemplar boxes, choosing instances that differ in appearance and size.

Sample Data

json
[
  {
    "id": "plant_001",
    "species": "Helianthus annuus",
    "organ": "flower (flower head)",
    "target": "Helianthus annuus, flower head",
    "image_url": "/media/sunflower_001.jpg",
    "note": "CC0 photograph of a sunflower field in Karnataka, India (see media/LICENSE-media.txt). Not a TPC-268 image."
  },
  {
    "id": "plant_002",
    "species": "Helianthus annuus",
    "organ": "flower (flower head)",
    "target": "Helianthus annuus, flower head",
    "image_url": "/media/sunflower_002.jpg",
    "note": "CC0 photograph of a sunflower field in Karnataka, India (see media/LICENSE-media.txt). Not a TPC-268 image."
  }
]

// ... and 6 more items

Dataset & paper

Xu et al., CVPR 2026

Paper DOI
10.48550/arXiv.2603.21229

Citation (BibTeX)

bibtex
@InProceedings{Xu_2026_CVPR,
  author = {Xu, Jinyu and Hu, Tianqi and Hu, Xiaonan and Zhou, Letian and Cao, Songliang and Zhang, Meng and Lu, Hao},
  title = {Plant Taxonomy Meets Plant Counting: A Fine-Grained, Taxonomic Dataset for Counting Hundreds of Plant Species},
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  month = {June},
  year = {2026},
  pages = {167-177}
}

Details

Annotation Types

image_annotation

Domain

AgriculturePlant ScienceComputer Vision

Use Cases

Object CountingPoint AnnotationExemplar Selection

Tags

tpc-268plant countingagriculturelandmarkexemplar boxescvpr 2026

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)