Selected Work
Real-Time Pig Behavior Recognition and Tracking
Locate multiple pigs in barn video, link their trajectories and scope real-time recognition of standing, walking and lying.
- Provenance
- Anonymized Engineering Case
- Project maturity
- Engineering Evaluation
- Public evidence classification
- Illustrative demonstration

Industry problem and engineering challenge
Several pigs can occupy the same pen at once. Monitoring requires matching changes in position and behavior to each animal’s track.
Engineering constraints
Overlap, crossing paths and similar appearances can break tracks or switch IDs. Lighting changes can also affect the video quality.
Technical approach and architecture
-
Pen video and individual detections
Locate multiple pigs in video from a fixed camera.
-
Link individual pigs across frames
Link detections across consecutive frames to assign within-camera track IDs and trajectories.
-
Classify and timestamp actions
Evaluate actions such as standing, walking and lying over clips and record their start and end times.
Engineering evaluation diagram. Test ID switches after crossings or occlusion, errors among standing, walking and lying, and streaming latency.
Implementation and deliverables
The engineering evaluation separates frame-level detection, tracking and clip-level action classification so reviewers can isolate misses, ID switches and action errors.
Outcome
The public scope covers a planned evaluation of behavior classification, individual tracking and streaming performance.
- Output specification for multi-pig detections and track IDs
- Annotation specification for action labels and their timing
- Test plan for occlusion, ID switches and end-to-end latency
Validation and evidence
Hold out clips by pen or recording period. Evaluate ID switches, action classification errors and end-to-end latency across crossings, occlusion and lighting conditions.
Project status and disclosure
- Ownership and status
- Anonymized Engineering Case · Engineering Evaluation
An anonymized engineering evaluation case. The illustration is conceptual. Field deployment and measured results await confirmation.