✅
International Peer-Reviewed Publisher
Serving Researchers Since 2012

A Survey of AI, IoT and Computer Vision Approaches for Livestock Health Monitoring and Management

DOI : 10.5281/zenodo.24747354
Download Full-Text PDF Cite this Publication

Text Only Version

A Survey of AI, IoT and Computer Vision Approaches for Livestock Health Monitoring and Management

1st Prof. Kajal Khalate

Dept. of Information Technology Vidya Pratishthans Kamalnayan Bajaj Institute of Engineering and Technology Baramati, Maharashtra, India

2nd Mrunmayee Suryawanshi

Dept. of Information Technology Vidya Pratishthans Kamalnayan Bajaj Institute of Engineering and Technology Baramati, Maharashtra, India

3rd Siddhi Dhumal

Dept. of Information Technology Vidya Pratishthans Kamalnayan Bajaj Institute of Engineering and Technology Baramati, Maharashtra, India

4th Advait Bhosale

Dept. of Information Technology Vidya Pratishthans Kamalnayan Bajaj Institute of Engineering and Technology Baramati, Maharashtra, India

5th Aniket Khalate

Dept. of Information Technology Vidya Pratishthans Kamalnayan Bajaj Institute of Engineering and Technology Baramati, Maharashtra, India

Abstract – Monitoring the health of individual animals is difficult on farms where manual observation cannot be continuous, and late recognition of abnormal behaviour or illness raises treatment cost and lowers productivity. This paper surveys recent work on livestock health monitoring that combines Internet of Things (IoT) sensing, machine learning, deep-learning-based computer vision, and mobile or web applications. Representative studies on wearable biosensors, multi-sensor activity classification, federated learning, disease-oriented IoT systems, long-range wireless tracking, cloud and mobile monitoring, and image-based behaviour recognition are compared by sensing modality, analytics, user interface, and deployment constraints. The comparison shows that most systems address one capability at a time, such as vision-based behaviour recognition, sensor-based health prediction, or remote tracking, while integration with health, vaccination, feeding, and breeding records is seldom addressed. Guided by this gap, the survey outlines an integrated architecture in which computer vision, a temperature and humidity IoT node, a backend service, a record database, and mobile and web clients work together with expert validation of alerts, and it describes the measures needed to evaluate such a system. The architecture is being developed for a pilot at Krishi Vigyan Kendra (KVK), Baramati.

