Application of YOLOv11s Algorithm to Automate Egg Counting in Poultry Farms
Main Article Content
Abstract
Chicken eggs are a strategic food commodity and a globally affordable source of animal protein. In the industrial poultry farming sector, accurate daily production data is fundamental for evaluating biological performance, feed efficiency, and supply chain management. However, the conventional manual counting process is highly susceptible to human error caused by physical fatigue and dynamic environmental conditions, resulting in significant data inaccuracies. To address these inefficiencies, this study aims to develop a precise automated egg counting system by implementing the You Only Look Once (YOLO) deep learning algorithm version 11s. This study employed an experimental approach that included data collection, manual annotation, and extensive augmentation techniques to ensure the model's robustness to variations in lighting and spatial orientation. The model was trained using a specific egg dataset and evaluated against standard object detection performance metrics. The experimental results demonstrated superior performance, with the model achieving 97.80% Precision, 98.60% Recall, and 99.10% Mean Average Precision at intersection over union 50%. Furthermore, the F1-Score reached 98.20%, indicating a strong balance between detection accuracy and sensitivity. The system successfully detected and counted eggs in a real-time environment while maintaining stability across various visual scenarios. In conclusion, the proposed architecture proved to be a highly effective solution for automating production recording in poultry farms. These findings offer a practical transition towards digitized precision farming, significantly reducing operational inefficiencies associated with manual monitoring while enabling sound managerial decision-making.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
References
Alif, M. A. R., & Hussain, M. (2024). YOLOv1 to YOLOv10: A comprehensive review of YOLO variants and their application in the agricultural domain (No. arXiv:2406.10139). arXiv. https://doi.org/10.48550/arXiv.2406.10139
Bumbálek, R., Umurungi, S. N., Ufitikirezi, J. D. D. M., Zoubek, T., Kuneš, R., Stehlík, R., Lin, H.-I., & Bartoš, P. (2025). Deep learning in poultry farming: Comparative analysis of Yolov8, Yolov9, Yolov10, and Yolov11 for dead chickens detection. Poultry Science, 104(9), 105440. https://doi.org/10.1016/j.psj.2025.105440
Everingham, M., Van Gool, L., Williams, C. K. I., Winn, J., & Zisserman, A. (2010). The Pascal Visual Object Classes (VOC) Challenge. International Journal of Computer Vision, 88(2), 303–338. https://doi.org/10.1007/s11263-009-0275-4
Géron, A. (2019). Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow. O’Reilly Media.
Hadjisavvas, N., Nicolaou, N., & Stavrakis, E. (2024). Real-Time Egg Detection Using Edge Computer Vision.
Handayani, T. (n.d.). IMPLEMENTASI METODE YOU ONLY LOOK ONCE (YOLO) UNTUK DETEKSI KESEGARAN TELUR AYAM BERDASARKAN CITRA CANGKANG.
Jiang, Y., Atwa, E. M., He, P., Zhang, J., Di, M., Pan, J., & Lin, H. (2025). Computer Vision-Based Multi-Feature Extraction and Regression for Precise Egg Weight Measurement in Laying Hen Farms. Agriculture, 15(19), 2035. https://doi.org/10.3390/agriculture15192035
Linuwih, H., & Handayati, Y. (2025). Quantitative Analysis of Inventory Record Inaccuracy (IRI): A Case Study on Warehouse Stock Discrepancies. International Journal of Current Science Research and Review, 08(01). https://doi.org/10.47191/ijcsrr/V8-i1-26
Liu, G., Qiu, K., Chen, Z., Zheng, A., Chang, W., Cai, H., & Zhang, X. (2023). Augmentation of Performance, Carcass Trait, Biochemical Profile and Lipid Metabolism Concerning the Use of Organic Acidifier in Broiler Chickens. Agriculture, 13(9), 1765. https://doi.org/10.3390/agriculture13091765
Manning, C., Raghavan, P., & Schutze, H. (2008). Introduction to information retrieval. Cambridge University Press.
Ningsih, S. A., Sutiani, R. A., Ulandari, N. M. S., & Saputra, R. A. (2024). PENERAPAN ALGORITMA YOLO UNTUK MENDETEKSI KUALITAS ℡UR AYAM BERDASARKAN WARNA CANGKANG. METHODIKA: Jurnal Teknik Informatika Dan Sistem Informasi, 10(2), 35–39. https://doi.org/10.46880/mtk.v10i2.3062
Pangestu, G. (2025). Real-Time Chicken Counting System using YOLO for FCR Optimization in Small and Medium Poultry Farms. Journal of Development Research, 9(1), 1–9. https://doi.org/10.28926/jdr.v9i1.436
Sandy, C. L. M., Husna, A., & Rizal, R. A. (2024). Real Time Chicken Egg Size Classification Using Yolov4 Algorithm. Brilliance: Research of Artificial Intelligence, 4(2), 577–584. https://doi.org/10.47709/brilliance.v4i2.4496
Sarvari, H., Baghbaderani, A. B., Chan, D. W. M., & Beer, M. (2024). Determining the significant contributing factors to the occurrence of human errors in the urban construction projects: A Delphi-SWARA study approach. Technological Forecasting and Social Change, 205, 123512. https://doi.org/10.1016/j.techfore.2024.123512
Subedi, S., Bist, R., Yang, X., & Chai, L. (2023). Tracking floor eggs with machine vision in cage-free hen houses. Poultry Science, 102(6), 102637. https://doi.org/10.1016/j.psj.2023.102637
Tharwat, A. (2021). Classification assessment methods. Applied Computing and Informatics, 17(1), 168–192. https://doi.org/10.1016/j.aci.2018.08.003
Ultralytics. (2024). YOLO Training and Validation Documentation—Official Documentation. https://docs.ultralytics.com
Vinod, A., Mohanty, D. C., John, A., & Depuru, B. K. (2023). Application of Artificial Intelligence in Poultry Farming—Advancing Efficiency in Poultry Farming By Automating The Egg Counting Using Computer Vision System. In Review. https://doi.org/10.21203/rs.3.rs-3266412/v1
Wu, Z., Zhang, H., & Fang, C. (2025). Research on machine vision online monitoring system for egg production and quality in cage environment. Poultry Science, 104(1), 104552. https://doi.org/10.1016/j.psj.2024.104552
Yang, X., Bist, R. B., Subedi, S., & Chai, L. (2023). A Computer Vision-Based Automatic System for Egg Grading and Defect Detection. Animals, 13(14), 2354. https://doi.org/10.3390/ani13142354
Zakria, Deng, J., Cai, J., Aftab, M. U., Khokhar, M. S., & Kumar, R. (2020). Visual Features with Spatio-Temporal-Based Fusion Model for Cross-Dataset Vehicle Re-Identification. Electronics, 9(7), 1083. https://doi.org/10.3390/electronics9071083
Zhang, M., Luo, W., Yin, Z., Huang, X., & Yin, J. (2024). Dietary Lactobacillus delbrueckii Affects Ileal Bacterial Composition and Circadian Rhythms in Pigs. Animals, 14(3), 412. https://doi.org/10.3390/ani14030412