AgrigateVision

AgrigateVision

Applied computer vision for agriculture with production-grade reliability.

AgrigateVision

At a glance

Context

We built an early‑lameness detection system for dairy farms. On paper, this looks like a standard computer vision problem. In practice, it’s a physical system with messy inputs and delayed feedback.

What the environment really looked like:

The model worked in the lab. The pipeline failed in the barn.

Challenge

Deploy CV where data drifts daily, ground truth is delayed, and connectivity is unreliable. The core risk was not a weak model; it was a brittle system that could not survive real‑world variability — a classic Applied AI systems problem.

Why “model‑first” broke

We learned quickly that accuracy in notebooks did not translate to consistent results in the field. Small errors early in the pipeline (missed detections, ID switches, occlusions) compounded downstream into unstable risk scores — a common production ML failure mode. The system needed to survive missing frames, partial visibility, and incomplete labels rather than assume perfect inputs.

What we built

A system‑first CV pipeline where every stage was designed to handle uncertainty:

Pipeline flow (system view)

  1. Detect animals with conservative thresholds.
  2. Track identities across frames to avoid ID switches.
  3. Extract gait features and normalize for partial visibility.
  4. Aggregate over time to avoid noisy, frame‑level alerts.
  5. Score risk and feed the review queue.

Data & feedback loop

Failure modes and mitigations

Failure modeMitigation
Camera moved or dirtyInput health alerts + maintenance workflow
Occlusions & ID switchesTracker confidence + temporal smoothing
Label latency (weeks)Delayed‑label ingestion + backfilled training
Connectivity dropOffline buffer + delayed consistency

Trade‑offs we made

Results

Stack

Takeaways

Have a similar challenge?

We build production AI systems that work in the real world. Let's discuss your project.

Related case studies

Related reading