Drone Herd Counting
3 videos · Inventory of cattle and sheep on pasture from drone flyovers
- No alerts so far
Reports with indicators built for this scenario
In the dashboard, each model has its own page with the indicators that matter for this scenario: period totals, computed highlights, breakdown by category and charts over time, per site and per camera.


In practice
Counting a herd on pasture still usually means gathering the animals in the corral, stopping the routine and trusting whoever counts at the gate. On farms with several paddocks, the inventory takes a whole day of work, and the gap between what is on paper and what is in the field only shows up once it has already become a loss.
With a drone flight, the rancher films the pasture from above and the AI counts each animal only once, even with the drone moving: every counted animal gets a fixed number on screen, and the flight total goes up as the drone passes over the herd. The result is the herd size for each paddock, with the marked video as a record, without moving the animals.
Frequently asked questions
- Do I need a specific drone?
- No. Video from any drone with a regular camera works, as long as the animals are sharp. Send the drone's original file: video compressed by messaging apps makes animals small and blurry. Tracking compensates for the drone's movement, so it can keep flying while it records.
- Does it work with any breed?
- Yes. Detection looks for cattle, sheep, goats and horses by shape, with no training per breed. In mixed batches, limiting the species counted improves the result.
- Can it serve as proof for a bank or insurer?
- The video with the count is stored as inventory evidence, which helps with livestock-backed loans, rural credit and audits. Whether it is accepted as proof depends on each institution.
- How do I check that the count is right?
- In the marked video, each counted animal appears in green with a fixed number from start to finish; anything left out of the count appears in yellow. Just check whether any animal got two numbers or whether any yellow one should be green. Animals standing very close together and dark animals in shade are the hardest cases, so check those first.
Where to install the cameras
- Drone flight with the camera pointing straight down (90°), at a constant height and in a single straight pass over the herd without going back over the same area, ideally with the sun high to reduce shadows.
- A fixed camera at the gate or the pasture exit lane, to count animals moving between paddocks.
- Video of loading and unloading, to check the batch leaving or arriving at the farm.
About this solution
Automatic animal counting with fixed cameras or drones: cattle passing through a gate, chute or alley (virtual line), herds on pasture or in feedlots seen from above, sheep and goats in pens and poultry in barns. The AI identifies each animal's species, separates herding dogs and people, estimates herd size and measures area occupancy — replacing slow, error-prone manual "head counts".
- 1RF-DETR detection: the AI finds cattle, sheep and horses in each frame by their shape, with no training per breed, and always analyzes the video at the same scale, so animals do not break into pieces in higher-resolution videos.
- 2Herds filmed from above: the frame is also analyzed in overlapping tiles (SAHI technique) at higher resolution, and the detections are merged without duplicating animals.
- 3In drone flyovers, tracking compensates for camera motion: the AI measures how far the image moved from one frame to the next and carries each animal's position along, so the drone moving does not create new animals.
- 4Each counted animal gets a fixed number, shown in green from the moment it appears in the image; anything seen but not included in the count is shown in yellow. That way the count can be checked animal by animal.
- 5Flight total: each animal is counted only once, even if it disappears for a moment and comes back, and the counter goes up as the drone passes over the herd. Next to light-colored structures such as a house, feed bunk or water trough, a blob only counts if the AI confirms in a zoomed-in crop that there is an animal there.
- 6At the gate or chute, each animal gets a track and is counted only once when it crosses the virtual line, by species and direction. Herding dogs and people are marked but not included in the count.
- 7Occupancy = share of the image covered by animals; with a stocking limit configured, it raises an alert with a snapshot of the moment.
Benefits
- Eliminates manual "head counts", which require stopping handling and go wrong on large lots.
- Counting by species and direction of passage, with video recording as evidence.
- A drone flyover becomes a herd inventory in minutes, without rounding animals up in the corral.
- Marked video with each animal's number, so the count can be checked frame by frame.
More demos

Head count and pen occupancy in feedlots and dairy farms

Cameras up high watch farms, planted forests and reserves and flag smoke on the horizon, with the direction of the fire

Measures how much of the belt is loaded and detects empty running, overload and off-center load


