Cargando…

Automated Video Behavior Recognition of Pigs Using Two-Stream Convolutional Networks

The detection of pig behavior helps detect abnormal conditions such as diseases and dangerous movements in a timely and effective manner, which plays an important role in ensuring the health and well-being of pigs. Monitoring pig behavior by staff is time consuming, subjective, and impractical. Ther...

Descripción completa

Detalles Bibliográficos
Autores principales: Zhang, Kaifeng, Li, Dan, Huang, Jiayun, Chen, Yifei
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7070994/
https://www.ncbi.nlm.nih.gov/pubmed/32079299
http://dx.doi.org/10.3390/s20041085
_version_ 1783506103474061312
author Zhang, Kaifeng
Li, Dan
Huang, Jiayun
Chen, Yifei
author_facet Zhang, Kaifeng
Li, Dan
Huang, Jiayun
Chen, Yifei
author_sort Zhang, Kaifeng
collection PubMed
description The detection of pig behavior helps detect abnormal conditions such as diseases and dangerous movements in a timely and effective manner, which plays an important role in ensuring the health and well-being of pigs. Monitoring pig behavior by staff is time consuming, subjective, and impractical. Therefore, there is an urgent need to implement methods for identifying pig behavior automatically. In recent years, deep learning has been gradually applied to the study of pig behavior recognition. Existing studies judge the behavior of the pig only based on the posture of the pig in a still image frame, without considering the motion information of the behavior. However, optical flow can well reflect the motion information. Thus, this study took image frames and optical flow from videos as two-stream input objects to fully extract the temporal and spatial behavioral characteristics. Two-stream convolutional network models based on deep learning were proposed, including inflated 3D convnet (I3D) and temporal segment networks (TSN) whose feature extraction network is Residual Network (ResNet) or the Inception architecture (e.g., Inception with Batch Normalization (BN-Inception), InceptionV3, InceptionV4, or InceptionResNetV2) to achieve pig behavior recognition. A standard pig video behavior dataset that included 1000 videos of feeding, lying, walking, scratching and mounting from five kinds of different behavioral actions of pigs under natural conditions was created. The dataset was used to train and test the proposed models, and a series of comparative experiments were conducted. The experimental results showed that the TSN model whose feature extraction network was ResNet101 was able to recognize pig feeding, lying, walking, scratching, and mounting behaviors with a higher average of 98.99%, and the average recognition time of each video was 0.3163 s. The TSN model (ResNet101) is superior to the other models in solving the task of pig behavior recognition.
format Online
Article
Text
id pubmed-7070994
institution National Center for Biotechnology Information
language English
publishDate 2020
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-70709942020-03-19 Automated Video Behavior Recognition of Pigs Using Two-Stream Convolutional Networks Zhang, Kaifeng Li, Dan Huang, Jiayun Chen, Yifei Sensors (Basel) Article The detection of pig behavior helps detect abnormal conditions such as diseases and dangerous movements in a timely and effective manner, which plays an important role in ensuring the health and well-being of pigs. Monitoring pig behavior by staff is time consuming, subjective, and impractical. Therefore, there is an urgent need to implement methods for identifying pig behavior automatically. In recent years, deep learning has been gradually applied to the study of pig behavior recognition. Existing studies judge the behavior of the pig only based on the posture of the pig in a still image frame, without considering the motion information of the behavior. However, optical flow can well reflect the motion information. Thus, this study took image frames and optical flow from videos as two-stream input objects to fully extract the temporal and spatial behavioral characteristics. Two-stream convolutional network models based on deep learning were proposed, including inflated 3D convnet (I3D) and temporal segment networks (TSN) whose feature extraction network is Residual Network (ResNet) or the Inception architecture (e.g., Inception with Batch Normalization (BN-Inception), InceptionV3, InceptionV4, or InceptionResNetV2) to achieve pig behavior recognition. A standard pig video behavior dataset that included 1000 videos of feeding, lying, walking, scratching and mounting from five kinds of different behavioral actions of pigs under natural conditions was created. The dataset was used to train and test the proposed models, and a series of comparative experiments were conducted. The experimental results showed that the TSN model whose feature extraction network was ResNet101 was able to recognize pig feeding, lying, walking, scratching, and mounting behaviors with a higher average of 98.99%, and the average recognition time of each video was 0.3163 s. The TSN model (ResNet101) is superior to the other models in solving the task of pig behavior recognition. MDPI 2020-02-17 /pmc/articles/PMC7070994/ /pubmed/32079299 http://dx.doi.org/10.3390/s20041085 Text en © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Zhang, Kaifeng
Li, Dan
Huang, Jiayun
Chen, Yifei
Automated Video Behavior Recognition of Pigs Using Two-Stream Convolutional Networks
title Automated Video Behavior Recognition of Pigs Using Two-Stream Convolutional Networks
title_full Automated Video Behavior Recognition of Pigs Using Two-Stream Convolutional Networks
title_fullStr Automated Video Behavior Recognition of Pigs Using Two-Stream Convolutional Networks
title_full_unstemmed Automated Video Behavior Recognition of Pigs Using Two-Stream Convolutional Networks
title_short Automated Video Behavior Recognition of Pigs Using Two-Stream Convolutional Networks
title_sort automated video behavior recognition of pigs using two-stream convolutional networks
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7070994/
https://www.ncbi.nlm.nih.gov/pubmed/32079299
http://dx.doi.org/10.3390/s20041085
work_keys_str_mv AT zhangkaifeng automatedvideobehaviorrecognitionofpigsusingtwostreamconvolutionalnetworks
AT lidan automatedvideobehaviorrecognitionofpigsusingtwostreamconvolutionalnetworks
AT huangjiayun automatedvideobehaviorrecognitionofpigsusingtwostreamconvolutionalnetworks
AT chenyifei automatedvideobehaviorrecognitionofpigsusingtwostreamconvolutionalnetworks