Skip to main content
QUICK REVIEW

[Paper Review] Automatic individual pig detection and tracking in surveillance videos

Lei Zhang, Helen Gray|arXiv (Cornell University)|Dec 12, 2018
Video Surveillance and Tracking MethodsComputer Science29 references13 citations
TL;DR

This paper proposes a real-time, end-to-end method for automatic individual pig detection and tracking in surveillance videos under challenging conditions such as lighting changes, occlusions, and similar appearances. It combines a multi-scale CNN detector with a correlation filter tracker via a hierarchical data association algorithm, enabling robust tracking with on-line detection refinement and drift correction, achieving high accuracy on a real farm dataset without manual marking.

ABSTRACT

Individual pig detection and tracking is an important requirement in many video-based pig monitoring applications. However, it still remains a challenging task in complex scenes, due to problems of light fluctuation, similar appearances of pigs, shape deformations and occlusions. To tackle these problems, we propose a robust real time multiple pig detection and tracking method which does not require manual marking or physical identification of the pigs, and works under both daylight and infrared light conditions. Our method couples a CNN-based detector and a correlation filter-based tracker via a novel hierarchical data association algorithm. The detector gains the best accuracy/speed trade-off by using the features derived from multiple layers at different scales in a one-stage prediction network. We define a tag-box for each pig as the tracking target, and the multiple object tracking is conducted in a key-points tracking manner using learned correlation filters. Under challenging conditions, the tracking failures are modelled based on the relations between responses of detector and tracker, and the data association algorithm allows the detection hypotheses to be refined, meanwhile the drifted tracks can be corrected by probing the tracking failures followed by the re-initialization of tracking. As a result, the optimal tracklets can sequentially grow with on-line refined detections, and tracking fragments are correctly integrated into respective tracks while keeping the original identifications. Experiments with a dataset captured from a commercial farm show that our method can robustly detect and track multiple pigs under challenging conditions. The promising performance of the proposed method also demonstrates a feasibility of long-term individual pig tracking in a complex environment and thus promises a commercial potential.

Motivation & Objective

  • To enable automatic, real-time individual pig detection and tracking in complex farm surveillance environments without manual marking or physical tags.
  • To address challenges such as light fluctuation, pig appearance similarity, shape deformation, and occlusions in video-based pig monitoring.
  • To develop a robust tracking system that corrects drift and integrates fragmented tracks using detection refinement and failure modeling.
  • To demonstrate feasibility of long-term individual pig tracking in commercial farming settings using real-world video data.

Proposed method

  • A one-stage CNN-based detector uses features from multiple layers at different scales to achieve optimal accuracy-speed trade-off for pig detection.
  • A correlation filter-based tracker is employed to track pigs in a key-point tracking manner, enabling real-time performance.
  • A novel hierarchical data association algorithm links detections and tracks by modeling tracking failures through detector and tracker response relations.
  • The system refines detection hypotheses and corrects drifted tracks by probing failures and re-initializing trackers when necessary.
  • Tag-boxes are defined for each pig as tracking targets, enabling sequential growth of optimal tracklets with preserved identity.
  • The method operates under both daylight and infrared conditions, enhancing robustness in variable lighting.

Experimental results

Research questions

  • RQ1Can a real-time, automatic pig detection and tracking system be developed without requiring manual marking or physical tags?
  • RQ2How can tracking drift and fragmented tracks be effectively corrected in complex video scenes with occlusions and appearance variations?
  • RQ3To what extent can a hierarchical data association algorithm improve tracking robustness by integrating detection refinement and failure modeling?
  • RQ4Can the proposed method maintain high accuracy and stability across diverse lighting conditions, including infrared?
  • RQ5What is the performance of the system in long-term individual pig tracking on real-world farm surveillance data?

Key findings

  • The proposed method achieves robust detection and tracking of multiple pigs under challenging conditions, including significant lighting changes and occlusions.
  • The hierarchical data association algorithm successfully integrates fragmented tracklets into coherent, identity-preserving tracklets through on-line detection refinement.
  • Tracking drift is effectively corrected by modeling tracker failure through response analysis and re-initializing trackers when necessary.
  • The system demonstrates high performance on a real commercial farm dataset, proving feasibility for long-term individual pig monitoring.
  • The method operates in real time and is effective under both daylight and infrared conditions, enhancing practical applicability in commercial farming.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.