Computer vision-based system for early detection of lameness in cattle
Abstract
Lameness in cattle is a prevalent disorder that significantly impacts animal welfare and leads to major economic losses in livestock production. This study evaluates real-field video recordings from six cattle specimens to introduce a real-time and non-invasive computer-vision system for early lameness detection based on you only look once version 7 (YOLOv7) and simple online and real-time tracking (SORT) multi-object tracking. The approach ensures robust identity preservation in challenging farm environments and enables the extraction of movement-based kinematic indicators associated with locomotive impairments. Traditional tracking metrics do not reflect health status; therefore, additional motion variability features were analyzed, including mean velocity, standard deviation, frequency of low-speed frames (≤ 2 px/frame), and abrupt motion changes. Experiments were conducted under natural lighting, variable backgrounds, and partial occlusions using mid-range hardware. High tracking performance was achieved (multiple objects tracking accuracy (MOTA): 91%, multiple objects tracking precision (MOTP): 95%, identification F1-score, (IDF1): 90%), while motion variability and low-speed events were shown to be the most sensitive indicators of early gait alteration. These findings validate the feasibility of automated mobility monitoring through cost-effective vision-based technologies and demonstrate the potential of the proposed system to support proactive decision-making in precision livestock farming.
Keywords
Cattle; Computer vision; Lameness detection; Multi-object tracking; Precision livestock farming
Full Text:
PDFDOI: http://doi.org/10.11591/ijai.v15.i6.pp5393-5407
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Marcos Darío Aranda, Javier Redolfi, Gastón Araguás

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938
This journal is published by the Institute of Advanced Engineering and Science (IAES).