Louise Helary
Cow detection model v1
06/03/2024
This repository contains code for a cow detection model using PyTorch and YOLO.
pip install ultralytics.The dataset used for training this model consists of images collected from three outdoor cattle farms in France using a UAV (Mavic 3 Enterprise or Mavic 3 Thermal). The flights were conducted at an altitude of 30, 60 or 100 meters in nadir position. Images and their corresponding labeling files are available on the Zenodo repository ICAERUS HE Project.
The following breeds with distinct body colors are present in the dataset:
Image size can be 4000x3000 or 5280x3956 depending on the drone used.
All images with animals from the dataset were used (241 over 1148). Dataset was split into training, validation and test with a ratio of 70/20/10.
| Color body | White | Spotted | Red/Black |
|---|---|---|---|
| Number of images | 136 | 67 | 38 |
| Number of animals | 301 | 1435 | 357 |
Metrics:
An example of cow detection in a image from test population:
