Skip to content

Chicken behavior analysis using computer vision and deep learning

Notifications You must be signed in to change notification settings

TaherehZarratEhsan/Chicken-Behavior-Analysis

Repository files navigation

Chicken Behavior Analysis

Winner of Scientific-Industrial Computer Vision Competition in 12th International Conference on Computer and Knowledge Engineering (Second Place), 2022.

The goal of this competition was to propose a machine-learning framework for chicken behavior analysis and the framework must comprise the following parts:
1- Chicken detection in a crowded challenging poultry environment
2- Tracker to find the trajectory of detected chickens
3- Chicken behavior analysis based on the trajectory evaluation

Member: Tahereh Zarrat Ehsan, Seyed Mehdi Mohtavipour Shafti

Cite as : https://arxiv.org/abs/2401.12176

How to run

For chicken detection, train the YOLOv4 network using the dataset provided in the 'img' and 'Annotation' folders, formatted in YOLO style. If you'd like to use your own dataset, employ annotation software like 'LabelImg' to create annotations and place them in these folders. In the 'Broiler_Detection.ipynb' file, you can train the YOLOv4 network with your dataset and test it on new data. Remember to adjust the directories according to your machine's environment. Save the trained model in the 'final_training' folder. In the 'Broiler_Tracking.ipynb' file, the saved model is used to track chickens through centroid computations, assigning a unique ID to each chicken. The tracked video is generated by accumulating the frames.

Chicken Detection Result

Detect8_BB_177

Chicken Gathering Anomaly Result

Dense_6

Inactive Chicken Detection Result

Sick_2

Tracker Output Result

Tracking_Result_1

Distance Measure Result

Tracker_Distance_Mehasure_3

Certificate

ICCKE Competition_page-0001

About

Chicken behavior analysis using computer vision and deep learning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published