journal article·2022-05-07Open access

Lamb Behaviors Analysis Using a Predictive CNN Model and a Single Camera

Yair González-Baldizón, Madaín Pérez-Patricio, Jorge Luis Camas-Anzueto, Oscar Mario Rodríguez-Elías, Elias Neftali Escobar-Gómez, Hector Daniel Vazquez-Delgado, Julio Alberto Guzman-Rabasa, José Armando Fragoso-Mandujano

Applied Sciences· Volume 12· Issue 9

Abstract

Object tracking is the process of estimating in time N the location of one or more moving element through an agent (camera, sensor, or other perceptive device). An important application in object tracking is the analysis of animal behavior to estimate their health. Traditionally, experts in the field have performed this task. However, this approach requires a high level of knowledge in the area and sufficient employees to ensure monitoring quality. Another alternative is the application of sensors (inertial and thermal), which provides precise information to the user, such as location and temperature, among other data. Nevertheless, this type of analysis results in high infrastructure costs and constant maintenance. Another option to overcome these problems is to analyze an RGB image to obtain information from animal tracking. This alternative eliminates the reliance on experts and different sensors, yet it adds the challenge of interpreting image ambiguity correctly. Taking into consideration the aforementioned, this article proposes a methodology to analyze lamb behavior from an approach based on a predictive model and deep learning, using a single RGB camera. This method consists of two stages. First, an architecture for lamb tracking was designed and implemented using CNN. Second, a predictive model was designed for the recognition of animal behavior. The results obtained in this research indicate that the proposed methodology is feasible and promising. In this sense, according to the experimental results on the used dataset, the accuracy was 99.85% for detecting lamb activities with YOLOV4, and for the proposed predictive model, a mean accuracy was 83.52% for detecting abnormal states. These results suggest that the proposed methodology can be useful in precision agriculture in order to take preventive actions and to diagnose possible diseases or health problems.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Animal Behavior and Welfare Studies · Smart Agriculture and AI · Food Supply Chain Traceability

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

TecNM/IT Tuxtla Gutiérrez, Carretera Panamericana Km. 1080, Tuxtla Gutiérrez CP 29050, Chiapas, Mexico

TecNM/IT Hermosillo, Av. Tecnológico S/N, Hermosillo CP 83170, Sonora, Mexico

References (42)

