Skip to main navigation Skip to search Skip to main content

Occlusion-Resistant instance segmentation of piglets in farrowing pens using center clustering network

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

Abstract

Computer vision enables the development of new approaches to monitor the behavior, health, and welfare of animals. Instance segmentation is a high-precision method in computer vision for detecting individual animals of interest. This method can be used for in-depth analysis of animals, such as examining their subtle interactive behaviors, from videos and images. However, existing deep-learning-based instance segmentation methods have been mostly developed based on public datasets, which largely omit heavy occlusion problems; therefore, these methods have limitations in real-world applications involving object occlusions, such as farrowing pen systems used on pig farms in which the farrowing crates often impede the sow and piglets. In this paper, we adapt a Center Clustering Network originally designed for counting to achieve instance segmentation, dubbed as CClusnet-Inseg. Specifically, CClusnet-Inseg uses each pixel to predict object centers and trace these centers to form masks based on clustering results, which consists of a network for segmentation and center offset vector map, Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm, Centers-to-Mask (C2M), and Remain-Centers-to-Mask (RC2M) algorithms. In all, 4,600 images were extracted from six videos collected from three closed and three half-open farrowing crates to train and validate our method. CClusnet-Inseg achieves a mean average precision (mAP) of 84.1 and outperforms all other methods compared in this study. We conduct comprehensive ablation studies to demonstrate the advantages and effectiveness of core modules of our method. In addition, we apply CClusnet-Inseg to multi-object tracking for animal monitoring, and the predicted object center that is a conjunct output could serve as an occlusion-resistant representation of the location of an object. © 2023 Elsevier B.V.
Original languageEnglish
Article number107950
JournalComputers and Electronics in Agriculture
Volume210
Online published26 May 2023
DOIs
Publication statusPublished - Jul 2023

Bibliographical note

Research Unit(s) information for this publication is provided by the author(s) concerned.

Funding

Thanks to the staff at the swine teaching and research center, School of Veterinary Medicine, University of Pennsylvania for animal care. Funding was provided in part by the National Pork Board and the Pennsylvania Pork Producers Council in the U.S., and the new research initiatives at City University of Hong Kong (Project number: 9610450).

Research Keywords

  • Animal monitoring
  • Computer vision
  • Deep learning
  • Farrowing crate
  • Precision livestock farming

Fingerprint

Dive into the research topics of 'Occlusion-Resistant instance segmentation of piglets in farrowing pens using center clustering network'. Together they form a unique fingerprint.

Cite this