mlsanityData to 7 Oct 2026

Benchmarking pig detection and tracking under diverse and challenging conditions

arXiv 2507.16639 ↗First posted 22 Jul 2025cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

To ensure animal welfare and effective management in pig farming, monitoring individual behavior is a crucial prerequisite. While monitoring tasks have traditionally been carried out manually, advances in machine learning have made it possible to collect individualized information in an increasingly automated way. Central to these methods is the localization of animals across space (object detection) and time (multi-object tracking). Despite extensive research of these two tasks in pig farming, a systematic benchmarking study has not yet been conducted. In this work, we address this gap by curating two datasets: PigDetect for object detection and PigTrack for multi-object tracking. The datasets are based on diverse image and video material from realistic barn conditions, and include challenging scenarios such as occlusions or bad visibility. For object detection, we show that challenging training images improve detection performance beyond what is achievable with randomly sampled images alone. Comparing different approaches, we found that state-of-the-art models offer substantial improvements in detection quality over real-time alternatives. For multi-object tracking, we observed that SORT-based methods achieve superior detection performance compared to end-to-end trainable models. However, end-to-end models show better association performance, suggesting they could become strong alternatives in the future. We also investigate characteristic failure cases of end-to-end models, providing guidance for future improvements. The detection and tracking models trained on our datasets perform well in unseen pens, suggesting good generalization capabilities. This highlights the importance of high-quality training data. The datasets and research code are made publicly available to facilitate reproducibility, re-use and further development.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 56 of its 102 references that are in the map. First posted on arXiv 22 Jul 2025.

Builds on

56 of 102 references.

References · 56

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  7. 2020End-to-End Object Detection with Transformerscited by 7,384
  8. 2017Mask R-CNNcited by 7,259
  9. 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
  10. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  11. 2015Fast R-CNNcited by 2,930
  12. 2018YOLOv3: An Incremental Improvementcited by 2,652
38 more
  1. 2013Rich feature hierarchies for accurate object detection and semantic segmentationcited by 2,160
  2. 2020YOLOv4: Optimal Speed and Accuracy of Object Detectioncited by 1,624
  3. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
  4. 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,306
  5. 2022VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Trainingcited by 1,305
  6. 2021YOLOX: Exceeding YOLO Series in 2021cited by 1,064
  7. 2017Simple Online and Realtime Tracking with a Deep Association Metriccited by 908
  8. 2016Simple Online and Realtime Trackingcited by 862
  9. 2021ByteTrack: Multi-Object Tracking by Associating Every Detection Boxcited by 812
  10. 2016Performance Measures and a Data Set for Multi-Target, Multi-Camera Trackingcited by 685
  11. 2022DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRcited by 569
  12. 2020HOTA: A Higher Order Metric for Evaluating Multi-Object Trackingcited by 546
  13. 2016MOT16: A Benchmark for Multi-Object Trackingcited by 531
  14. 2023DETRs Beat YOLOs on Real-time Object Detectioncited by 526
  15. 2021TrackFormer: Multi-Object Tracking with Transformerscited by 515
  16. 2023Ferret: Refer and Ground Anything Anywhere at Any Granularitycited by 498
  17. 2022DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingcited by 486
  18. 2020Tracking Objects as Pointscited by 483
  19. 2019Distance-IoU Loss: Faster and Better Learning for Bounding Box Regressioncited by 454
  20. 2017AVA: A Video Dataset of Spatio-temporally Localized Atomic Visual Actionscited by 449
  21. 2020End-to-End Video Instance Segmentation with Transformerscited by 443
  22. 2020Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detectioncited by 408
  23. 2019CSPNet: A New Backbone that can Enhance Learning Capability of CNNcited by 381
  24. 2021MOTR: End-to-End Multiple-Object Tracking with Transformercited by 379
  25. 2022Observation-Centric SORT: Rethinking SORT for Robust Multi-Object Trackingcited by 345
  26. 2022BoT-SORT: Robust Associations Multi-Pedestrian Trackingcited by 313
  27. 2013DeepPose: Human Pose Estimation via Deep Neural Networkscited by 305
  28. 2023Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistlescited by 287
  29. 2022DETRs with Collaborative Hybrid Assignments Trainingcited by 273
  30. 2021DanceTrack: Multi-Object Tracking in Uniform Appearance and Diverse Motioncited by 213
  31. 2022StrongSORT: Make DeepSORT Great Againcited by 213
  32. 2018Markerless tracking of user-defined features with deep learningcited by 203
  33. 2022MeMViT: Memory-Augmented Multiscale Vision Transformer for Efficient Long-Term Video Recognitioncited by 189
  34. 2022MOTRv2: Bootstrapping End-to-End Multi-Object Tracking by Pretrained Object Detectorscited by 148
  35. 2021Towards Long-Form Video Understandingcited by 146
  36. 2023Deep OC-SORT: Multi-Pedestrian Tracking by Adaptive Re-Identificationcited by 130
  37. 2024Ferret-v2: An Improved Baseline for Referring and Grounding with Large Language Modelscited by 97
  38. 2022Hard to Track Objects with Irregular Motions and Similar Appearances? Make It Easier by Buffering the Matching Spacecited by 66

50 most cited of 56 All 56 (JSON)

Built on by

Not cited yet.