How computer vision monitoring works for manufacturing and agriculture
Detection, tracking, and automatic event recognition from video — the mechanics of CV systems, illustrated with a dairy farm and manufacturing.
TL;DR. CV monitoring is a system that watches a video feed instead of a person. It reports when something worth noticing happens in frame: an animal shows a sign of a key behavioral event, a part on the line drifts out of tolerance, a floor plan needs to become numbers. Inside, there are three steps: object detection, tracking across frames, event recognition. What comes out the other end is an alert — not a person watching a monitor around the clock.
What CV monitoring is and why it matters for business
Computer vision (CV) in a monitoring context isn't "a camera with AI bolted on." It's a pipeline of several models, each handling one narrow task: find the object in frame, follow it across frames, recognize a signal of an event in its behavior. The output isn't a picture with boxes drawn on it — it's a signal: this specific animal, this specific time, this specific event.
The practical effect is taking the load off a person wherever continuous observation is needed. On a dairy farm, key behavioral events in cattle require round-the-clock staff attention. Night shifts, fatigue, missed moments — that's unavoidable with people alone. A system watches the video without breaks and warns the herdsman ahead of time, not after the fact.
How it actually works, mechanically
Four steps: detection → tracking → event recognition → alert.
- Object detection. A YOLO-class model (You Only Look Once) finds objects of interest in the frame — an animal, a part, a defect — and draws a box around them in real time. This is the first, fastest layer: it answers "what's where in this one frame," with no memory of what came before.
- Tracking. Detection alone doesn't know that the object in frame 100 is the same cow as in frame 99. That's what a tracker is for: it assigns each object a stable ID and follows it across the sequence of frames, even when the object is briefly blocked by another or drifts out of frame for a moment. Skip this step, and the system sees a pile of unrelated snapshots instead of one object's behavior over time.
- Event recognition. One model usually isn't enough here. For events that show up through posture and movement, detection gets paired with keypoint analysis (pose) and a model of temporal patterns — one that looks at a sequence of poses over a period, not a single frame. An event isn't a pose at one instant; it's a change in behavior over time.
- Alert. Once the recognized pattern crosses a confidence threshold, the system sends a notification to the person responsible — which object, which event, how much lead time. The decision stays with a human from there: the system warns, it doesn't act on its own.
There's a separate question of where the computing happens. Cloud takes less work to set up but depends on connectivity. Processing on site (edge, on hardware like an NVIDIA Jetson) needs no internet link and keeps running through a connection outage. The trade-off is that compute power is capped by whatever hardware got installed on location.
Where it applies
- Livestock and event tracking on a farm. Identifying animals by photo or live video in real time, detecting key behavioral events with an early warning to the herdsman.
- Monitoring a production line. The same detection-and-tracking principle applies to objects on a conveyor — anywhere a deviation needs to be caught automatically, not discovered at the end of a shift.
- Processing plans and drawings. Not just video: the same computer vision technique — image segmentation — turns a scanned floor plan into structured data, polygons of walls and openings, instead of a picture nobody can run numbers on.
The common thread: an object or event needs to be caught from video or images on a regular basis, and manual watching runs into a wall of human attention.
Limitations
CV monitoring isn't a drop-in fit for every task out of the box. Here's what's worth knowing upfront.
- Quality depends on lighting and camera angle. A model trained on a daytime dataset degrades in the dark or under infrared — that takes separate fine-tuning on frames of the right lighting type, not the same weights applied to a different kind of image. A single vantage point loses the object to crowding or a bad angle; a multi-camera setup with an overhead view reduces that risk but doesn't remove it.
- Edge computing versus cloud is a trade-off, not a universal choice. Processing on site removes the dependency on connectivity, which matters on remote sites, but it's capped by whatever hardware is actually installed there. Cloud gives more compute, but it needs a reliable connection to reach it.
- Accuracy needs labeling for the specific object. A model is trained on a specific dataset, and a new event or a new object type doesn't show up in the system on its own — it needs a newly labeled dataset and fine-tuning. Accuracy itself doesn't always come down to one number: different event types get recognized with different confidence, and a range is more honest than an averaged figure.
- Identification by appearance isn't absolute. Where a decision is made by visual similarity rather than an unambiguous identifier like an ear tag or a serial number, there's an error rate. That kind of system removes routine manual lookup, but it doesn't replace a source of truth wherever a mistake carries legal weight.
How we've built this
- Dairy farm: automatic detection of key events, 24/7 — YOLOv11 for detection, RTMPose for pose analysis, BiLSTM for temporal behavior patterns. A 4-camera setup with a bird's-eye-view projection, a separate branch fine-tuned for infrared night mode, edge deployment on an NVIDIA Jetson Orin NX with no cloud involved. Target accuracy of 83–100% with a 1–9 hour early warning before the event.
- Dairy farm: identifying cattle by photo and live video — EfficientNet-B1 embeddings instead of a classifier, so new animals can be added without retraining the model. Identification by photo (78% accuracy) and real-time tracking over live video via ByteTrack. A mobile app, a web panel, and an API.
- Floor plan vectorization — a PyTorch segmentation model, trained on the CubiCasa5k dataset, turns a scanned floor plan into polygons of walls and openings. Open source.
What it costs and how long it takes
A pilot CV system for a specific task starts at 200,000 RUB, 1–2 months. That covers collecting and labeling a dataset for your object, training and testing the model, and integrating it into your existing infrastructure — cameras, an on-site server, or the cloud. The exact estimate depends on how many detection scenarios are needed and the quality of the source video, and gets worked out during the audit stage.