Enhanced Swine Behavior Detection with YOLOs and a Mixed Efficient Layer Aggregation Network in Real Time
Ji-hyeon Lee,
Yo Han Choi,
Han-sung Lee,
Hyun Ju Park,
Jun Seon Hong,
Ji Hwan Lee,
Soo Jin Sa,
Yong Min Kim,
Jo Eun Kim,
Yong Dae Jeong,
Hyun-chong Cho
Affiliations
Ji-hyeon Lee
Interdisciplinary Graduate Program for BIT Medical Convergence, Kangwon National University, Chuncheon 24341, Republic of Korea
Yo Han Choi
Swine Science Division, National Institute of Animal Science, Rural Development Administration, Cheonan 31000, Republic of Korea
Han-sung Lee
Interdisciplinary Graduate Program for BIT Medical Convergence, Kangwon National University, Chuncheon 24341, Republic of Korea
Hyun Ju Park
Swine Science Division, National Institute of Animal Science, Rural Development Administration, Cheonan 31000, Republic of Korea
Jun Seon Hong
Swine Science Division, National Institute of Animal Science, Rural Development Administration, Cheonan 31000, Republic of Korea
Ji Hwan Lee
Swine Science Division, National Institute of Animal Science, Rural Development Administration, Cheonan 31000, Republic of Korea
Soo Jin Sa
Swine Science Division, National Institute of Animal Science, Rural Development Administration, Cheonan 31000, Republic of Korea
Yong Min Kim
Swine Science Division, National Institute of Animal Science, Rural Development Administration, Cheonan 31000, Republic of Korea
Jo Eun Kim
Swine Science Division, National Institute of Animal Science, Rural Development Administration, Cheonan 31000, Republic of Korea
Yong Dae Jeong
Swine Science Division, National Institute of Animal Science, Rural Development Administration, Cheonan 31000, Republic of Korea
Hyun-chong Cho
Department of Electronics Engineering, Interdisciplinary Graduate Program for BIT Medical Convergence, and Department of Data Science, Kangwon National University, Chuncheon 24341, Republic of Korea
Effective livestock management has become essential owing to an aging workforce and the growth of large-scale farming operations in the agricultural industry. Conventional monitoring methods, primarily reliant on manual observation, are increasingly reaching their limits, necessitating the development of innovative automated solutions. This study developed a system, termed mixed-ELAN, for real-time sow and piglet behavior detection using an extended ELAN architecture with diverse kernel sizes. The standard convolution operations within the ELAN framework were replaced with MixConv using diverse kernel sizes to enhance feature learning capabilities. To ensure high reliability, a performance evaluation of all techniques was conducted using a k-fold cross-validation (k = 3). The proposed architecture was applied to YOLOv7 and YOLOv9, yielding improvements of 1.5% and 2%, with mean average precision scores of 0.805 and 0.796, respectively, compared with the original models. Both models demonstrated significant performance improvements in detecting behaviors critical for piglet growth and survival, such as crushing and lying down, highlighting the effectiveness of the proposed architecture. These advances highlight the potential of AI and computer vision in agriculture, as well as the system’s benefits for improving animal welfare and farm management efficiency. The proposed architecture enhances the real-time monitoring and understanding of livestock behavior, establishing improved benchmarks for smart farming technologies and enabling further innovation in livestock management.