This page is being translated by your browser

Translation can break parts of Roboflow. If something stops working, turn translation off and reload the page.

Detection · Agriculture

Plant counting: Datasets & Models

Automatically count individual plants in field or greenhouse imagery using object detection. Works with drone, tractor-mounted, or handheld camera images to produce accurate per-plot or per-row counts.

Plant counting example
1M+
developers
16k
organizations
50B
inferences

Plant counting

This detection workflow identifies and counts individual plants in agricultural imagery, drawing a bounding box around each plant or seedling and summing them into per-plot or per-row totals. It accepts drone, tractor-mounted, or handheld camera images, making it a practical starting point for teams building a plant counting dataset to measure stand counts, emergence rates, and spacing.

Try it out

Powered by general detection model

Run on custom image

Drop an image here or click to upload

Detecting classes:

Why automate plant counting

Manually counting plants across acres of farmland is slow, tedious, and error-prone, and sampling a few rows to extrapolate stand counts introduces uncertainty that affects planting, replanting, and yield decisions. Automating plant counting with computer vision lets agronomists and growers process thousands of images and measure emergence and crop density across an entire field without walking every row. The result is faster, more consistent counts that scale with the amount of imagery you collect.

Key benefits

You get repeatable, objective plant counts that support emergence evaluation, gap detection, and yield forecasting across large acreage. The workflow runs on imagery from cameras and drones you likely already operate, and models like RF-DETR handle dense, overlapping plants where crops are closely spaced. As your image volume grows across seasons and fields, the same pipeline scales without adding manual labor.

How to use it

  1. Upload an image: Drop any photo into the widget above to try plant counting for free, right on this page.
  2. Preview instant results: The model detects plant, seedling, crop row, sprout, leaf within seconds and returns an annotated image with structured predictions, so you can immediately see how well it works. Adjust the detection classes and re-run until the results fit your scenario.
  3. Like what you see?: With a free Roboflow account, you can deploy this workflow with the Serverless Cloud API, customize it in your workspace, or train RF-DETR on your own images for production accuracy.
  4. Get started for free: No code or training data required to begin: upload, review the results, and make it part of your stack in a single click.
Recommended model

Recommended model for plant counting

RF-DETR is state of the art for real-time object detection, instance segmentation, and keypoint detection, with higher accuracy and lower latency than comparable models, and it's Apache 2.0 licensed. When you're ready to build a production model for plant counting, fine-tune it on your own labeled images, then deploy to a Serverless Cloud API endpoint.

Train your own model
Roboflow Agent

Not sure where to start?

Describe your Plant Counting project to Roboflow Agent.

Agent