Index TermsLivestock health monitoring, Internet of Things (IoT), computer vision, YOLO, machine learning, precision livestock farming, cattle behaviour, mobile application, smart agriculture.

  1. Introduction

    Livestock keeping supports rural livelihoods across India, and the condition of each animal affects milk output, breeding results, and farm income. In practice, many routine tasks, such as watching behaviour, writing veterinary notes, and tracking vaccination and deworming dates, are still done by hand. One caretaker cannot observe every animal all day, so a change in behaviour or condition may be noticed only when the problem is already advanced. Precision livestock farming (PLF) responds to this by collecting fine-grained data from animals and their surroundings and turning it into management decisions [1].

    Two technology families dominate recent PLF research. The first is sensor-based: wearable and environmental devices, connected through IoT networks, measure quantities such as acceleration, body temperature, heart rate, and ambient conditions [2], [3]. The second is vision-based: cameras

    combined with deep-learning models recognise individual animals and classify what they are doing [4]. Cloud services and smartphone applications link both families to the people who must act on the information, namely farmers, field officers, and veterinarians.

    Each family has been studied well on its own, yet a farm or a Krishi Vigyan Kendra (KVK) needs more than one technique. It needs animal detection, early alerts, environmental readings, and organised health, feeding, and breeding records in a single place. This survey therefore reviews how existing work combines sensing, analytics, and applications, identifies what is missing, and uses the findings to motivate an integrated design. The main objectives are:

    1. to review IoT-based, wearable, and vision-based approaches to livestock health monitoring;

    2. to compare representative studies by sensing modality, analytics, user interface, and limitations;

    3. to identify gaps in the integration of sensing, vision, records, and decision support;

    4. to outline an integrated monitoring and management architecture for a pilot at KVK Baramati; and

    5. to define how such a system should be evaluated, including validation by livestock experts.

      The primary contribution is a structured comparison and a requirements-driven architecture rather than a new algorithm. The proposed system is at the design stage, so no experimental results are claimed.

  2. Literature Survey

      1. ecision Livestock Farming and Digital Technologies

        The PLF literature stresses both opportunity and limits. Sensors, connected devices, and automated analysis support early detection and better decisions, yet the outputs still need interpretation by people with animal-health knowledge [1]. A review of information technologies for dairy farms groups the tools into contact sensors, computer vision, IoT, and machine learning, and lists uses in individual recognition, behaviour and health monitoring, body-condition assessment, and mastitis detection. The same review notes that moving laboratory methods onto commercial farms remains difficult [2].

      2. IoT-Based Cattle Health Monitoring

        Unold et al. describe a cow health monitoring system built from animal-mounted hardware, wireless communication, a cloud database, and an end-user application, which illustrates that monitoring is an end-to-end problem and not only a sensor problem [5]. Darvesh et al. use skin-temperature, heart-rate, and motion sensors to follow heart rate, activity, heat stress, and surrounding temperature. The readings reach a cloud service where a trained model estimates health status, and a mobile application shows the data and warns the user when a problem appears [6].

        Batla et al. present My Herd, in which body temperature, heart rate, and activity are collected by an Arduino-based node, pushed to ThingSpeak, analysed with MATLAB algorithms, and reported to the farmers phone as alerts; the system was tested on a group of cattle [7]. Kaur and Virk developed a smart neck collar that records temperature, pulse rate, and activity and reported results on 150 dairy cows from seven districts of Punjab, where Random Forest and Decision Tree models performed strongly [8]. Shahab et al. target lumpy skin disease, combining wearable measurement of body temperature, heart rate, and three-axis motion with cloud and mobile components for alerts [9].

      3. Multi-Sensor Activity Monitoring and Federated Learning

        Dutta et al. built MOOnitor, a multi-sensor device that records temperature, speed or location, and acceleration, and compared classifiers including XGBoost and Random Forest; XGBoost reached roughly 97% accuracy for activity classification [10]. A 2024 study combined body-area sensor nodes, IoT, and federated learning for conditions such as fever, mastitis, foot-and-mouth disease, and ketosis, used Gaussian Naive Bayes for the multiclass prediction, and added an Adroid application for owners [11]. Such accuracy figures should be read together with dataset size, labelling method, and test conditions.

      4. Wearable Biosensors

        A systematic review of wearable wireless biosensors for cattle sorted systems by body placement, including ear tags, halters, neck collars, rumen boluses, leg tags, tail devices, and vaginal devices. It found about 60 commercial systems and 46 studies suitable for meta-analysis, and reported good performance for many parameters alongside large differences between studies and incomplete reporting of experimental conditions [3].

      5. Computer Vision and Deep Learning for Behaviour Recognition

        Rohan et al. reviewed deep learning for livestock behaviour recognition. Starting from 1101 publications, they analysed 44 primary studies and found that deep learning had been applied to 13 behaviour recognition problems covering 44 behaviour classes. CNN-based detectors, Faster R-CNN, YOLOv5, and YOLOv4 were among the most frequently used models, and occlusion, animals touching one another, class imbalance, and the complexity of livestock environments were the main difficulties [4]. The review supports the use of YOLO-family detectors for farm video, but it concentrates on recognising behaviour and does not address records, alerts to staff, or management workflows.

      6. Long-Range Wireless Monitoring

        Schulthess et al. designed a cattle tracker for alpine pastures that combines an accelerometer, magnetometer, temperature sensor, and satellite positioning module and sends data over LoRaWAN to a backend server. With transmission every 15 minutes the node uses 511.9 J per day, giving a four-month battery life that solar harvesting extends by about 40% to roughly six months. A trial with two cows over more than three days showed clear grazing and resting patterns [12]. The work is valuable for remote, maintenance-free sensing, but its scope is sensing and tracking rather than a complete management platform.

      7. Reviews of IoT Health Surveillance and Dairy Sensors

        A 2025 review of IoT-based livestock health surveillance surveys microcontrollers (with Raspberry Pi widely used), temperature sensors such as LM35, DHT11, and DS18B20, platforms such as ThingSpeak, and common algorithms, and it lists data security and privacy, energy use, and reliability as open problems [13]. An earlier review examined sensors from the standpoint of health management on dairy farms [14].

      8. Farm Management Information Systems

        A study of 50 management information systems used by Dutch dairy farmers recorded many features, advantages, and drawbacks [15]. Although it is not limited to health, it shows that a monitoring solution is useful only if it fits the farms workflow and presents usable information rather than raw measurements.

      9. Recent Directions

        A 2024 bibliometric analysis of digital and precision technologies in dairy cattle identified machine learning and computer vision as emerging themes [16]. A 2026 review of precision livestock farming for dairy sheep, centred on IoT and decision-support systems, points the same way: integrated, real- time, multimodal systems, held back by cost, interoperability, validation, and adoption barriers [17].

      10. Comparative Analysis

        Table I compares the surveyed studies, and Table II shows which capabilities four representative studies cover compared with the proposed system.

        TABLE I

        COMPARISON OF SURVEYED STUDIES

        Ref.

        Approach

        Strength

        Limitation

        [5]

        Animal-mounted device, cloud, app

        End-to-end design

        Generalisation open

        [6]

        Skin temperature, heart rate, motion; cloud ML; mobile app

        Real-time health status

        Little vision or record integration

        [7]

        Sensors, ThingSpeak, MATLAB, app alerts

        Low-cost real-time alerts

        Limited behaviour analysis

        [8]

        Neck collar; RF and DT on 150 cows

        Indian dataset

        Context-specific; sensor validation

        [9]

        Wearable; temperature, heart rate, motion

        Disease-oriented alerts

        Validation, deployment

        [10]

        Multi-sensor device; XGBoost, RF

        About 97% activity accuracy

        Activity-focused

        [11]

        Body-area sensors; GNB with federated learning

        Distributed learning

        Disease scope must match local data

        Ref.

        Approach

        Strength

        Limitation

        [12]

        LoRaWAN tracker with solar harvesting

        Maintenance-free tracking

        Sensing and tracking only

        [4]

        Deep-learning vision review

        Behaviour recognition

        Occlusion, imbalance; not full management

        [2]

        Review: sensors, vision, IoT, ML

        Broad overview

        Commercial gaps

        [3]

        Review of wearable biosensors

        Placement taxonomy

        Heterogeneous reporting

        [13]

        Review of IoT health surveillance

        Hardware and platform survey

        Security, energy, reliability

        TABLE II

        CAPABILITY COVERAGE OF SELECTED STUDIES

        Study

        Vision

        IoT

        ML/AI

        App

        Records

        Expert dashboard

        [4]

        Yes

        Yes

        [6]

        Yes

        Yes

        Yes

        [7]

        Yes

        Limited

        Yes

        [12]

        Yes

        Proposed

        Yes

        Yes

        Yes

        Yes

        Yes

        Yes

        means the capability is not a stated focus of the study.

      11. Research Gap

    Taken together, the studies show that sensors, wireless links, cloud storage, learning models, and mobile interfaces already exist as separate building blocks. What is largely absent is their combination: vision and IoT data in the same platform, behaviour analysis tied to health, vaccination, feeding, and breeding records, a central dashboard for experts, early alerts that are checked by people, and validation in real farm settings. This is the gap the proposed system addresses.

  3. Problem Statement

    Farmers and experts find it hard to observe livestock continuously, so abnormal behaviour may not be identified early. Health and veterinary records are often kept on paper, vaccination and deworming schedules need regular tracking,

    and feeding and breeding information needs systematic handling. Manual monitoring can therefore delay timely inervention. The problem addressed here is to design and validate a system that observes animals and their environment automatically, flags possible abnormalities early, and keeps all related records in one platform for farmers and KVK experts.

  4. Problem Formulation

    Consider N animals in a monitored area. For animal i at time t, the camera provides frames Vi(t), the IoT node provides environmental readings E(t), and the database holds the animals record Hi. The behaviour estimate, the risk score, and the alert decision are expressed as

    Bi(t) = fCV( Vi(t) ), (1)

    Si(t) = g( Bi(tw : t), E(t), Hi ), (2)

    Ai(t) = 1 if Si(t) , otherwise 0, (3)

    where fCV is the vision model, w is an observation window, g combines recent behaviour with environment and record context, and is a threshold chosen with expert input. An alert Ai(t) = 1 is a prompt for review and not a diagnosis. The central question is whether joining vision, sensor, and record information improves the timeliness and usefulness of alerts compared with isolated modules.

  5. Proposed Methodology

    1. System Overview

      The work is organised in five phases for the KVK Baramati prototype: (1) requirement collection with farmers and KVK experts; (2) data and IoT setup, covering images, videos, and a DHT22 sensor on an ESP32; (3) AI model development for detection, tracking, and behaviour analysis; (4) application integration using FastAPI, a database, and mobile and web clients; and (5) testing and validation through functional tests and expert review. The expected deliverables are a requirement specification, a trained and validated model, an integrated prototype, and a test report. Deployment is planned as a pilot, and AI-generated alerts are to be reviewed by a livestock expert. The architecture is shown in Fig. 1.

      Fig. 1. Proposed architecture of the AI and IoT-based livestock health monitoring and management system (data flow: capture, ingest, analyse and store, display, notify).

    2. Data Acquisition

      Images and videos of livestock are to be collected at KVK units through a fixed or mobile camera, while an ESP32 controller reads temperature and humidity from a DHT22 sensor. The initial species are cow, buffalo, and goat. Normal and abnormal behaviour will be defined together with KVK experts, because the labels determine what the model can learn.

    3. Computer Vision Module

      A YOLOv8 detector working with OpenCV finds animals in camera frames; tracking and identification then follow individual animals across frames, and a behaviour analysis stage marks possible abnormal behaviour. Model training uses PyTorch or TensorFlow. Choosing a YOLO-family detector follows the usage patterns reported in the behaviour-recognition review [4].

    4. IoT Sensing Module

      The sensor interface turns each DHT22 reading into a timestamped temperature and humidity record that is sent to the backend through a sensor API. The module must tolerate short sensor or network failures. Depending on where the sensor is placed, a reading may be linked to a single animal or to a barn area.

    5. Backend, Database, and Applications

      FastAPI services handle requests, JWT authentication, and role-based access. MongoDB Atlas stores users, animals, health records, sensor readings, vaccinations, feed records, alerts, and breeding or birth events. A Flutter mobile application serves farmers and field officers, and a Next.js and TypeScript web dashboard serves KVK experts and veterinarians. Firebase Cloud Messaging delivers alerts and reminders, and the dashboard produces trends and reports.

    6. Management Modules and Requirements

    Besides monitoring, the system provides health management, vaccination and deworming schedules, animal profiles, feeding management, and breeding and birth records. Its functional requirements cover profile maintenance, detection and tracking, behaviour analysis, sensor collection, record keeping, and alerts with reports. Its non-functional requirements cover usability, performance, reliability under temporary failures, security, maintainability, scalability, and accuracy checked by experts. Table III lists the technology stack.

    TABLE III TECHNOLOGY STACK

    Layer

    Technology

    Programming

    Python

    Computer vision

    YOLOv8, OpenCV

    Machine learning

    PyTorch / TensorFlow

    IoT node

    ESP32 with DHT22 sensor

    Backend

    FastAPI

    Database

    MongoDB Atlas

    Mobile / web

    Flutter / Next.js with TypeScript

    Security and alerts

    JWT authentication, Firebase Cloud Messaging

    Version control

    Git and GitHub

  6. Evaluation Framework

    1. Model Metrics

      Detection quality can be reported with precision, recall, and mean average precision, and behaviour classification with accuracy and per-class F1 scores. Results should be broken down by lighting condition and by how crowded the scene is, since these are known difficulties in vision-based monitoring [4].

    2. Alert-Level Metrics

      Model scores alone do not show whether the system is useful. Alerts should be judged by KVK experts for true and false alarms, missed events, and the delay between the first sign of a problem and the alert. As the surveyed studies show, reported accuracy depends on dataset size, labels, and validation method, so these should be stated with every result [10], [3].

    3. System and Usability Metrics

      System-level checks include the delay from capture to display, behaviour under sensor or network failure, correct role- based access, and the clarity of reports. Feedback from farmers and KVK staff should be collected during the pilot.

    4. Stress Conditions

      Robustness should be tested under changing light, overlapping animals, behaviour that differs between individuals, sensor drift, and loss of connectivity.

  7. Future Research Directions

    Several extensions follow from the planned scope:

      1. RFID-based identification: automatic animal identification to complement visual identification.

      2. Thermal cameras: non-contact estimation of body temperature.

      3. Wearable health sensors: adding physiological signals of the kind reviewed in [3].

      4. Milk yield prediction: using accumulated records and monitoring data.

      5. Smart feed optimisation: linking feeding records with health and yield.

      6. Advisory chatbot: an AI assistant for livestock advice.

      7. Multi-KVK cloud deployment: shared infrastructure across centres.

      8. Additional species: extending detection and behaviour models beyond cow, buffalo, and goat.

  8. Limitations

    This survey covers a limited set of representative studies and is not an exhaustive systematic review; a few of the cited works are workshop or preprint versions. The proposed system is at the design stage, and its performance is not yet measured. The pilot faces several risks: enough livestock images and videos may not be available, lighting varies during capture, animals overlap or hide one another, behaviour differ between animals, and abnormal behaviour is hard to define precisely. Sensor accuracy, network connectivity at the site, model accuracy, and the need for expert verification of every alert also affect how far results can be generalised.

  9. Conclusion

