YOLO-Claw: A Fast and Accurate Method for Chicken Claw Detection
Dihua Wu,Yibin Ying,Mingchuan Zhou,Jinming Pan,Di Cui
DOI: https://doi.org/10.1016/j.engappai.2024.108919
IF: 8
2024-01-01
Engineering Applications of Artificial Intelligence
Abstract:Reliable chicken claw detection is the technical prerequisite for further intelligent sensing of the health status and physiological information of their feet in precision livestock farming (PLF). Towards commercial farm scenarios, YOLO-Claw automatic chicken claw detection algorithm was proposed in this study, which was inspired by YOLOv5 deep learning framework. Specifically, the Tanh-aided Channel Attention (TCA) and C3TCA modules were designed firstly to enhance feature extraction. Moreover, to enrich useful features for YOLO-Claw detection head, a new AFPN-Neck was proposed, which can progressively fuse non-adjacent layer low-level features with high-level features and avoid semantic gaps. Furthermore, a total of 7170 images containing real-world disturbances were obtained from a monitoring platform built on a commercial layer farm for model training and testing. Both comparative experiments and ablation tests were performed to validate the effectiveness of the TCA as well as the contribution of C3TCA, and AFPN-Neck. In addition, the proposed YOLO-Claw was compared with four popular object detection algorithms of the YOLO family including YOLOv5, YOLOv6, YOLOv7, and YOLOv8, as well as six State-of-the-Art (SOTA) methods. The results showed that the proposed TCA contributed 0.5%-1.3% more than Squeeze and Excitation (SE), Convolutional Block Attention Module (CBAM), Efficient Channel Attention (ECA), and Pyramid Split Attention (PSA) to the mAP with minimal size and computations. In addition, C3TCA and AFPN-Neck enhanced the mAP by 0.22% and 0.30%, respectively. Further, the proposed YOLO-Claw outperformed the ten comparison methods with Precision, , Recall, , mAP, , Speed, , Model Size, , and Computation of 95.3%, 93.6%, and 97.1%, 7.6 ms/frame, 12.1 MB, and 14.3 GFLOPs, respectively. Meanwhile, the test results on illumination condition, claw size and morphology variations revealed that YOLO-Claw could detect claws well in commercial farm scenarios. The code will be released on GitHub (https://github.com/ PuristWu/YOLO-Claw). . A video demo is provided to facilitate the reviewers' review ( YouTube : https://www.