DISubNet: Depthwise Separable Inception Subnetwork for Pig Treatment Classification Using Thermal Data

Animals (Basel). 2023 Mar 28;13(7):1184. doi: 10.3390/ani13071184.

Abstract

Thermal imaging is increasingly used in poultry, swine, and dairy animal husbandry to detect disease and distress. In intensive pig production systems, early detection of health and welfare issues is crucial for timely intervention. Using thermal imaging for pig treatment classification can improve animal welfare and promote sustainable pig production. In this paper, we present a depthwise separable inception subnetwork (DISubNet), a lightweight model for classifying four pig treatments. Based on the modified model architecture, we propose two DISubNet versions: DISubNetV1 and DISubNetV2. Our proposed models are compared to other deep learning models commonly employed for image classification. The thermal dataset captured by a forward-looking infrared (FLIR) camera is used to train these models. The experimental results demonstrate that the proposed models for thermal images of various pig treatments outperform other models. In addition, both proposed models achieve approximately 99.96-99.98% classification accuracy with fewer parameters.

Keywords: animal welfare; depthwise separable layer; image classification; inception; thermal data.