The surveyed literature shows that IoT sensing, wearable devices, machine learning, long-range wireless links, deep- learning vision, and mobile applications can each support livestock health monitoring. Most systems, however, cover one capability, and few join vision, sensor data, and farm records on one platform with expert review. This paper therefore outlined an integrated architecture for KVK Baramati that combines YOLOv8-based vision, a DHT22 and ESP32 sensing node, a FastAPI and MongoDB backend, and mobile and web clients, together with an evaluation plan centred on alert usefulness. The next steps are to collect data at the KVK, build and validate the prototype with experts, and report measured results.

Acknowledgment

The authors thank the Department of Information Technology, Vidya Pratishthans Kamalnayan Bajaj Institute of Engineering and Technology, Baramati, Maharashtra, India, for academic support, and Krishi Vigyan Kendra (KVK), Baramati, for the collaboration.

11th Int. Workshop Energy Harvesting Energy-Neutral Sens. Syst. (ENSsys 23), 2023, doi: 10.1145/3628353.3628549.

  1. M. Modak, M. M. Pritom, S. C. Banik, and M. S. Rabbi, Internet of Things-based health surveillance systems for livestock: A review of recent advances and challenges, IET Wireless Sens. Syst., vol. 15, no. 1, Art. no. e70013, 2025, doi: 10.1049/wss2.70013.

  2. C. J. Rutten, A. G. J. Velthuis, W. Steeneveld, and H. Hogeveen, Invited review: Sensors to support health management on dairy farms, J. Dairy Sci., vol. 96, pp. 19281952, 2013, doi: 10.3168/jds.2012-6107.

  3. Dairy farm management information systems, Electronics, vol. 11, no. 2, Art. no. 239, 2022. [Online]. Available: https://www.mdpi.com/2079- 9292/11/2/239

  4. Digital and precision technologies in dairy cattle farming: A bibliometric analysis, Animals, vol. 14, no. 12, Art. no. 1832, 2024. [Online]. Available: https://www.mdpi.com/2076-2615/14/12/1832

  5. Precision livestock farming for dairy sheep: A literature review of IoT and decision-support systems for enhanced management and welfare, AgriEngineering, vol. 8, no. 2, Art. no. 58, 2026, doi: 10.3390/agriengineering8020058.

