
Project overview
Overview
Traditional pigeon farming heavily relies on manual observation and experience-based judgment, making it difficult to monitor the health status of the flock and detect abnormal behaviors in real-time. This leads to delays in disease prevention, feed waste, and animal welfare concerns. With the development of large-scale farming, the precise identification of fine-grained pigeon behaviors, such as feeding, fighting, and grooming, along with the analysis of health risks, has become a core demand to improve farming efficiency and sustainability. However, existing methods are unable to perform both behavior recognition and tracking based on video simultaneously, making it impossible to measure individual activity levels, analyze social relationships, and accurately capture the behavior of each pigeon.
To address this issue, the project employs an integrated multi-object tracking and behavior recognition algorithm, enabling the real-time tracking and fine-grained behavior identification of pigeons in video streams. In addition, we have constructed a dedicated pigeon dataset to support the training and validation of the algorithm. This technology effectively reduces costs, increases efficiency, improves pigeon welfare, enhances reproductive rates and market quality, and promotes the realization of precision farming.
Additional legacy detail: Video-based animal behaviour recognition
With the increasing demand for animal products, there has been a growing focus on animal welfare analysis, particularly in the context of social interactions within commercial farms. Disruptive inter-animal behaviors, such as tail-biting and stepping on others, not only impact animal welfare but also reduce the productivity of the farms. Detecting and preventing such behaviors has become a significant concern. While commercial farms have historically used RFID sensors for monitoring, these techniques can be expensive. As a result, researchers have explored alternative solutions, such as video-based animal behavior recognition.
Recent advancements in artificial intelligence, including Multiple Object Tracking (MOT), Joint Detection and Embedding (JDE), and Look Once (YOLO), have demonstrated that video surveillance can provide a low-cost and sustainable solution. The latest technique, MSQNet, has eliminated the need for actor-specific data, unlocking unlimited possibilities. However, further improvements are necessary to enhance the models in the domain of multi-class classification in video-based recognition.
To address this, a novel strategy is proposed. Additional information from the available dataset, such as the Animal Kingdom dataset, can be incorporated into the model from the ground up. By adding an additional class to the dataset, the model can better classify actions and also perform bonus animal class classification, enabling the classification of two different aspects. However, simply adding an additional class may not yield optimal results. Hence, another method called multi-phase transfer learning is introduced, inspired by human learning stages. The model is initially trained only on action annotations using TimesformerInit, and subsequently, the animal class is introduced.
Research has shown that introducing an additional class, in this case, the animal class, and employing multi-phase transfer learning does not significantly improve the precision of action recognition compared to the default model (~74%). However, the precision of animal class classification is better than that of action recognition. When solely incorporating the two classes into the model, the model’s performance saturates at around 72%, indicating that the multi-phase transfer approach maintains the original precision while enabling the classification of additional animal behaviors and animal types.
Multi-phase transfer learning allows the model to retain previously learned patterns, and without it, the model’s performance would degrade. This approach enhances the model’s capabilities in classifying animal behaviors while also considering the type of animal involved.
Overall, these advancements in video-based animal behavior recognition, along with the incorporation of additional classes and multi-phase transfer learning, have the potential to greatly improve the assessment of animal welfare and behavior in commercial farms.


