nesteye
Science / research foundation

Literature review /001

Field
Temporal behavior
Journal
Computers and Electronics in Agriculture, Volume 217, Article 108591
DOI
10.1016/j.compag.2023.108591
Reviewed
July 12, 2026

A computer vision approach to monitor activity in commercial broiler chickens using trajectory-based clustering analysis

Mairead Campbell, Paul Miller, Katerine Díaz-Chito, Xin Hong, Niall McLaughlin, Farzad Parvinzamir, Jesús Martínez Del Rincón, and Niamh O'Connell

Review contents
  1. Review abstract
  2. Study design
  3. Scientific context
  4. Methodological reconstruction
  5. Principal findings
  6. Critical appraisal
  7. Limitations and generalizability
  8. Implications for nesteye
  9. Conclusion
  10. Reference

Review abstract

Study

Campbell and colleagues present a proof-of-concept pipeline for measuring short-duration changes in broiler activity from ordinary two-dimensional video recorded in commercial houses. The system combines a U-Net detector, a minimum-cost network-flow tracker, nineteen trajectory descriptors, and an unsupervised component-based feature saliency Gaussian mixture model.

Findings

Its principal contribution is architectural: detections become trajectories, trajectories become interpretable motion features, and those features become three activity clusters. Detector performance was strong, but tracking remained vulnerable to identity switches and agreement for the rare highly-active class was inconsistent.

Interpretation

The work supports temporal computer vision as a useful measurement framework while stopping short of validating activity clusters as direct welfare diagnoses. Its relevance to nesteye lies in separating observation, temporal aggregation, and interpretation - with longer, context-aware field validation required before alerts become actionable.

Research question

Can a camera-based detection and tracking pipeline convert short broiler movement trajectories into repeatable activity classes under commercial farm conditions?

Evidence profile

Study design

Study design summary for A computer vision approach to monitor activity in commercial broiler chickens using trajectory-based clustering analysis
SubjectsMixed-sex Ross 308 broilers, 17 to 28 days old
SettingWindowed commercial broiler houses on farms in Northern Ireland
ImagingTilted monocular RGB video with camera-specific regions of interest
Detection data766 manually annotated frames across eight videos; 400 training images and 100 held-out test images for the detector
Tracking validationA 276-frame annotated sequence containing 127 broilers, divided for training and validation
Activity validationFour one-minute quantitative sequences plus eight qualitative before-and-after farm-event sequences
ModelsU-Net detector, minimum-cost network-flow tracker, and CFSGMM trajectory clustering
Primary metricsPrecision, recall, F score, MOTA, MOTP, and observer agreement
01

Detect

02

Track

03

Aggregate

04

Confirm

Interpretive schematic based on the reviewed methodology. This is an original nesteye reconstruction, not a figure from the paper.

0.94

Detector F score

Precision 0.98 and recall 0.90 at half-resolution input

74.7%

Tracking MOTA

Identity switches were the principal tracking error

85-93%

Overall cluster agreement

Across four selected quantitative sequences

/01

Scientific context

Direct observation remains an important source of poultry welfare information, but it is episodic, labor-intensive, and difficult to scale across a commercial flock. Campbell et al. frame computer vision as a way to extend observation through time without requiring an instrument on every bird. Their focus is not the recognition of one named behavior. Instead, they ask whether movement itself can be represented as a measurable signal that changes around routine events in the barn.

That distinction matters. A detector can locate birds in individual frames, but an operational system needs to preserve continuity long enough to describe speed, direction, displacement, and changes in motion. The paper treats the trajectory as the unit that connects perception to behavior. It also avoids assigning a welfare meaning in advance: an unsupervised model groups similar trajectories, after which a human observer evaluates whether the clusters resemble least-active, active, and highly-active movement.

/02

Methodological reconstruction

The pipeline begins with a U-Net semantic-segmentation model. Rather than predicting a conventional object box directly, the network produces a probability surface for chicken locations. Multi-Otsu thresholding and watershed segmentation turn that surface into centers and bounding boxes. A virtual ground-plane correction then models the expected apparent bird size as a function of image position, compensating for tilted cameras and perspective distortion. The approach is practical for existing commercial footage, although every camera requires a defined usable region and geometric calibration.

Detections are linked through a two-stage minimum-cost network-flow tracker. Feasible links are scored using distance, overlap, elapsed time, and appearance, then optimized into trajectories. Nineteen static and dynamic features describe each trajectory. The CFSGMM model weights features by saliency and groups the trajectories without behavior labels. Validation compares resulting clusters with an animal-behavior scientist's interpretation and examines how the distribution of clusters changes before and after litter provision or a farmer walkthrough.