References

  1. J. L. Kleen and R. Guatteo, Precision livestock farming: What does it contain and what are the perspectives?, Animals, vol. 13, no. 5, Art. no. 779, 2023. [Online]. Available: https://www.mdpi.com/2076- 2615/13/5/779

  2. N. Liu, J. Qi, X. An, and Y. Wang, A review on information technologies applicable to precision dairy farming: Focus on behavior, health monitoring, and the precise feeding of dairy cows, Agriculture, vol. 13, no. 10, Art. no. 1858, 2023, doi: 10.3390/agriculture13101858.

  3. Wearable wireless biosensor technology for monitoring cattle: A review, Sensors, vol. 21, 2021, PMCID: PMC8532812. [Online].

    Available: https://pmc.ncbi.nlm.nih.gov/articles/PMC8532812/

  4. A. Rohan, M. S. Rafaq, M. J. Hasan, F. Asghar, A. K. Bashir, and T. Dottorini, Application of deep learning for livestock behaviour recognition: A systematic literature review, Comput. Electron. Agric., vol. 224, Art. no. 109115, 2024.

  5. O. Unold, M. Nikodem, M. Piasecki, K. Szyc, H. Maciejewski, M. Bawiec, P. Dobrowolski, and M. Zdunek, IoT-based cow health monitoring system, in Computational Science ICCS 2020, 2020, pp. 344356. [Online]. Available: https://pmc.ncbi.nlm.nih.gov/articles/PMC7302546/

  6. K. Darvesh, N. Khande, S. Avhad, and M. Khemchandani, IoT and AI based smart cattle health monitoring, J. Vet. Sci. Technol., vol. 14, no. 5, Art. no. 193, 2023.

  7. A. B. Batla, Y. B. Kikani, D. G. Joshi, and K. Patel, Real time cattle health monitoring using IoT, ThingSpeak, and a mobile application, J. Ethol. Anim. Sci., vol. 5, no. 1, pp. 17, 2023, doi: 10.23880/jeasc-

    16000131.

  8. D. Kaur and A. K. Virk, Smart neck collar: IoT-based disease detection and health monitoring for dairy cows, Discover Internet Things, vol. 5, Art. no. 12, 2025, doi: 10.1007/s43926-025-00109-5.

  9. H. Shahab, M. Iqbal, A. Sohaib, A. ur Rehman, A. Bermak, and K. Munir, Design and implementation of an IoT-based monitoring system for early detection of lumpy skin disease in cattle, Smart Agricult. Technol., vol. 9, Art. no. 100609, 2024, doi: 10.1016/j.atech.2024.100609.

  10. D. Dutta, D. Natta, S. Mandal, and N. Ghosh, MOOnitor: An IoT based multi-sensory intelligent device for cattle activity monitoring, Sens. Actuators A, Phys., vol. 333, Art. no. 113271, 2022, doi: 10.1016/j.sna.2021.113271.

  11. J. Arshad et al., A federated learning model for intelligent cattle health monitoring system using body area sensors and IoT, Egyptian Informat. J., Sep. 2024. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S1110866524000513

  12. L. Schulthess, F. Longchamp, C. Vogt, and M. Magno, A LoRa-based and maintenance-free cattle monitoring system for alpine pastures and remote locations, arXiv preprint arXiv:2406.06245, 2024; also in Proc.