Optimizing Video Analytics Inference Pipelines: A Case Study
Cost-effective and scalable video analytics are essential for precision livestock monitoring, where high-resolution footage and near-real-time monitoring needs from commercial farms generates substantial computational workloads. This paper presents a comprehensive case study on optimizing a poultry welfare monitoring system through system-level improvements across detection, tracking, clustering, and behavioral analysis modules. We introduce a set of optimizations, including multi-level parallelization, Optimizing code with substituting CPU code with GPU-accelerated code, vectorized clustering, and memory-efficient post-processing. Evaluated on real-world farm video footage, these changes deliver up to a 2 × speedup across pipelines without compromising model accuracy. Our findings highlight practical strategies for building high-throughput, low-latency video inference systems that reduce infrastructure demands in agricultural and smart sensing deployments as well as other large-scale video analytics applications.
Authors
- Saeid Ghafouri (ORCID: https://orcid.org/0000-0003-3799-5702)
- Katerine Díaz Chito
- Hans Vandierendonck (ORCID: https://orcid.org/0000-0001-5868-9259)
- Niamh O'Connell
- Jesús Martínez del Rincón
- Yuming Ding
Institutions
- Queen's University Belfast (GB)
Publication Details
- Published
- 2025-12-01
- DOI
- https://doi.org/10.1145/3773276.3774285
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Foundation for Food and Agriculture Research