Abstract
The paper proposes an approach to developing a video data pipeline that addresses the basic tasks of precision pig farming. The pipeline performs both low-level tasks, such as data pre-processing, object detection, instance segmentation, tracking, object density estimation, etc., and high-level tasks, e.g. livestock counting, feeders and drinkers condition assessment, behavioral patterns analysis, estimation of livestock activity and weight, etc. The proposed solution is based on neural network algorithms and can be flexibly adjusted to specific conditions and tasks, including while sending emergency notifications. Furthermore, the system is architecturally capable of integrating additional sensor and input data. The approach is demonstrated by solving several problems in the fattening phase. The system has proven to have a number of competitive advantages, including stable operation in a high animal density environment.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Bergamini, L., et al.: Extracting accurate long-term behavior changes from a large pig dataset. In: 16th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications, VISIGRAPP 2021, pp. 524–533. SciTePress (2021)
Bernardin, K., Elbs, A., Stiefelhagen, R.: Multiple object tracking performance metrics and evaluation in a smart room environment. In: Sixth IEEE International Workshop on Visual Surveillance, in conjunction with ECCV, vol. 90. Citeseer (2006)
Chen, C., et al.: Detection of aggressive behaviours in pigs using a RealSence depth sensor. Comput. Electron. Agric. 166, 105003 (2019)
Chen, C., Zhu, W., Steibel, J., Siegford, J., Han, J., Norton, T.: Recognition of feeding behaviour of pigs and determination of feeding time of each pig by a video-based deep learning method. Comput. Electron. Agric. 176, 105642 (2020)
Cheng, H.K., Chung, J., Tai, Y.W., Tang, C.K.: CascadePSP: toward class-agnostic and very high-resolution segmentation via global and local refinement. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8890–8899 (2020)
D’Eath, R.B., et al.: Automatic early warning of tail biting in pigs: 3D cameras can detect lowered tail posture before an outbreak. PLoS ONE 13(4), e0194524 (2018)
Garcia, R., Aguilar, J., Toro, M., Pinto, A., Rodriguez, P.: A systematic literature review on the use of machine learning in precision livestock farming. Comput. Electron. Agric. 179, 105826 (2020)
Geirhos, R., Rubisch, P., Michaelis, C., Bethge, M., Wichmann, F.A., Brendel, W.: Imagenet-trained cnns are biased towards texture; increasing shape bias improves accuracy and robustness. arXiv preprint arXiv:1811.12231 (2018)
Ghiasi, G., et al.: Simple copy-paste is a strong data augmentation method for instance segmentation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 2918–2928 (2021)
Gómez, Y., et al.: A systematic review on validated precision livestock farming technologies for pig production and its potential to assess animal welfare. Front. Vet. Sci. 8, 660565 (2021)
He, K., Gkioxari, G., Dollár, P., Girshick, R.: Mask R-CNN. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 2961–2969 (2017)
Hermann, K., Chen, T., Kornblith, S.: The origins and prevalence of texture bias in convolutional neural networks. Adv. Neural. Inf. Process. Syst. 33, 19000–19015 (2020)
Hu, Z., Yang, H., Lou, T.: Dual attention-guided feature pyramid network for instance segmentation of group pigs. Comput. Electron. Agric. 186, 106140 (2021)
Islam, M.A., et al.: Shape or texture: understanding discriminative features in CNNs. arXiv preprint arXiv:2101.11604 (2021)
Jensen, D.B., Pedersen, L.J.: Automatic counting and positioning of slaughter pigs within the pen using a convolutional neural network and video images. Comput. Electron. Agric. 188, 106296 (2021)
Kashiha, M., et al.: Automatic weight estimation of individual pigs using image analysis. Comput. Electron. Agric. 107, 38–44 (2014)
Lee, J., Jin, L., Park, D., Chung, Y.: Automatic recognition of aggressive behavior in pigs using a kinect depth sensor. Sensors 16(5), 631 (2016)
Leonard, S.M., Xin, H., Brown-Brandl, T.M., Ramirez, B.C.: Development and application of an image acquisition system for characterizing sow behaviors in farrowing stalls. Comput. Electron. Agric. 163, 104866 (2019)
Li, Y., Zhang, X., Chen, D.: CSRNet: dilated convolutional neural networks for understanding the highly congested scenes. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1091–1100 (2018)
Nasirahmadi, A., Hensel, O., Edwards, S., Sturm, B.: A new approach for categorizing pig lying behaviour based on a delaunay triangulation method. Animal 11(1), 131–139 (2017)
Nasirahmadi, A., Richter, U., Hensel, O., Edwards, S., Sturm, B.: Using machine vision for investigation of changes in pig group lying patterns. Comput. Electron. Agric. 119, 184–190 (2015)
Nasirahmadi, A., et al.: Deep learning and machine vision approaches for posture detection of individual pigs. Sensors 19(17), 3738 (2019)
Pezzuolo, A., Guarino, M., Sartori, L., González, L.A., Marinello, F.: On-barn pig weight estimation based on body measurements by a kinect v1 depth camera. Comput. Electron. Agric. 148, 29–36 (2018)
Ro-Main: automatic pig counter (2023). https://ro-main.com/our-products/smart-counting-for-farms/. Accessed 06 May 2023
Seo, J., Ahn, H., Kim, D., Lee, S., Chung, Y., Park, D.: EmbeddedPigDet–fast and accurate pig detection for embedded board implementations. Appl. Sci. 10(8), 2878 (2020)
Shao, H., Pu, J., Mu, J.: Pig-posture recognition based on computer vision: dataset and exploration. Animals 11(5), 1295 (2021)
Shi, C., Teng, G., Li, Z.: An approach of pig weight estimation using binocular stereo system based on LabVIEW. Comput. Electron. Agric. 129, 37–43 (2016)
Stukelj, M., Hajdinjak, M., Pusnik, I.: Stress-free measurement of body temperature of pigs by using thermal imaging-useful fact or wishful thinking. Comput. Electron. Agric. 193, 106656 (2022)
Tian, M., Guo, H., Chen, H., Wang, Q., Long, C., Ma, Y.: Automated pig counting using deep learning. Comput. Electron. Agric. 163, 104840 (2019)
Tu, S., et al.: Automated behavior recognition and tracking of group-housed pigs with an improved DeepSORT method. Agriculture 12(11), 1907 (2022)
Walter, P., Herther, M.: Nine trends transforming the agribusiness industry. Executive Insights 19, 62 (2017)
van der Zande, L.E., Guzhva, O., Rodenburg, T.B.: Individual detection and tracking of group housed pigs in their home pen using computer vision. Front. Anim. Sci. 2, 669312 (2021)
Zhang, J., Zhuang, Y., Ji, H., Teng, G.: Pig weight and body size estimation using a multiple output regression convolutional neural network: a fast and fully automatic method. Sensors 21(9), 3218 (2021)
Zhang, L., Gray, H., Ye, X., Collins, L., Allinson, N.: Automatic individual pig detection and tracking in pig farms. Sensors 19(5), 1188 (2019)
Zhang, Y., et al.: ByteTrack: multi-object tracking by associating every detection box. In: Avidan, S., Brostow, G., Cissé, M., Farinella, G.M., Hassner, T. (eds.) ECCV 2022. LNCS, vol. 13682, pp. 1–21. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-20047-2_1
Zhang, Z., Zhang, H., Liu, T.: Study on body temperature detection of pig based on infrared technology: a review. Artif. Intell. Agric. 1, 14–26 (2019)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Galkin, V., Makarenko, A. (2023). Methods and Algorithms for Intelligent Video Analytics in the Context of Solving Problems of Precision Pig Farming. In: Voevodin, V., Sobolev, S., Yakobovskiy, M., Shagaliev, R. (eds) Supercomputing. RuSCDays 2023. Lecture Notes in Computer Science, vol 14389. Springer, Cham. https://doi.org/10.1007/978-3-031-49435-2_16
Download citation
DOI: https://doi.org/10.1007/978-3-031-49435-2_16
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-49434-5
Online ISBN: 978-3-031-49435-2
eBook Packages: Computer ScienceComputer Science (R0)