Back to Case Studies

Case study

Live training on pipe and rebar ends: about 140 hours of labeling time saved on every 1,000 images

Labelers start from scratch and the model learns from every image they submit. After 15 images its prelabels do about 80% of the work, after 45 over 90%, and a construction-site photo of pipe and rebar ends then takes under a minute instead of 9½: about 140 hours saved on every 1,000 images.

, 7 min read

Related templates

Live training on pipe and rebar ends: about 140 hours of labeling time saved on every 1,000 images

Counting building materials on a construction site is a classic task for object detection, and a detector that does it needs a lot of annotated data. Every photo of a pipe stack or a rebar bundle holds over a hundred cut ends, and each one needs its own bounding box. By hand, one photo takes about 9½ minutes: on 1,000 photos, that is about 157 hours of annotation. With live training in OvalBee, the same 1,000 photos take about 16.

From a live training run on construction-site photos of pipe and rebar ends, scaled to 1,000 images.
Labeling time saved≈ 140 hours

On every 1,000 photos like these, out of about 157 hours of manual annotation

Images to get going15

Labeled by hand before the model’s prelabels did about 80% of the work on the next ones

Faster per image11×

Once the model has learned: under a minute per photo instead of 9½

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:

  1. Labelers start from scratch. Out of the box, the model knows nothing about pipe and rebar ends: its first prelabels do 7% of the work, so the first photos are annotated by hand.
  2. The model learns from every image they submit. Each submitted photo trains it a little more, and it prelabels the next photo with what it has learned so far. Labelers correct the prelabels instead of drawing every box.
  3. After 15 images, it does about 80% of the work. By then the prelabels already cover most of the ends, which the report rates as strong assistance.
  4. After 45 images, it does over 90%, which the report rates as production-grade, and it settles at about 94%. From there on, labeling more photos teaches the model little, so it prelabels everything that is left and labelers only check and correct.
  5. A photo then takes under a minute instead of 9½. That is the 11× speed-up, and it holds for every photo after the learning phase.

Here is one photo of the run, annotated by hand and then prelabeled by the trained model:

Annotated by hand: 119 pipe ends, about 9½ minutes of work.

Annotated by hand: 119 pipe ends, about 9½ minutes of work.

A stack of pipes seen end-on at a construction site, with 119 red bounding boxes, one around each pipe opening
Prelabeled by the trained model: 120 bounding boxes on the same pipe ends, ready to check.

Prelabeled by the trained model: 120 bounding boxes on the same pipe ends, ready to check.

The same stack of pipes with 120 bounding boxes predicted by the model after live training, on the same pipe openings

What the model gets right

After the learning phase, out of every 1,000 pipe and rebar ends in a new photo:

  • About 970 are found by the model; a labeler draws only about 30 that it missed.
  • About 930 boxes need no change at all: the labeler just accepts them.
  • About 40 boxes need a small fix: the end is found, and the labeler drags the box into place or switches pipe for rebar.
  • About 40 extra boxes with nothing under them are deleted with one click each.

So instead of drawing about 1,000 boxes, the labeler draws about 30 and accepts or fixes the rest.

What it means for 1,000 images

A labeling project of 1,000 photos like these takes about 157 hours by hand. With live training:

  • The first 120 photos are labeled while the model learns. Even then, its prelabels do 81% of the work on average, so these photos cost about 3 hours instead of 17.
  • The other 880 photos come prelabeled by the trained model and take about 50 seconds each: about 12 hours instead of 140.

That is about 16 hours instead of 157: about 140 hours saved, 90% of the manual time. The figures hold as long as the rest of the data looks like these photos; 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 photos. The first prelabels did 7%, the first batch as a whole 42%: the model already improves within those photos. The second batch reached 82%, and from the fourth on the prelabels are production-grade, at 91% to 95% with one weaker batch.

From the fourth batch on, the prelabels did over 90% of the work in all but one batch.

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.

  1. 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.
  2. Label 10 images. That is the only manual work: the annotation tool measures how long your data takes by hand.
  3. Let the flow run. It replays your existing annotations through live training, finds the point where the model stops improving and prelabels the rest.
  4. 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: Huang Q., Chen Y., Li Y., Liu S., Fan Z., Chen X., Chen J. MACO: An Open-Image Data Set with Multiannotation Strategies for Building Material Counting. Journal of Construction Engineering and Management; data on Zenodo, CC BY 4.0. We use 400 of its pipe and rebar photos, picked at random among those with at most 300 objects, the most the detector returns for one image: 45,081 annotated ends, about 113 per photo.

  • Labeling with live training. A simulated labeler submitted the dataset’s annotations to a live training session in batches of 15 photos, the same way a person would, and the session prelabeled each photo before training on it. The run stopped once three batches in a row did not beat the best earlier batch by 2 points: after 120 photos, at about 94%.
  • The rest. The trained model prelabeled the other 280 photos, which it had never seen, and the flow compared the prelabels with the annotations. All figures after the learning phase come from these photos.
  • Manual annotation time. Labeling these photos by hand in the annotation tool took us about 4.9 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 400 photos: 14 hours saved on the 120 labeled with live training and 40½ on the 280 prelabeled after them. The 1,000-image figures apply the same per-photo times to 120 photos labeled while the model learns and 880 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 120 photos finds 95% of the pipe and rebar ends in photos it has never seen (recall 0.95), and 96% of what it finds is right (precision 0.96); AP50 is 0.96.

Here is the flow from this run. It is read-only: open any node to see its settings, its data and its reports.

The flow from this post: manual annotation on the left, the live training loop in the middle, the results at the bottom. Open it in OvalBee ↗

Node reference

Every node of the flow, with a link to its documentation.

NodeWhat happens
MACO: steel pipe and rebar, 400 images (Dataset ↗)Holds the annotated photos 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.