Farm Assistant Counts Sheep
Year 2025,
Volume: 8 Issue: 1, 73 - 79, 15.01.2025
Mustafa Boğa
,
Muhammed Abdulhamid Karabıyık
Abstract
Small livestock farming in our country is mostly based on pasture. The most important advantage of this situation is that it reduces feed expenses and increases our profitability within the farm. However, the most important problem is in the counting of animals when they come from the pasture to the pen and when they go from the pen to the pasture. This situation depends on the shepherd's attention and follow-up. However, finding experienced shepherds in our country is becoming more and more difficult every day. It may be difficult or even impossible for a sheep giving birth in the pasture to follow the herd when the geographical conditions become difficult. Quick counting of sheep and lambs as the animals enter and exit the pen depends on the shepherd's practice and experience. In order for this situation to be more realistic and to prevent personal mistakes, different alternatives should be considered. For this reason, a system has been developed using deep learning techniques to automatically count the animals in the herd when entering the pen. This system will automatically count the animals at the entrance and exit of the farm, and in case of missing animals, the system users will automatically notify the system users via web and mobile applications. With the implementation of this system, it will be possible to determine the losses that will occur on the farm with an early warning system. In our study, animals will be detected with the deep learning-based YoloV8 pre-trained model on images taken from fixed cameras that will be placed at the entrance and exit of the pen. Counting results obtained from the developed system can be used on different devices by providing multi-platform support. By disseminating this practice, losses of sheep and lambs in the pasture can be prevented.
Ethical Statement
Ethics committee approval was not required for this study because of there was no experimental study on animals or humans.
Thanks
This work was previously presented in summary form at VIII. International Congress on Domestic Animal Breeding Genetics and Husbandry, 2024 as a conference abstract. The current paper significantly expands upon the preliminary findings presented in that abstract, incorporating additional data, advanced analysis methods, and comprehensive discussion to provide a more in-depth exploration of the research topic.
References
- Bochkovskiy A, Wang CY, Liao HYM. 2020. YOLOv4: Optimal Speed and Accuracy of Object Detection. ArXiv, 2004: 10934.
- Çanga D, Boğa M, Kiliç HN, Bulut M, 2022. Information and communication technologies (Ict) and precision livestock (Plf) applications in farm conditions. Livre de Lyon, Lyon, France, pp: 52.
- Dandıl E, Çevik KK, Boğa M. 2024. Automated classification system based on YOLO architecture for body condition score in dairy cows. Vet Sci, 11(9): 399. https://doi.org/10.3390/vetsci11090399
- Esen FA, Onan A. 2022. Deep learning based plant diseases classification. Eur J Sci Technol, 40: 151-155. https://doi.org/10.31590/ejosat.1181081
- Everingham M, Van Gool L, Williams CKI. 2010. The Pascal visual object classes (VOC) challenge. Int J Comput Vis, 88: 303-338. https://doi.org/10.1007/s11263-009-0275-4
- Huang J, Rathod V, Sun C, Zhu M, Korattikara A, Fathi A. 2017. Speed/accuracy trade-offs for modern convolutional object detectors. IEEE Conference on Computer Vision and Pattern Recognition, July 21-26, Honolulu, US, pp: 3296–3297. https://doi.org/10.1109/CVPR.2017.351
- Joshi A, Naga VishnuKanth I, Samdaria N, Bagla S, Ranjan P. 2008. GPS-less animal tracking system. In 2008 Fourth International Conference on Wireless Communication and Sensor Networks, December 27-29, Indore, India, pp: 120-125. https://doi.org/10.1109/WCSN.2008.4772694
- Kavurur A. 2023. RFID tabanlı hayvan sayım sistemi. Uluslarar Teknol Bil Derg, 15: 59-63. https://doi.org/10.55974/utbd.1289149
- Kingma DP, Ba J. 2014. Adam: A method for stochastic optimization. ArXivI, 14(12): 6980.
- Lin T-Yi, Goyal P, Girshick R, He K, Dollár P. 2017. Focal loss for dense object detection. IEEE International Conference on Computer Vision (ICCV), October 22-29, Venice, Italy, pp: 2999-3007. https://doi.org/10.1109/ICCV.2017.324
- Lin T-Yi, Maire M, Belongie S, Hays J, Perona P, Ramanan D, Dollár PC, Zitnick L. 2014. Microsoft COCO: Common objects in context. Computer Vision – ECCV 2014. ECCV 2014. Lecture Notes in Computer Science, September 6-12, Zurich, Switzerland, pp: 740-755. https://doi.org/10.1007/978-3-319-10602-1_48.
- Özden C, Bulut M, Çanga Boğa D, Boğa M. 2023. Determination of non-digestible parts in dairy cattle feces using U-NET and F-CRN architectures. Vet Sci, 10(1): 32.
- Padilla R, Netto SL, da Silva EAB. 2020. A survey on performance metrics for object-detection algorithms. In 2020 International Conference on Systems, Signals and Image Processing (IWSSIP), July 1-3, Niteroi, Brazil, pp: 237-242. https://doi.org/10.1109/IWSSIP48289.2020.9145130
- Redmon J, Divvala S, Girshick R. Farhadi A. 2016. Ross Girshick; You only look once: Unified, real-time object detection. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 27-30, Las Vegas, US, pp: 779-788. https://doi.org/10.1109/CVPR.2016.91
- Wang CY, Bochkovskiy A, Liao H.-Y M. 2023. YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. IEEE/CVF conference on computer vision and pattern recognition. June 18-24, New Orleans, US, pp: 7464-7475.
- Yuksel AS, Tan FG. 2023. DeepCens : A deep learning‐based system for real‐time image and video censorship. Expert Syst, 40(10): e13436. https://doi.org/10.1111/exsy.13436
- Zhang Y, Sun P, Jiang Y, Yu D, Weng F, Yuan Z, Luo P, Liu W, Wang X. 2022. ByteTrack: Multi-object tracking by associating every detection box. 17th European Conference Computer Vision – ECCV, October 23–27, Tel Aviv, Israel, pp: 1–21. https://doi.org/10.1007/978-3-031-20047-2_1
Year 2025,
Volume: 8 Issue: 1, 73 - 79, 15.01.2025
Mustafa Boğa
,
Muhammed Abdulhamid Karabıyık
References
- Bochkovskiy A, Wang CY, Liao HYM. 2020. YOLOv4: Optimal Speed and Accuracy of Object Detection. ArXiv, 2004: 10934.
- Çanga D, Boğa M, Kiliç HN, Bulut M, 2022. Information and communication technologies (Ict) and precision livestock (Plf) applications in farm conditions. Livre de Lyon, Lyon, France, pp: 52.
- Dandıl E, Çevik KK, Boğa M. 2024. Automated classification system based on YOLO architecture for body condition score in dairy cows. Vet Sci, 11(9): 399. https://doi.org/10.3390/vetsci11090399
- Esen FA, Onan A. 2022. Deep learning based plant diseases classification. Eur J Sci Technol, 40: 151-155. https://doi.org/10.31590/ejosat.1181081
- Everingham M, Van Gool L, Williams CKI. 2010. The Pascal visual object classes (VOC) challenge. Int J Comput Vis, 88: 303-338. https://doi.org/10.1007/s11263-009-0275-4
- Huang J, Rathod V, Sun C, Zhu M, Korattikara A, Fathi A. 2017. Speed/accuracy trade-offs for modern convolutional object detectors. IEEE Conference on Computer Vision and Pattern Recognition, July 21-26, Honolulu, US, pp: 3296–3297. https://doi.org/10.1109/CVPR.2017.351
- Joshi A, Naga VishnuKanth I, Samdaria N, Bagla S, Ranjan P. 2008. GPS-less animal tracking system. In 2008 Fourth International Conference on Wireless Communication and Sensor Networks, December 27-29, Indore, India, pp: 120-125. https://doi.org/10.1109/WCSN.2008.4772694
- Kavurur A. 2023. RFID tabanlı hayvan sayım sistemi. Uluslarar Teknol Bil Derg, 15: 59-63. https://doi.org/10.55974/utbd.1289149
- Kingma DP, Ba J. 2014. Adam: A method for stochastic optimization. ArXivI, 14(12): 6980.
- Lin T-Yi, Goyal P, Girshick R, He K, Dollár P. 2017. Focal loss for dense object detection. IEEE International Conference on Computer Vision (ICCV), October 22-29, Venice, Italy, pp: 2999-3007. https://doi.org/10.1109/ICCV.2017.324
- Lin T-Yi, Maire M, Belongie S, Hays J, Perona P, Ramanan D, Dollár PC, Zitnick L. 2014. Microsoft COCO: Common objects in context. Computer Vision – ECCV 2014. ECCV 2014. Lecture Notes in Computer Science, September 6-12, Zurich, Switzerland, pp: 740-755. https://doi.org/10.1007/978-3-319-10602-1_48.
- Özden C, Bulut M, Çanga Boğa D, Boğa M. 2023. Determination of non-digestible parts in dairy cattle feces using U-NET and F-CRN architectures. Vet Sci, 10(1): 32.
- Padilla R, Netto SL, da Silva EAB. 2020. A survey on performance metrics for object-detection algorithms. In 2020 International Conference on Systems, Signals and Image Processing (IWSSIP), July 1-3, Niteroi, Brazil, pp: 237-242. https://doi.org/10.1109/IWSSIP48289.2020.9145130
- Redmon J, Divvala S, Girshick R. Farhadi A. 2016. Ross Girshick; You only look once: Unified, real-time object detection. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 27-30, Las Vegas, US, pp: 779-788. https://doi.org/10.1109/CVPR.2016.91
- Wang CY, Bochkovskiy A, Liao H.-Y M. 2023. YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. IEEE/CVF conference on computer vision and pattern recognition. June 18-24, New Orleans, US, pp: 7464-7475.
- Yuksel AS, Tan FG. 2023. DeepCens : A deep learning‐based system for real‐time image and video censorship. Expert Syst, 40(10): e13436. https://doi.org/10.1111/exsy.13436
- Zhang Y, Sun P, Jiang Y, Yu D, Weng F, Yuan Z, Luo P, Liu W, Wang X. 2022. ByteTrack: Multi-object tracking by associating every detection box. 17th European Conference Computer Vision – ECCV, October 23–27, Tel Aviv, Israel, pp: 1–21. https://doi.org/10.1007/978-3-031-20047-2_1