Skip to main content

Client Success Story

How can AI count cattle accurately when aerial images keep changing?With verified drone image labeling. 95% accuracy at 10K+ images a month.

A US AgriTech platform now gives farmers, lenders, and feedyards reliable herd and livestock inventory counts.

Key results

Who is this for?

This story is most relevant to:

  • AgriTech platforms

    Reliable cattle detection from drone or satellite surveys.

  • Drone survey and analytics firms

    Needing drone image annotation to turn aerial footage into reliable insights.

  • Wildlife and conservation researchers

    Tracking animal numbers across large, remote areas.

  • Enterprise AI teams

    That need training datasets for small, overlapping objects in aerial images.

The Client

An AgriTech SaaS company turning drone surveys into livestock inventories

The client develops software that uses drones and AI to count cattle in feedyards and pastures. Farmers, lenders, and feedyard operators use the company’s herd inventories to run feedyard audits, spot missing animals, plan feed cycles or farm expansion, and confirm loan collateral. They engaged our image annotation services to prepare reliable training data for their livestock-detection model.

Aerial drone view of cattle pens with metal shade roofs and animals scattered across bare dirt.
Cattle pens seen from a drone, with shade roofs, shadows, and bare dirt around the herd. Representative image.

Project Requirements

What the client needed

Aerial image labeling of 10,000 high-resolution drone images per month to train and validate their AI livestock detection model.

  • Label every animal: Mark each identifiable animal in an image, including animals that are partly hidden, at the edge of the frame, or standing close together.

  • Oval annotations: Draw an oval around each animal in QuPath that fits the animal’s top-down body outline.

  • 95%+ accuracy: Keep annotation accuracy above 95% on every delivered batch, including across edge cases such as images with glare, deep shadows, or tightly packed pens.

  • Model-ready exports: Convert QuPath output into COCO JSON, the format the client's training pipeline reads, with valid image IDs, class information, and bounding regions.

The Challenge

Cattle that blend into shadows, dirt, and each other

Feedyards and pastures rarely give a drone a clean view of the herd. The source image also changed from flight to flight due to environmental factors. Yet, the model had to account for every identifiable animal or risk distorting the herd count and the downstream purpose it served.

  1. Shadows hid animal outlines

    Harsh sun, long shadows, overexposed patches, and black cattle on dark, wet dirt could make a real animal fade out or a shadow pass for one.

  2. Background objects resembled cattle

    Dirt mounds, dark grass, feed troughs, feedlot structures, and parked vehicles could all resemble cattle in a top-down shot.

  3. Crowded herds obscured individual animals

    In busy pens, cattle stood together in tight packs, touching or overlapping, so it was hard to tell where one animal ended and the next began.

  4. Camera geometry kept changing

    Altitude, camera tilt, flight path, and drone settings changed between flights, so image size, scale, and orientation kept shifting.

  5. No direct path to COCO JSON

    The client's training system used a format called COCO JSON but their chosen data annotation tool, QuPath, saves labels as GeoJSON and has no "save as COCO JSON" option.

How We Did It

A QuPath workflow designed to preserve individual cattle counts in the client’s expected COCO JSON format

We aligned a dedicated team of 6 drone image annotators and a secondary reviewer, built a shared reference for handling the tough images, and developed a custom model-data export path.

  1. Define annotation guidelines for the exceptions

    To give every annotator the same visual standard, we used a representative sample of the client's real drone images to build a guideline that showed what an animal looked like under shadows, glare, and partial occlusion, how to distinguish cattle from troughs, vehicles, and dark ground patches, and when adjacent bodies needed separate annotations.

  2. Fix one shape and one class in QuPath

    We configured a single Cattle class with fixed color and border styling, then trained annotators to fit an oval around each animal's visible body. This way, any missing or off-style label stood out at a glance during review.

  3. Train annotators on the client's drone images

    Every annotator practiced on the client's real drone images for a week before joining the production line to learn the lighting, terrain, and herd patterns. We also built QuPath project templates, so each new batch opened with the same class, oval style, and tool settings already in place. No one had to set up a batch by hand, and every annotator started from the same configuration.

  4. Label, review, and track every batch

    Annotators labeled their assigned images. A secondary reviewer then spot-checked each batch and fixed errors to keep accuracy above 95%. We tracked daily and weekly targets for each annotator, keeping speed and accuracy steady as data volume grew.

  5. Convert and validate COCO JSON files

    We exported labels from QuPath as GeoJSON, then ran a custom script that converted them into COCO JSON to the client's specification for categories, bounding regions, and image references. Validation checks then matched the two files animal by animal. For example, if an image held 85 ovals in QuPath, its COCO entry had to list the same 85 animals, with the right coordinates and image ID.

  6. Use error patterns to improve quality checks

    Peer reviewers checked a sample from each annotator's batch. They randomly audited finished batches to identify broader issues, such as hidden cattle, merged ovals, or objects mistaken for animals. When a mistake kept coming back, such as a trough labeled as an animal, we added it to the annotation guideline document and updated the visual examples and instructions.

Raw top-down drone image of a feedyard pen with black, red, and white cattle on muddy ground; The same feedyard pen with an oval on every animal and the pen edge outlined.
One feedyard pen before and after labeling. Every animal now carries its own oval, including black cattle that blend into the dark ground.

The Results

Herd counts that hold up, and a model that keeps improving

Since March 2025, the client's model has received a steady supply of accurate training data, enabling frequent model improvements and a better end-user experience.

  • 40%

    fewer recount requests from users

    Now, our client’s end users (farmers, lenders, feedyards, etc.) raise fewer disputes and very few request a second count after receiving an inventory.

  • 3x

    more frequent model updates

    Not only does the client get a large volume of accurately labeled data, but that training data is also representative of environmental and seasonal variations, as we annotate drone images collected under changing conditions throughout the year.

  • 95%+

    annotation accuracy across all batches

    Accurate annotations with only a few corrections have protected the client’s model from learning from mislabeled examples and kept dataset quality consistent, despite increasing monthly image volumes.

Despite tight timelines and massive image volume, they delivered high-quality labeled data on schedule and made integration into our AI model completely seamless.

Project Manager, R&D Team, US AgriTech cattle-counting platform

Labels

Services

Platforms, Tools & Scope

  • QuPath
  • Drone Image Annotation
  • Aerial Image Labeling
  • Livestock Detection Training Data
  • Cattle Counting AI
  • Oval Annotation
  • Occluded Object Labeling
  • Annotation Guideline Creation
  • GeoJSON to COCO JSON Conversion
  • Geospatial Data Annotation

Let’s Talk

Are your drone images in the right shape to train an AI model?

Whatever your drone image annotation challenge may be: low-contrast, changing seasons, high altitude, crowded scenes, or changing labeling guidelines, trust our data labeling team to overcome it. Get annotated data closely aligned to your goal, in the format your AI/ML training pipeline expects, with an expert review. Share sample images and your labeling specifications, and we will return a free annotated sample for evaluation.

Tell us what you need

We use these details only to respond to your request. See our Privacy Policy.