/03

Principal findings

At half the original image resolution, the detector achieved precision of 0.98, recall of 0.90, and an F score of 0.94. The authors report that reducing resolution lowered computational cost without reducing the selected detector's performance, although quarter-resolution input reduced sensitivity. False detections were uncommon; missed detections were more likely when broilers clustered together. This failure mode is consequential because crowding is precisely where continuous flock monitoring may matter most.

The optimized tracker achieved MOTA of 74.7 percent and MOTP of 70.5 percent. Identity switching among visually similar birds was the largest error source. For activity clustering, overall human agreement across the four quantitative one-minute sequences ranged from 85 to 93 percent. Agreement exceeded 88 percent for the dominant least-active or resting class, but ranged from 45 to 98 percent for active trajectories and from 6 to 67 percent for highly-active trajectories. Aggregate shifts around farm events were visible even when individual trajectory labels were imperfect.

/04

Critical appraisal

The paper's strongest feature is systems integration under commercial conditions. Detection, perspective correction, tracking, feature extraction, clustering, and field interpretation are evaluated as connected stages rather than isolated benchmarks. The use of recordings from several farms and two camera arrangements improves ecological relevance. The explicit comparison with YOLOv8 also clarifies why a task-specific density-style detector can be competitive in crowded scenes with limited annotation.

The evidence for the final behavioral interpretation is less mature than the detection evidence. Four one-minute sequences form the quantitative clustering validation, and cluster correctness depends on a human assigning an unsupervised category after the fact. High overall agreement is influenced by the abundant resting class, while the highly-active class - potentially the most informative for abnormal-event detection - shows the weakest and most variable agreement. The method demonstrates sensitivity to overt short-term events, not validated inference about welfare state, disease, or causality.

/05

Limitations and generalizability

Tracking accuracy limits the reliability of downstream trajectory features. Occlusion, visually similar birds, missed detections, and identity switches can fragment or merge movement histories. The authors note that the second tracklet-linking stage contributed relatively little, suggesting that longer continuity remains difficult. A trajectory classifier may still produce useful flock-level aggregates, but individual-level interpretations should not be assumed from these results.

The validation windows are short and selected around known events. Real deployment would need age-specific and time-of-day baselines, longer observation periods, drift monitoring, camera-to-camera transfer, and tests across stocking densities and barn layouts. Biological meaning also requires independent outcomes: an activity cluster should be related to a verified environmental change, management event, or welfare measure before it is used as an alert. The paper properly describes itself as a first step toward such surveillance.

/06

Implications for nesteye

For nesteye, the defensible lesson is architectural rather than numerical. A useful barn signal can be built by separating detection from temporal aggregation and then interpreting the resulting distribution at flock level. Perspective correction, camera-specific regions, confidence-aware tracking, and short-term change detection are all relevant design patterns. The wide class-specific variation also argues for conservative thresholds and repeated-frame confirmation before an operator sees an alert.

The paper does not validate nesteye's cameras, models, alert thresholds, or commercial performance. It does not establish that an activity cluster is a disease or welfare diagnosis. A nesteye implementation would require its own barn-specific ground truth, longer longitudinal validation, and tests of whether alerts improve operator response. The study supports continuous temporal context as a research direction; it cannot substitute for product evidence.

/07

Conclusion

Campbell et al. provide a credible proof of concept for turning ordinary commercial video into temporal activity measurements. The work is technically valuable because it exposes the entire chain from pixels to activity classes and reports where that chain weakens. Strong detection does not eliminate tracking error, and strong aggregate agreement does not guarantee reliable interpretation of rare activity classes.

The study therefore supports a measured conclusion: trajectory-based monitoring can detect conspicuous short-term changes in commercial broiler activity, but longer validation and biological anchoring are required before those changes become diagnostic or operational claims. That boundary is central to responsible development of continuous poultry monitoring.

APA reference

Campbell, M., Miller, P., Díaz-Chito, K., Hong, X., McLaughlin, N., Parvinzamir, F., Martínez Del Rincón, J., & O'Connell, N. (2024). A computer vision approach to monitor activity in commercial broiler chickens using trajectory-based clustering analysis. Computers and Electronics in Agriculture, 217, 108591. https://doi.org/10.1016/j.compag.2023.108591

View original paper