Show source-provided references
1. Real-time automatic lameness detection based on back posture extraction in dairy cattle: Shape analysis of cow with image processing techniques10.1016/j.compag.2010.07.004 ↗
2. Pose estimation-based lameness recognition in broiler using CNN-LSTM network10.1016/j.compag.2022.106931 ↗
3. A new approach for categorizing pig lying behaviour based on a Delaunay triangulation method10.1017/S1751731116001208 ↗
4. Menchetti, L., Nanni Costa, L., Zappaterra, M., and Padalino, B. (2021). Effects of Reduced Space Allowance and Heat Stress on Behavior and Eye Temperature in Unweaned Lambs: A Pilot Study. Animals, 11.10.3390/ani11123464 ↗
5. Automatic behavior recognition of group-housed goats using deep learning10.1016/j.compag.2020.105706 ↗
6. Massari, J.M., de Moura, D.J., de Alencar Nääs, I., Pereira, D.F., and Branco, T. (2022). Computer-Vision-Based Indexes for Analyzing Broiler Response to Rearing Environment: A Proof of Concept. Animals, 12.10.3390/ani12070846 ↗
7. Monitoring trough visits of growing-finishing pigs with UHF-RFID10.1016/j.compag.2017.11.036 ↗
8. Wang, G., Muhammad, A., Liu, C., Du, L., and Li, D. (2021). Automatic Recognition of Fish Behavior with a Fusion of RGB and Optical Flow Data Based on Deep Learning. Animals, 11.10.3390/ani11102774 ↗
9. Evaluation of a depth sensor for mass estimation of growing and finishing pigs10.1016/j.biosystemseng.2018.03.002 ↗
10. On-barn pig weight estimation based on body measurements by a Kinect v1 depth camera10.1016/j.compag.2018.03.003 ↗
11. Schütz, A.K., Krause, E.T., Fischer, M., Müller, T., Freuling, C.M., Conraths, F.J., Homeier-Bachmann, T., and Lentz, H.H. (2022). Computer Vision for Detection of Body Posture and Behavior of Red Foxes. Animals, 12.10.3390/ani12030233 ↗
12. Lee, Y.D., Lee, H., Yoon, E., Park, C., Osborg, E.S., and Løvall, K. (2022). A Comparative Assessment of Mid-Water Trawl and Deep Vision for Investigating Fishery Resources in the Coastal Waters off Jeju Island, Korea. Appl. Sci., 12.10.3390/app12041835 ↗
13. Using machine vision for investigation of changes in pig group lying patterns10.1016/j.compag.2015.10.023 ↗
14. Body size estimation of new born lambs using image processing and its effect on the genetic gain of a simulated population10.1080/09712119.2015.1031789 ↗
15. Analysing animal behaviour in wildlife videos using face detection and tracking10.1049/ip-vis:20050052 ↗
16. Analyzing animal behavior via classifying each video frame using convolutional neural networks10.1038/srep14351 ↗
17. Automatic lameness detection in dairy cattle based on leg swing analysis with an image processing technique10.1016/j.compag.2018.03.014 ↗
18. Accurate detection of lameness in dairy cattle with computer vision: A new and individualized detection strategy based on the analysis of the supporting phase10.3168/jds.2020-18288 ↗
19. Automated sheep facial expression classification using deep transfer learning10.1016/j.compag.2020.105528 ↗
20. Guo, Y., He, D., and Chai, L. (2020). A machine vision-based method for monitoring scene-interactive behaviors of dairy calf. Animals, 10.10.3390/ani10020190 ↗
21. Jung, D.H., Kim, N.Y., Moon, S.H., Jhin, C., Kim, H.J., Yang, J.S., Kim, H.S., Lee, T.S., Lee, J.Y., and Park, S.H. (2021). Deep learning-based cattle vocal classification model and real-time livestock monitoring system with noise filtering. Animals, 11.10.3390/ani11020357 ↗
22. Zhang, K., Li, D., Huang, J., and Chen, Y. (2020). Automated video behavior recognition of pigs using two-stream convolutional networks. Sensors, 20.10.3390/s20041085 ↗
23. Model-based detection of pigs in images under sub-optimal conditions10.1016/j.compag.2018.06.043 ↗
24. D’Eath, R.B., Jack, M., Futro, A., Talbot, D., Zhu, Q., Barclay, D., and Baxter, E.M. (2018). Automatic early warning of tail biting in pigs: 3D cameras can detect lowered tail posture before an outbreak. PLoS ONE, 13.10.1371/journal.pone.0194524 ↗
25. Potential for autonomous detection of lambing using global navigation satellite system technology10.1071/AN18654 ↗
26. Image feature extraction for classification of aggressive interactions among pigs10.1016/j.compag.2014.03.010 ↗
27. A computer vision approach based on deep learning for the detection of dairy cows in free stall barn10.1016/j.compag.2021.106030 ↗
28. Development and evaluation of a method to detect broilers continuously walking around feeder as an indication of restricted feeding behaviors10.1016/j.compag.2020.105982 ↗
29. Automatically detecting pig position and posture by 2D camera imaging and deep learning10.1016/j.compag.2020.105391 ↗
30. Fuentes, S., Viejo, C.G., Chauhan, S.S., Joy, A., Tongson, E., and Dunshea, F.R. (2020). Computer Vision Algorithms and Machine Learning Modeling Using Integrated Visible/Infrared Thermal Cameras. Sensors, 20.10.3390/s20216334 ↗
31. Bhujel, A., Arulmozhi, E., Moon, B.E., and Kim, H.T. (2021). Deep-Learning-Based Automatic Monitoring of Pigs’ Physico-Temporal Activities at Different Greenhouse Gas Concentrations. Animals, 11.10.20944/preprints202110.0319.v1 ↗
32. The Pascal Visual Object Classes Challenge: A Retrospective10.1007/s11263-014-0733-5 ↗
33. Faster R-CNN: Towards real-time object detection with region proposal networks10.1109/TPAMI.2016.2577031 ↗
34. Redmon, J., and Farhadi, A. (2018). YOLOv3: An incremental improvement. arXiv.
35. Bochkovskiy, A., Wang, C.Y., and Liao, H.Y.M. (2020). Yolov4: Optimal speed and accuracy of object detection. arXiv.
36. González-Baldizón, Y., Pérez-Patricio, M., Magadán, A., Morales-Reyes, A., Escobar-Gómez, E.N., Rodríguez-Elías, O.M., Vázquez-Delgado, H.D., and Fragoso-Mandujano, A. (2020). Recognition of Common Postures in Lambs (ICV-TxLamb), IEEE.
37. Manning, C., and Schutze, H. (1999). Foundations of Statistical Natural Language Processing, MIT Press.
38. The pascal visual object classes (voc) challenge10.1007/s11263-009-0275-4 ↗
39. Using channel pruning-based YOLO v4 deep learning algorithm for the real-time and accurate detection of apple flowers in natural environments10.1016/j.compag.2020.105742 ↗
40. Automatic recognition of lactating sow postures from depth images by deep learning detector10.1016/j.compag.2018.01.023 ↗
41. (2015). NORMA Oficial Mexicana NOM-001-SAG/GAN-2015 (Standard No. NOM-001-SAG/GAN-2015).
42. (1995). NORMA Oficial Mexicana NOM-042-ZOO-1995 (Standard No. NOM-042-ZOO-1995).