# Cattle Farming Activity Monitoring Using Advanced Deep Learning Approach

**Authors:** Muhammad Asim, Bareera Anam, Muhammad Nadeem Ali, Byung-Seo Kim

PMC · DOI: 10.3390/s26030785 · Sensors (Basel, Switzerland) · 2026-01-24

## TL;DR

This paper presents a vision-based system for monitoring cattle activities, focusing on estrus detection using deep learning models in a real-world dairy farm setting.

## Contribution

A custom fine-grained cattle activity dataset and a vision-based estrus detection system using advanced deep learning models.

## Key findings

- A custom dataset of 2956 images annotated with four fine-grained cattle behaviors was created.
- YOLOv8-L outperformed YOLOv9-E with a mean average precision (mAP) of 91.11% versus 90.23%.
- The system enables detailed activity monitoring under challenging real-world conditions like variable lighting and occlusions.

## Abstract

Technological advancements have significantly improved cattle farming, particularly in sensor-based activity monitoring for health management, estrus detection, and overall herd supervision. However, such a sensor-based monitoring framework often illustrates several issues, such as high cost, animal discomfort, and susceptibility to false measurement. This study introduces a vision-based cattle activity monitoring approach deployed in a commercial Nestlé dairy farm, specifically one that is estrus-focused, where overhead cameras capture unconstrained herd behavior under variable lighting, occlusions, and crowding. A custom dataset of 2956 Images are collected and then annotated into four fine-grained behaviors—standing, lying, grazing, and estrus—enabling detailed analysis beyond coarse activity categories commonly used in prior livestock monitoring studies. Furthermore, computer vision-based deep learning algorithms are deployed on this dataset to classify the aforementioned classes. A comparative analysis of YOLOv8 and YOLOv9 is provided, which clearly illustrates that YOLOv8-L achieved a mAP of 91.11%, whereas YOLOv9-E achieved a mAP of 90.23%.

## Full-text entities

- **Species:** Bos taurus (bovine, species) [taxon 9913]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12899905/full.md

## Figures

9 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12899905/full.md

## References

37 references — full list in the complete paper: https://tomesphere.com/paper/PMC12899905/full.md

---
Source: https://tomesphere.com/paper/PMC12899905