Abstract

Detection and tracking of pigs are important for analyzing pig behavior using computer vision. However, in natural environments, illumination changes, complex scenes, adhesion, occlusion, and individual identification from multiple objects are challenges for detection and tracking. This paper provided an anti-interference algorithm for pig detection and tracking based on video analysis. Firstly, pigs were recognized in natural environment based on color information, and noises were removed based on the analysis of connected regions in the binary images. Secondly, multiple pigs were separated by contours and edges. Thirdly, pigs were tracked based on a set of association rules with constraint items (DT-ACR). When DT-ACR fails, targets that are not lost were tracked continuously, while lost targets were retrieved in the nearby location, which effectively increased the duration of tracking. Experiments showed that the algorithm was able to track each individual pig in the following conditions: no-light scenes, sun glint scenes, adhesion scenes and occlusion scenes. The overall tracking accuracy reached up to 87.32% (83.85% for serious adhesion, 87.4% for occlusion, 82.4% for strong light, 82.17% for no light and dark, 96.58% for 2 pigs, 88.33% for 3 pigs and 77.63 for 4 pigs). A pig activity analysis study based on the pig detection and tracking algorithm was carried out, and the results showed that the proposed method was able to track pigs for a long period of time and extract the values that reflected pigs’ movements. Keywords: computer vision, pigs, animal behaviors, tracking, detection DOI: 10.25165/j.ijabe.20191204.4591 Citation: Xiao D Q, Feng A J, Liu J. Detection and tracking of pigs in natural environments based on video analysis. Int J Agric & Biol Eng, 2019; 12(4): 116–126.

Highlights

  • Pig breeding is an important topic in livestock industry

  • Videos instead of a sequence of still images were captured by the camera to obtain pig's activity without interruption

  • Frame-by-frame pig detection and inter-frame motion correlation of the pigs are the key to the anti-interference algorithm

Read more

Summary

Introduction

Pig breeding is an important topic in livestock industry. Sow production and group fighting need to be monitored and intensively managed during breeding periods. Conventional monitoring by human labor in real time is normally difficult due to low accuracy and time-consuming. It cannot meet the requirements of large-scale farming and efficient production. Computer vision technology could avoid the shortcomings such as signal distance limitations and physical contact with animals which makes them feel uncomfortable. It is low cost on hardware, and can monitor and manage the animals in large-scale farms automatically. It is suitable to monitor and manage pigs’ behaviors using computer vision

Methods
Results
Conclusion
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.