Edge AI-Enabled Chicken Health Detection Based on Enhanced FCOS-Lite and Knowledge Distillation
Abstract: The utilization of AIoT technology has become a crucial trend in modern poultry management, offering the potential to optimize farming operations and reduce human workloads. This paper presents a real-time and compact edge-AI enabled detector designed to identify chickens and their healthy statuses using frames captured by a lightweight and intelligent camera equipped with an edge-AI enabled CMOS sensor. To ensure efficient deployment of the proposed compact detector within the memory-constrained edge-AI enabled CMOS sensor, we employ a FCOS-Lite detector leveraging MobileNet as the backbone. To mitigate the issue of reduced accuracy in compact edge-AI detectors without incurring additional inference costs, we propose a gradient weighting loss function as classification loss and introduce CIOU loss function as localization loss. Additionally, we propose a knowledge distillation scheme to transfer valuable information from a large teacher detector to the proposed FCOS-Lite detector, thereby enhancing its performance while preserving a compact model size. Experimental results demonstrate the proposed edge-AI enabled detector achieves commendable performance metrics, including a mean average precision (mAP) of 95.1$\%$ and an F1-score of 94.2$\%$, etc. Notably, the proposed detector can be efficiently deployed and operates at a speed exceeding 20 FPS on the edge-AI enabled CMOS sensor, achieved through int8 quantization. That meets practical demands for automated poultry health monitoring using lightweight intelligent cameras with low power consumption and minimal bandwidth costs.
- Internet of things and machine learning techniques in poultry health and welfare management: A systematic literature review. Computers and Electronics in Agriculture, 200:107266, 2022.
- Edge computing and artificial intelligence for real-time poultry monitoring. Procedia computer science, 175:534–541, 2020.
- An intelligent device for diagnosing avian diseases: Newcastle, infectious bronchitis, avian influenza. Computers and electronics in agriculture, 127:744–753, 2016.
- Agricultural robotics research applicable to poultry production: A review. Computers and Electronics in Agriculture, 169:105216, 2020.
- Environmental monitoring in a poultry farm using an instrument developed with the internet of things concept. Computers and Electronics in Agriculture, 170:105257, 2020.
- A defencing algorithm based on deep learning improves the detection accuracy of caged chickens. Computers and Electronics in Agriculture, 204:107501, 2023.
- A computer vision approach to monitor activity in commercial broiler chickens using trajectory-based clustering analysis. Computers and Electronics in Agriculture, 217:108591, 2024.
- Automated detection and counting of broiler behaviors using a video recognition system. Computers and Electronics in Agriculture, 221:108930, 2024.
- Real-time fruit detection using deep neural networks on cpu (rtfd): An edge ai application. Computers and Electronics in Agriculture, 204:107517, 2023.
- Iot-based real-time poultry monitoring and health status identification. In 2018 11th International Symposium on Mechatronics and its Applications (ISMA), pages 1–7, 2018.
- Arun Gnana Raj Alex and Gnana Jayanthi Joseph. Real-time poultry health identification using iot test setup, optimization and results. In Advances in Signal Processing and Intelligent Recognition Systems: 4th International Symposium SIRS 2018, Bangalore, India, September 19–22, 2018, Revised Selected Papers 4, pages 30–40, 2019.
- Ross Girshick. Fast r-cnn. In Proceedings of the IEEE international conference on computer vision, pages 1440–1448, 2015.
- Fssd: Feature fusion single shot multibox detector, 2018.
- Yolov3: An incremental improvement. arXiv preprint arXiv:1804.02767, 2018.
- Zhou Siyao Yi Shi, Shen Lian et al. Recognition method of pheasant using enhanced tiny-yolov3 model. Transactions of the Chinese Society of Agricultural Engineering, 13:141–147, 2020.
- Detection of sick broilers by digital image processing and deep learning. Biosystems Engineering, 179:106–116, 2019.
- Identifying images of dead chickens with a chicken removal system integrated with a deep learning algorithm. Sensors, 21(11):3579, 2021.
- A dead broiler inspection system for large-scale breeding farms based on deep learning. Agriculture, 12(8):1176, 2022.
- A real-time detector of chicken healthy status based on modified yolo. Signal, Image and Video Processing, 17(8):4199–4207, 2023.
- Sy-track: A tracking tool for measuring chicken flock activity level. Computers and Electronics in Agriculture, 217:108603, 2024.
- Agricultural weed identification in images and videos by integrating optimized deep learning architecture on an edge computing technology. Computers and Electronics in Agriculture, 216:108442, 2024.
- An effective litchi detection method based on edge devices in a complex scene. Biosystems Engineering, 222:15–28, 2022.
- Sheep face image dataset and dt-yolov5s for sheep breed recognition. Computers and Electronics in Agriculture, 211:108027, 2023.
- Developing edge ai computer vision for smart poultry farms using deep learning and hpc. Sensors, 23(6):3002, 2023.
- SONY. Overview - IMX500. https://developer.sony.com/imx500/.
- Raspberry Pi Foundation. Homepage - Raspberry Pi. https://www.raspberrypi.com/.
- SONY. Overview - Spresense. https://developer.sony.com/ja/develop/spresense/.
- Fcos: Fully convolutional one-stage object detection. In Proceedings of the IEEE/CVF international conference on computer vision, pages 9627–9636, 2019.
- Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016.
- Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861, 2017.
- Feature pyramid networks for object detection. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2117–2125, 2017.
- Convolutional deep belief networks on cifar-10. Unpublished manuscript, 40(7):1–9, 2010.
- Focal loss for dense object detection. In Proceedings of the IEEE international conference on computer vision, pages 2980–2988, 2017.
- Distance-iou loss: Faster and better learning for bounding box regression. In Proceedings of the AAAI conference on artificial intelligence, volume 34, pages 12993–13000, 2020.
- Unitbox: An advanced object detection network. In Proceedings of the 24th ACM international conference on Multimedia, pages 516–520, 2016.
- Gradient harmonized single-stage detector. In Proceedings of the AAAI conference on artificial intelligence, volume 33, pages 8577–8584, 2019.
- Generalized intersection over union: A metric and a loss for bounding box regression. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 658–666, 2019.
- Focal and efficient iou loss for accurate bounding box regression. Neurocomputing, 506:146–157, 2022.
- Zhora Gevorgyan. Siou loss: More powerful learning for bounding box regression. arXiv preprint arXiv:2205.12740, 2022.
- Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
- Fitnets: Hints for thin deep nets. arXiv preprint arXiv:1412.6550, 2014.
- Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. arXiv preprint arXiv:1612.03928, 2016.
- A gift from knowledge distillation: Fast optimization, network minimization and transfer learning. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4133–4141, 2017.
- Similarity-preserving knowledge distillation. In Proceedings of the IEEE/CVF international conference on computer vision, pages 1365–1374, 2019.
- A comprehensive overhaul of feature distillation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 1921–1930, 2019.
- Knowledge distillation: A survey. International Journal of Computer Vision, 129:1789–1819, 2021.
- Knowledge transfer via distillation of activation boundaries formed by hidden neurons. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 3779–3787, 2019.
- Variational information distillation for knowledge transfer. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9163–9171, 2019.
- Relational knowledge distillation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 3967–3976, 2019.
- Contrastive representation distillation. arXiv preprint arXiv:1910.10699, 2019.
- Learning efficient object detection models with knowledge distillation. Advances in neural information processing systems, 30, 2017.
- Distilling object detectors with fine-grained feature imitation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4933–4942, 2019.
- Distilling object detectors with task adaptive regularization. arXiv preprint arXiv:2006.13108, 2020.
- General instance distillation for object detection. In 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 7838–7847, 2021.
- Improve object detection with feature-based knowledge distillation: Towards accurate and efficient detectors. In International Conference on Learning Representations, 2020.
- Focal and global knowledge distillation for detectors. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4643–4652, 2022.
- Squeeze-and-excitation networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7132–7141, 2018.
- Cbam: Convolutional block attention module. In Proceedings of the European conference on computer vision (ECCV), pages 3–19, 2018.
- Gcnet: Non-local networks meet squeeze-excitation networks and beyond. In Proceedings of the IEEE/CVF international conference on computer vision workshops, pages 0–0, 2019.
- Glenn Jocher. YOLOv5. https://github.com/ultralytics/yolov5.
- Ssd: Single shot multibox detector. In ECCV, pages 21–37, 2016.
- Yolox: Exceeding yolo series in 2021. arXiv preprint arXiv:2107.08430, 2021.
- Learned step size quantization. arXiv preprint arXiv:1902.08153, 2019.
- Efficient quantization-aware training with adaptive coreset selection. arXiv preprint arXiv:2306.07215, 2023.
- Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. arXiv preprint arXiv:1510.00149, 2015.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.