Counting seedlings from a drone is how agronomists check plant emergence, and a detector that does it needs a lot of annotated data. Every drone image of a field plot holds dozens of young maize, sugar beet or sunflower plants, about 85 on average, and each one needs its own bounding box. By hand, one image takes about 4½ minutes: on 1,000 images, that is about 72 hours of annotation. With live training in OvalBee, the same 1,000 images take about 15.
How live training gets there
Live training is a model that learns while your team labels. There is no training set to prepare and no separate training run:
- Labelers start from scratch. Out of the box, the model knows nothing about these seedlings, so the first images are annotated by hand.
- The model learns from every image they submit. Each submitted image trains it a little more, and it prelabels the next image with what it has learned so far. Labelers correct the prelabels instead of drawing every box.
- After 15 images, it does about 70% of the work. By then the prelabels already cover most of the plants, which the report rates as strong assistance.
- It keeps improving until about 90 images, when the prelabels settle at about 80% of the work. From there on, labeling more images teaches the model little, so it prelabels everything that is left and labelers only check and correct.
- An image then takes under a minute instead of more than 4. That is the 5× speed-up, and it holds for every image after the learning phase.
Here is one image of the run, annotated by hand and then prelabeled by the trained model:
What the model gets right
After the learning phase, out of every 1,000 plants in a new image:
- About 980 are found by the model; a labeler draws only about 20 that it missed.
- About 710 boxes need no change at all: the labeler just accepts them.
- About 270 boxes need a small fix: the plant is found, and the labeler drags the box into place instead of drawing it.
- About 60 extra boxes with no plant under them are deleted with one click each.
So instead of drawing about 1,000 boxes, the labeler draws about 20 and accepts or fixes the rest.
What it means for 1,000 images
A labeling project of 1,000 drone images like these takes about 72 hours by hand. With live training:
- The first 135 images are labeled while the model learns. Even then, its prelabels do 70% of the work on average, so these images cost about 3 hours instead of 10.
- The other 865 images come prelabeled by the trained model and take about 51 seconds each: about 12 hours instead of 61.
That is about 15 hours instead of 72: about 56 hours saved, almost 80% of the manual time. The figures hold as long as the rest of the data looks like these images; on your own data, the template below measures them for you.
How fast the model learns
The chart shows the share of the labeling work the model’s prelabels did, batch by batch of 15 images. The first prelabels did 15%, the first batch as a whole 41%: the model already improves within those images. From the second batch on, it does about 70% and more, and it levels off at about 80% around image 90.
What OvalBee takes care of
Live training needs no separate tools around it: the annotation tool, the model and the reports work together in one flow.
- Labeling starts right away. No training set to prepare, no export and no training run before the first prelabel.
- A model that learns while you label. The live training session fine-tunes Grounding DINO on every submitted image and prelabels the next one with the newest weights.
- It knows when to stop. The flow watches the share of work the prelabels do and reports when more labeled images stop improving it, so you know when to switch to prelabeling the rest.
- The time saved in your own numbers. The annotation tool records how long each image takes, idle time left out, and the reports turn that into hours saved on your data.
Run the same test on your data
The Live training efficiency test template measures all of this on a dataset you have already annotated, before your team labels anything new. All you need is a dataset annotated with bounding boxes, even a small one.
- Create a flow from the template. Its setup asks four questions: your dataset, the model to start from, the classes and who annotates by hand.
- Label 10 images. That is the only manual work: the annotation tool measures how long your data takes by hand.
- Let the flow run. It replays your existing annotations through live training, finds the point where the model stops improving and prelabels the rest.
- Read the reports. You get how many images the model needs, how much of the work it does and the hours it saves on your data.
If your annotations are polygons or masks, convert them to bounding boxes first with Transform annotations. When the numbers are worth it, add the Live training module to your labeling pipeline and label the rest of your data with it.
Live training is available with the Pro plan on OvalBee Cloud and with the Business plan on a self-hosted installation.
How we measured it
We did not annotate a new dataset for this post: the test replays one that is already annotated.
Dataset: David E., Daubige G., Joudelat F. et al. Plant detection and counting from high-resolution RGB images acquired from UAVs: comparison between deep-learning and handcrafted methods with application to maize, sugar beet, and sunflower crops. bioRxiv, 2021; data on Zenodo, CC BY 4.0. We use the version published on Dataset Ninja: 189 drone images with 16,122 annotated plants, one crop per image.
- Labeling with live training. A simulated labeler submitted the dataset’s annotations to a live training session in batches of 15 images, the same way a person would, and the session prelabeled each image before training on it. The run stopped once three batches in a row did not beat the best earlier batch by 2 points: after 135 images, at about 80%.
- The rest. The trained model prelabeled the other 54 images, which it had never seen, and the flow compared the prelabels with the annotations. All figures after the learning phase come from these images.
- Manual annotation time. Labeling these images by hand in the annotation tool took us about 3.1 seconds per bounding box, idle time left out. The time with prelabels follows from the share of the work the prelabels do.
- Scaling to 1,000 images. The run covered 189 images: 7 hours saved on the 135 labeled with live training and 3 on the 54 prelabeled after them. The 1,000-image figures apply the same per-image times to 135 images labeled while the model learns and 865 prelabeled after.
The share of the work is what the report calls the assistance score. Each object counts as fully done by the model when the labeler accepts its box unchanged, half done when the labeler moves, resizes or reclassifies the box, and not done when the labeler deletes a wrong box or draws a missed one. A box counts as unchanged when it overlaps the annotation by at least 0.75 IoU (intersection over union) or no edge is further off than 0.2% of the image diagonal.
As a detector, the model trained on 135 images finds 90% of the plants in images it has never seen (recall 0.90), and 94% of what it finds is right (precision 0.94); AP50 is 0.92.
Here is the flow from this run. It is read-only: open any node to see its settings, its data and its reports.
Node reference
Every node of the flow, with a link to its documentation.
| Node | What happens |
|---|---|
| Import Plant Detection and Counting from Dataset Ninja (Import from Dataset Ninja ↗) | Imports the annotated dataset to test on. |
| Copy into the pool (Copy ↗) | Copies the images into the pool of images not labeled yet. |
| Sample 10 images to label by hand (Random sample ↗) | Selects the images to annotate manually. |
| Remove their annotations (Filter annotations ↗) | Removes their annotations, so they are annotated from scratch. |
| Label by hand (Labeling ↗) | The ten images are annotated; the tool records the time. |
| Deploy live training ↗ | Starts the live training session from Grounding DINO, a detector that takes the class names as text. |
| Next batch (Run flow ↗) | Starts each round of the loop. |
| Take 15 images from the pool (Random sample ↗) | Randomly selects the next batch from the images the loop has not labeled yet. |
| Simulated labeler ↗ | Labels the batch with the live training session, image by image. |
| Prelabeling efficiency and score trend ↗ | Scores the prelabels, converts the score into time and reads the Score trend. |
| Score has plateaued (Condition ↗) | Ends the loop once the Score trend reads Plateau. |
| Still rising: next batch (Start next round ↗) | Starts the next round while the score still rises. |
| Take labeled images out of the pool (Move ↗) | Leaves only the images the loop never labeled: the test set. |
| Prelabel the rest (Prelabel with live training ↗) | The trained session prelabels the test set. |
| Prelabeling efficiency: test set (Compare prelabels with ground truth ↗) | Scores those prelabels against the ground truth and converts the score into time. |
| Object detection metrics: test set (Object detection metrics ↗) | Compares the same predictions with the ground truth as a detector. |
