A Spatiotemporal Convolutional Network for Multi-Behavior Recognition of Pigs

The statistical data of different kinds of behaviors of pigs can reflect their health status. However, the traditional behavior statistics of pigs were obtained and then recorded from the videos through human eyes. In order to reduce labor and time consumption, this paper proposed a pig behavior rec...

Full description

Bibliographic Details
Main Authors: Dan Li, Kaifeng Zhang, Zhenbo Li, Yifei Chen
Format: Article
Language:English
Published: MDPI AG 2020-04-01
Series:Sensors
Subjects:
pig
Online Access:https://www.mdpi.com/1424-8220/20/8/2381
id doaj-8705c9eac097430e8548acaecad4e09e
record_format Article
spelling doaj-8705c9eac097430e8548acaecad4e09e2020-11-25T02:28:22ZengMDPI AGSensors1424-82202020-04-01202381238110.3390/s20082381A Spatiotemporal Convolutional Network for Multi-Behavior Recognition of PigsDan Li0Kaifeng Zhang1Zhenbo Li2Yifei Chen3College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, ChinaCollege of Information and Electrical Engineering, China Agricultural University, Beijing 100083, ChinaCollege of Information and Electrical Engineering, China Agricultural University, Beijing 100083, ChinaCollege of Information and Electrical Engineering, China Agricultural University, Beijing 100083, ChinaThe statistical data of different kinds of behaviors of pigs can reflect their health status. However, the traditional behavior statistics of pigs were obtained and then recorded from the videos through human eyes. In order to reduce labor and time consumption, this paper proposed a pig behavior recognition network with a spatiotemporal convolutional network based on the SlowFast network architecture for behavior classification of five categories. Firstly, a pig behavior recognition video dataset (PBVD-5) was built by cutting short clips from 3-month non-stop shooting videos, which was composed of five categories of pig’s behavior: feeding, lying, motoring, scratching and mounting. Subsequently, a SlowFast network based spatiotemporal convolutional network for the pig’s multi-behavior recognition (PMB-SCN) was proposed. The results of the networks with variant architectures of the PMB-SCN were implemented and the optimal architecture was compared with the state-of-the-art single stream 3D convolutional network in our dataset. Our 3D pig behavior recognition network showed a top-1 accuracy of 97.63% and a views accuracy of 96.35% on the test set of PBVD and a top-1 accuracy of 91.87% and a views accuracy of 84.47% on a new test set collected from a completely different pigsty. The experimental results showed that this network provided remarkable ability of generalization and possibility for the subsequent pig detection and behavior recognition simultaneously.https://www.mdpi.com/1424-8220/20/8/2381pigdeep learningspatiotemporal convolutional networkbehavior recognitionpig video dataset
collection DOAJ
language English
format Article
sources DOAJ
author Dan Li
Kaifeng Zhang
Zhenbo Li
Yifei Chen
spellingShingle Dan Li
Kaifeng Zhang
Zhenbo Li
Yifei Chen
A Spatiotemporal Convolutional Network for Multi-Behavior Recognition of Pigs
Sensors
pig
deep learning
spatiotemporal convolutional network
behavior recognition
pig video dataset
author_facet Dan Li
Kaifeng Zhang
Zhenbo Li
Yifei Chen
author_sort Dan Li
title A Spatiotemporal Convolutional Network for Multi-Behavior Recognition of Pigs
title_short A Spatiotemporal Convolutional Network for Multi-Behavior Recognition of Pigs
title_full A Spatiotemporal Convolutional Network for Multi-Behavior Recognition of Pigs
title_fullStr A Spatiotemporal Convolutional Network for Multi-Behavior Recognition of Pigs
title_full_unstemmed A Spatiotemporal Convolutional Network for Multi-Behavior Recognition of Pigs
title_sort spatiotemporal convolutional network for multi-behavior recognition of pigs
publisher MDPI AG
series Sensors
issn 1424-8220
publishDate 2020-04-01
description The statistical data of different kinds of behaviors of pigs can reflect their health status. However, the traditional behavior statistics of pigs were obtained and then recorded from the videos through human eyes. In order to reduce labor and time consumption, this paper proposed a pig behavior recognition network with a spatiotemporal convolutional network based on the SlowFast network architecture for behavior classification of five categories. Firstly, a pig behavior recognition video dataset (PBVD-5) was built by cutting short clips from 3-month non-stop shooting videos, which was composed of five categories of pig’s behavior: feeding, lying, motoring, scratching and mounting. Subsequently, a SlowFast network based spatiotemporal convolutional network for the pig’s multi-behavior recognition (PMB-SCN) was proposed. The results of the networks with variant architectures of the PMB-SCN were implemented and the optimal architecture was compared with the state-of-the-art single stream 3D convolutional network in our dataset. Our 3D pig behavior recognition network showed a top-1 accuracy of 97.63% and a views accuracy of 96.35% on the test set of PBVD and a top-1 accuracy of 91.87% and a views accuracy of 84.47% on a new test set collected from a completely different pigsty. The experimental results showed that this network provided remarkable ability of generalization and possibility for the subsequent pig detection and behavior recognition simultaneously.
topic pig
deep learning
spatiotemporal convolutional network
behavior recognition
pig video dataset
url https://www.mdpi.com/1424-8220/20/8/2381
work_keys_str_mv AT danli aspatiotemporalconvolutionalnetworkformultibehaviorrecognitionofpigs
AT kaifengzhang aspatiotemporalconvolutionalnetworkformultibehaviorrecognitionofpigs
AT zhenboli aspatiotemporalconvolutionalnetworkformultibehaviorrecognitionofpigs
AT yifeichen aspatiotemporalconvolutionalnetworkformultibehaviorrecognitionofpigs
AT danli spatiotemporalconvolutionalnetworkformultibehaviorrecognitionofpigs
AT kaifengzhang spatiotemporalconvolutionalnetworkformultibehaviorrecognitionofpigs
AT zhenboli spatiotemporalconvolutionalnetworkformultibehaviorrecognitionofpigs
AT yifeichen spatiotemporalconvolutionalnetworkformultibehaviorrecognitionofpigs
_version_ 1724838639537487872